
28-01-2013, 10:59
|
 |
Registered User
AKA: Michael Ray
 FRC #0027 (Team RUSH)
Team Role: Alumni
|
|
Join Date: Mar 2011
Rookie Year: 2010
Location: Clarkston, MI
Posts: 209
|
|
|
Re: gamepad programming
Quote:
Originally Posted by bf2416
Alright, thanks guys. I figured they would work, but was needed confirmation before I request I controller for 'el jefe'. Again thanks for the feedback.
Now for another question: to control a tank drive like a video game, with a button for drive and joystick for steering, how would I control the steering? I think it would be something like the following:
if x<0, 1-lxl= left drive
if x>0, 1-lxl= right drive
I know that some mobility will be compromised, but we have considered this. I am still trying to figure out the best way to control this thing lol. Thanks again for the input
Edit: also, any suggestions for improving this would be greatly appreciated
|
I don't quite follow what variable x is...
__________________
Michael Ray
Team RUSH 27
Driving Record: 93-64-0 Best Finish: Finalist (x4 FiM Districts)
Coaching Record: 16-7-0 Best Finish: Winner (Kettering Invitationa)l
|