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.
|
When I asked if it was hooked up, to a gearbox (and mechanism), I was wondering if that could also be the source of the problem... what gearbox is it? What's hooked up to it? Perhaps post a picture of your setup.
Have you tried swapping the polarity on the motor wires (AFTER the speed controller!) to see if it follows the mechanical system or if it follows the code? Perhaps also try a similar version of this by swapping the polarity of the code. You could be sending conflicting values in separate lines of code.