View Single Post
  #4   Spotlight this post!  
Unread 30-01-2014, 23:30
TheNightviz's Avatar
TheNightviz TheNightviz is offline
Driving it like I stole it.
AKA: Parker
no team
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Escondido CA
Posts: 12
TheNightviz is an unknown quantity at this point
Re: Reversing Drive Controls

Thinking about it I'm sure there are many different ways to accomplish this. If you are looking for something somewhat simple though that's what would come to mind for me. However I am more used to Java for FRC so I could be way off basis on this translating to C++. If I'm thinking about it right though all you would have to do is take a negative value, or positive depending on what drives the robot "forward", and have a copy of your drive method/command that uses the opposite joystick value. With your dual output for the Talons I believe this should work rather well, and it would be easy to map to a on/off button.
__________________

-2012 San Diego Regional Winners with 4161 and 3476
-2012 Championship Newton Field Competitors
-2012 Battle at the Border Semi Finalists with 812 and 1622
-2013 San Diego Regional Quarter Finalists with 4014 and 2543
-2013 Inland Empire Quarter Finalists with 1138 and 1422
-2013 Battle at the Border Quarter Finalists with 3341, 3647, and 4160 and Gracious Professionalism Award winners
-2013 Fall Classic Finalists with 696, 1836, and 3309 and Team Spirit Award winners
With FRC team 3255 from 2012 through 2014