Quote:
Originally Posted by TheLegion
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)?