View Single Post
  #5   Spotlight this post!  
Unread 02-04-2011, 22:52
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

couldnt i do something like this so stop the tearing apart?

Code:
if (joystick.GetTrigger()){
myRobot.Drive(0)
tank drive
my thinking is that when you push the trigger it will stop the robot and then it will switch modes that way you do not have to worry about the robot driving while you are switching modes

at least that is what i think you are trying to do
Reply With Quote