I’m not sure what your problem is. I know i’ve seen it a lot with the trim being off on joysticks, but I’m not sure what your program might be doing, the only thing I could think of is that it doesn’t set the output value for the pwm’s to the motors to 127, but I’m not sure, hopefully someone will have something better for you, but worst come to worst I would think you should just have warmer motors.
*Originally posted by BK36 *
**Before shipping we found that after our auton mode is done executing the motors are running backward very slowly.
It isn’t fast enough to move the robot on the ground but something like this could be harmful to our drive system.
Has anyone else had this problem or does anyone know how I can fix it? **
Did you calibrate your speed controllers? This could be the cause of just such a problem. When you calibrate your speed controllers, you are programming them to react to the way your joysticks are trimmed. If your joysticks don’t return 127 when they are centered, then the calibration process sets your speed controllers to “pretend” as if they do, and stop the motors whenever they receive that value.
When your autonomous code subsequently outputs 127, expecting the motors to stop, the speed controller instead believes that the joystick is telling it to turn the motor slowly in reverse.