Thread: Stupid servo
View Single Post
  #6   Spotlight this post!  
Unread 06-03-2011, 08:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,797
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Stupid servo

If the full Servo range works, then it might be the value you're feeding it is incorrect and actually too large.
Check the Help for the Servo Set to see the range of values allowed.

One thing to do is test with the default servo example code to see if you can control your servo to all those intermediate positions you want to stop at.
From the Startup screen (View->Getting Started Window...)
lower right corner Find FRC Examples.
Actuators->Servo.
Change the project target IP to your own team cRIO and use the Run button.
You can see the value being sent to the Servo by the front panel controls.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote