View Single Post
  #4   Spotlight this post!  
Unread 28-01-2013, 10:45
bf2416's Avatar
bf2416 bf2416 is offline
Registered User
AKA: Blake Frasur
FRC #4058 (Boombots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Union County
Posts: 35
bf2416 is an unknown quantity at this point
Re: gamepad programming

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

Last edited by bf2416 : 28-01-2013 at 10:49.