|
Re: speed controller max speed
yay for fellow San Jose Team. What you need to do is add a limit to the pwm values that are being sent to the speed controllers.
For instance
(insert x for the pwm number)
if(pwmX >= 200)
{
pwmX=200;
}
or
pwmX= pwmX >=200 ? 200 : pwmX;
We also added a dead band where any value +30 or the middle 127 on the joystick will not make the motors move since the joysticks are so sensitive
|