|
JAVA RobotDrive Motors Signal Out of Sync
During programming of our test stand in JAVA, we found that regardless of control channel for the move speed value, the motors start rotating at different points. This will cause a robot to turn at low speeds with no turning inputs.
This issue was confirmed with multiple channel changes of the motors, and the problem switching motors if the channel for motor signal is switched.
Is there an inherent problem in the RobotDrive or other library files that may be causing this problem?
We are using the arcadeDrive function to feed outputs to the robot.
Regardless of the changes made to the control scheme the problem persists. Resolution of this issue appears to require a PID controller to ensure constant direction without turning input. While this would be one way to solve a built in turn, this should not be required to make an aligned robot move straight forward.
Anyone with information on this issue would be much appreciated.
|