Quote:
Originally Posted by Zuelu562
Toa, our reasoning for using the floats was a double whammy type deal; we added a small deadband to the controller by keeping an eye on the values. We were aware of the issue that the robot could potentially move without a human interacting with the controller due to the minuscule difference between 0 (dead stop) and .25 (moving) on the xbox controllers. This also solved the issue with GetRawAxis() freaking out in the main loop.
|
Funny, the controller I used never had a deadband issue.
Quote:
Originally Posted by ekapalka
So does that mean we don't vave to use
Code:
leftStick = new Joystick(1);
rightStick = new Joystick(2);
or that in addition to the code you suggested? Thanks for your reply! I really appreciate it!
|
Oh, you will still need to do all the code you had before, I just wrote up the portion that you need to add/replace.