View Single Post
  #15   Spotlight this post!  
Unread 08-03-2010, 14:22
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: Tank Drive is backwards

Quote:
Originally Posted by cmh0114 View Post
You could always reverse the wiring on your bot so that it matches up with the joysticks. That would probably be the easiest solution and the best if you're really short on time. But if you have time before your next competition and can edit your code, multiply the values of the y-axis of the joysticks by -1 whenever you input them. That should fix your problem without adding too much extra code.
Yup. Just reversing the wires on your bot will solve this problem quickly. Just remember that in case you need to change a motor or speed controller out.
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
Reply With Quote