![]() |
Servo Offset -> Angle conversion
I have estimated the conversion at
Angle = Offset / 2 Does anybody have a more optimal conversion equation? |
Re: Servo Offset -> Angle conversion
Quote:
((TILT_SERVO - 144) * 25)/50 In Kevin's camera code check out terminal.c Its the 65/124 degrees change for every pan incriment and 1/2 for every tilt incriment that you need. |
Re: Servo Offset -> Angle conversion
That of course assumes that your CENTER pwm values are at 124 and 144 (not hard to change). But then my next question would be, why would the degree change be different for 2 identical servos?
|
Re: Servo Offset -> Angle conversion
Quote:
Without having looked at that piece of code, I don't really know for sure. :) |
Re: Servo Offset -> Angle conversion
Quote:
Yeah probably because the camera is centered around the pan axis but not the tilt axis. |
Re: Servo Offset -> Angle conversion
Perhaps with the linkage in the KOP bracket the pan is longer or shorter.
|
Re: Servo Offset -> Angle conversion
With the help of the LabView software I have found that 45 degrees is right around 50 servo "ticks".
|
Re: Servo Offset -> Angle conversion
Quote:
So I did something bad by unscrewing the servo horn and re-centering the tilt axis to be exactly vertical at 127? :) I wonder how many other teams did that as well... |
Re: Servo Offset -> Angle conversion
Quote:
|
Re: Servo Offset -> Angle conversion
Quote:
|
Re: Servo Offset -> Angle conversion
|
Re: Servo Offset -> Angle conversion
Quote:
On my camera, at least, the camera lens is exactly in line with the pan and tilt servos. Did anyone mount the camera board upside-down, or is the offset just too slight to easily notice? :confused: |
| All times are GMT -5. The time now is 14:06. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi