View Single Post
  #2   Spotlight this post!  
Unread 26-01-2015, 23:42
NWChen's Avatar
NWChen NWChen is offline
Alum
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: New York City
Posts: 205
NWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to behold
Re: Getting Rotation to work with XBOX 360 controller

Quote:
Originally Posted by TheLegion View Post
When the right stick is moved around, the robot starts to rotate but then will stop.
How are you moving the right stick around? If moving only in the right joystick x-axis, then the mapping to axis 4 is correct.

What output is produced when you print
Code:
joystick.getRawAxis(4);
? Does it correspond to how you move the joystick (e.g. numbers in a range from -1.0 to 1.0)?
__________________
2012 - 2015 • Team 2601

Reply With Quote