View Single Post
  #2   Spotlight this post!  
Unread 02-04-2011, 22:20
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
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.
Reply With Quote