View Single Post
  #9   Spotlight this post!  
Unread 24-02-2010, 20:29
whatabouteve whatabouteve is offline
Registered User
AKA: Dean Keithly
FRC #0245 (Adambots)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Rochester Hills,MI
Posts: 45
whatabouteve is an unknown quantity at this point
Re: Tank Drive is backwards

here is exactly what i did.
Joystick leftstick;
Joystick rightstick;

Victor *left;
Victor *right;

left = new Victor(4,1);
right = new Victor(4,2);


float leftdrive = leftstick.Get();//do the same with the right and you can change the joystick values to make say halfspeed by dividing by 2

left->Set(leftdrive);
Reply With Quote