View Single Post
  #5   Spotlight this post!  
Unread 31-01-2013, 16:56
zshelley's Avatar
zshelley zshelley is offline
Registered User
FRC #2550
 
Join Date: Jan 2013
Location: Oregon City
Posts: 4
zshelley is an unknown quantity at this point
Re: Xbox Tank Drive?

Team 2550 is using a Xbox360 controller with tank drive this year and we found some interesting things.
Mainly that the default tank and X,Y functions jump off a bridge when using a wired Xbox controller.
Instead we did some testing with GetRawAxis and this is what we found:
1 - Reads -Y Values of the left thumb stick
2 - Reads ALL values of the left thumb stick
3 - Reads DPAD X values
4 - Reads X values of right thumb stick
5 - Reads X values of right bumper
6 - Reads DPAD Y values
Twist - Right thumb stick X axis
Throttle - Triggers (-1 is left trigger 1 is right trigger 0 is both or neither)

Hope this helps, our controller is kinda funky, but it is xbox360. Your axises might be different though.
__________________
Thou shalt not add my speed to the speed of light.
Reply With Quote