Thread: Servo Help
View Single Post
  #5   Spotlight this post!  
Unread 18-02-2013, 14:42
zackd97 zackd97 is offline
Registered User
FRC #4102
 
Join Date: Feb 2013
Rookie Year: 2013
Location: New Mexico
Posts: 16
zackd97 is an unknown quantity at this point
Re: Servo Help

Quote:
Originally Posted by Kevin Sevcik View Post
Make sure your servo is working period first. Make yourself a MoveStick method, and ServoWithStick command to drive the servo with a Joystick. Then set that as the default command for the subsystem and check to make sure you can even move it to begin with. If it's not moving with that basic of code, you know your problem is electrical or really basic programming level.
The servo is definitely working. I'm 99% positive the problem is my programming.

When the servo is plugged in and the robot is enabled, there's no reaction. If I switch the way the servo is plugged into the PWM it will lock into a position and attempt to maintain that position. It still does not react to my button pushes though.

Last edited by zackd97 : 18-02-2013 at 15:14. Reason: Additional Info
Reply With Quote