View Single Post
  #2   Spotlight this post!  
Unread 11-03-2013, 18:59
tp2357 tp2357 is offline
Registered User
AKA: Tyler Pawlaczyk
FRC #0340 (Greater Rochester Robotics)
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2011
Location: North Chili, NY
Posts: 5
tp2357 is an unknown quantity at this point
Re: Xbox Controller Tank Drive

Instantiate the controller as a joystick.

The different physical stick on the controller are different axis to the code. You'll have to hack a bit/google to figure it out, I can't remember off the top of my head. The triggers are also another axis, with one pulling it negative, and the other pulling it positive.

I hope this helps.
__________________
Java, Embedded C and LISP.
Reply With Quote