|
Coasting Problems
This summer, I switched my team's robot over from LabView to Java and have successfully moved everything over except for steering. When I attempt to drive with and then release the joysticks, the robot will began crawling in the direction it was previously moving.
From what I can tell, it's an issue reading in joystick values, for which I've set up some wiggle room with a pair of if statements. Unfortunately, the end values of the joysticks keep changing making it near impossible for me to set up a threshold.
Any help is appreciated.
Thanks in advance,
Matt_4505
|