View Single Post
  #10   Spotlight this post!  
Unread 12-02-2009, 20:17
11Mort11's Avatar
11Mort11 11Mort11 is offline
Registered User
AKA: Alex Joss
FRC #0011 (MORT)
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Mount Olive
Posts: 94
11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold
Send a message via AIM to 11Mort11
Re: jaguar not working

Quote:
Originally Posted by TheDarkDuck View Post
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