View Single Post
  #4   Spotlight this post!  
Unread 03-02-2013, 03:03
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 157
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: C++ Tank Drive Help

It is also unlikely that you mean what is stated regarding leftstick and rightstick. What is in the code says that joystick controller #1 (the first xbox controller) will be the left-stick while the right part of the tank drive will be controlled by joystick #2 (the 2nd xbox controller). What you more likely want to do is use particular parts of a single joystick - a particular axis of joystick #1 for the left and a particular part/axis of joystick #1 for the right.

One of my students (holly4win) posted in a separate thread today about a "joystick investigator" program our team wrote which you might find useful to getting this information - see the thread at http://www.chiefdelphi.com/forums/sh...d.php?t=103156

Thanks,
bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote