Thread: Autonomous
View Single Post
  #5   Spotlight this post!  
Unread 23-02-2009, 11:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Autonomous

Quote:
Originally Posted by chinckley View Post
If I understand it correctly -0.5 drives forward and 0.5 drives backward???
How do you make it turn?
The Arcade drive has a second input (X-axis value), that isn't used in the example, but defines the turn amount. An x-axis value of 1.0 for instance will make your robot turn in place. -1.0 makes it turn in the opposite direction. In between values will make it drive in an arc.
Hover the mouse over the left edge of the Arcade Drive icon and you'll see an unattached x-axis. right click and choose constant to give it a value (0 is the default when nothing is attached).

If you choose to switch to Tank Drive then a turn in place would be .5 to one side and -.5 to the other.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-02-2009 at 11:31.
Reply With Quote