Quote:
Originally Posted by robinspi
Yes, everything is hooked up correctly. As posted, it does like to run one direction, but not so smoothly in the other. Also, the x-box controller buttons are being read in the Control station, so it doesn't appear to be a problem with the joysticks. I will see about the calibrations tomorrow.
|
A Simply process for tracking down the cause.
1.) Unhook the motor from the speed controller, and connect directly to a battery. Run the motor in both directions. If the problem occurs then the issue is mechanical, and you need to evaluate the mechanics of the system.
If the problem does not occur in 1.)
2.) Hook the motor up to the speed controller, and connect the controller to PWM 1, and run the default tank code. If the problem occurs then the issue is in the custom code, if it does not then the issue is your speed controller.
If the problem does not occur in 1 or 2 then the issue is in the code. start stripping functionality out until you can track it down.