|
Re: Bizarre Driving Issue
Recalibration didn't help. We made a graph of PWM output vs wheel speed and then made a lookup table of the PWM values required to achieve the desired wheel speeds. I'll post more details about it when I have time tomorrow if you want.
When we were initially messing around with holonomic driving, my team did run into a few problems with subtracting from unsigned variables, so it's definitely worth a try.
Have you tried following the values of your variables with the MPLab debugger? That can be an easier way to test different situations without using the robot.
|