View Single Post
  #3   Spotlight this post!  
Unread 02-04-2011, 22:26
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 494
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Switching Drive System While Driving

so that you can do it then right?

and how would you switch back to the original drive system

like this?

Code:
if(joystick1.GetRawButton(2)){
myrobot.Tankdrive(joystick1.GetY(), joystick2.GetY());
}
else{
other drive drive
}

else if(joystick1.GetRawButton(3)){
other drive
}
Reply With Quote