View Single Post
  #1   Spotlight this post!  
Unread 03-02-2014, 16:58
swaglord2000's Avatar
swaglord2000 swaglord2000 is offline
Registered User
FRC #4073
 
Join Date: Jan 2014
Location: Myrtle Beach
Posts: 13
swaglord2000 is an unknown quantity at this point
How to program Strafing with Mechinum wheels in Labview.

I am a novice programmer with no help at my school, and I have been able to make some decent progress. As of now I have programmed the robot to drive correctly with the ps2-like controller. On the left joystick I have it when it is pushed up the robot drives forward and when pushed down it goes backwards. I am wanting it to strafe right when the joystick is pushed right and left when the joystick is pushed left. I have tried going into the Begin.vi and inverting the motors, but when I do that it messes up the other controls. I need to make a separate variable for when I push the left joystick right or left that it only inverts certain motors. I appreciate all of the help.

In short we want to be able to invert certain motors only on a single axis.

Thanks, team 4073

Last edited by swaglord2000 : 03-02-2014 at 17:07.