Quote:
Originally Posted by TheDarkDuck
We are having trouble calibrating the speed of our jaguars. We did the calibration steps but it did not set a limit to the speed if the motors. Someone said that they set their PWM values to .99 and -.99. How and where do you set these values?
|
Bro You Serious??
float limit(float low, float high, float input)
{
if (input < low)
return low;
if(input > high)
return high;
else
return input;
}
just put in -.90 .90 and input is your joystick