|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
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
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|