Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Motors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=52)
-   -   Servo Values (http://www.chiefdelphi.com/forums/showthread.php?t=34290)

DanDon 09-02-2005 18:57

Servo Values
 
Does anyone know what values the servo outputs in accordance to its angle?

Thank you,

jgannon 09-02-2005 19:25

Re: Servo Values
 
The Hitec servos go through 180º and 255 PWM units. Thus, a difference of 1 PWM unit translates to (180/255)º of rotation. 127 is dead center, so you should be able to figure out how far you are from center.

Greg Ross 09-02-2005 19:37

Re: Servo Values
 
Quote:

Originally Posted by dhoizner
Does anyone know what values the servo outputs in accordance to its angle?

The only output from the servos we got is the motion. They don't return feedback about their position.

jgannon 09-02-2005 19:51

Re: Servo Values
 
Quote:

Originally Posted by gwross
The only output from the servos we got is the motion. They don't return feedback about their position.

Are you talking about from the camera board? If yes, sure you can get the position. If no, what are you talking about?

Max Lobovsky 09-02-2005 19:53

Re: Servo Values
 
That information you get from the CMUcam is not feedback from the servo, it is just the value the CMUcam sends to the servo. It may actually be in a different position (like if there is a large load on it)

jgannon 09-02-2005 19:56

Re: Servo Values
 
Quote:

Originally Posted by Max Lobovsky
That information you get from the CMUcam is not feedback from the servo, it is just the value the CMUcam sends to the servo. It may actually be in a different position (like if there is a large load on it)

That's true, but with any luck, there really shouldn't be any huge loads on your camera servos.

ConKbot of Doom 11-02-2005 09:07

Re: Servo Values
 
The servos go through 180 degrees, but when I test them out with the default program, I put them on pwm01, they only move 100 degrees or so. Is this because the joysticks don't go through the entire range? If it is this it isn't really a problem for us because the servos will be controlled but a button to output a value, not an analog input.

Thanks

roboticsjenkins 14-02-2005 14:56

Re: Servo Values
 
How do you set the camera servo pan and tilt limits? We would like to change them from 46 and 210 to our own values. We assume you do it in camera.c under camera_set_servos. But we have been unsucessful so far. Please Help

Greg Marra 14-02-2005 15:49

Re: Servo Values
 
We tested our servos and found that (145 degrees : 160 sv units) which is .906 degrees per servo unit. 180 degrees : 255 sv units would be .706 degrees per servo unit.

I will have to retest...


All times are GMT -5. The time now is 17:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi