|
Re: Switching Drive System While Driving
If you are using the Logitech Attack 3, I suggest using the "Z". So:
The "Z" is the thing at the bottom where you can push up or down. Its like a knob.
if(joystick1.GetZ() > 0)
{
myrobot.Tankdrive(joystick1.GetY(), joystick2.GetY());
}
else
{
//the other drive
}
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
|