View Single Post
  #2   Spotlight this post!  
Unread 03-03-2014, 14:04
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 257
Jefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant future
Re: Get Angle from Servo

Quote:
Originally Posted by DavisC View Post
Hello,

I am attempting to use a servo mounted on the robot that will spin with the claw so that I can get the correct angle of the claw after calibration.

I understand for writing the Servo angle uses the PWM Outs on the DSC. Is there a PWM channel that can be used to read the value of the servo as well?

Thanks,
Davis C
To be clear, you want to back drive the servo manually to a position to perform a "calibration" of the desired angle?
You can't read the position back through the PWM channel. You'll need to add a sensor here to accomplish this.
Describe your calibration process a little more and maybe we can offer some different options.
Also, you want want to make sure the servo is powerful enough to do the job (rotating a claw?). FIRST doesn't allow very powerful servos as their power supply comes from the DSC.
Reply With Quote