Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Distance to travel once targetted? (http://www.chiefdelphi.com/forums/showthread.php?t=52996)

Mitch 04-02-2007 18:28

Re: Distance to travel once targetted?
 
For one reason or another the distance we were getting using tangent was close (within a couple feet) but not nearly accurate enough. This could be due to significant figures in many different variables (we tried multiple times to make it as accurate as possible).

Does anyone have any say on this?

For now we are using the tilt angle as the indicator at how close we are to the actual light.

Kevin Watson 04-02-2007 19:26

Re: Distance to travel once targetted?
 
Quote:

Originally Posted by Mitch (Post 571762)
For one reason or another the distance we were getting using tangent was close (within a couple feet) but not nearly accurate enough. This could be due to significant figures in many different variables (we tried multiple times to make it as accurate as possible).

Does anyone have any say on this?

For now we are using the tilt angle as the indicator at how close we are to the actual light.

One suggestion would be to mount the camera as low as possible. Also, have a look at this posting for a suggestion.

-Kevin

baclaskya 07-02-2007 09:38

Re: Distance to travel once targetted?
 
Thanks Kevin. This looks great. I'd like to try and make similar adjustments to our camera. However, I'm not sure about the terms that you are using and how they apply to control the pwm outputs. Is there a document that describes the function of pwm outputs (ie. gain, pulse width, etc.) and how servo motors respond to them? I'd like to get a better picture of how the gain of 70 and calculated pulse width of 2.389 combine to control the camera tilt to reach 90 degrees. Thanks again.

Kevin Watson 07-02-2007 11:42

Re: Distance to travel once targetted?
 
Quote:

Originally Posted by baclaskya (Post 573539)
Thanks Kevin. This looks great. I'd like to try and make similar adjustments to our camera. However, I'm not sure about the terms that you are using and how they apply to control the pwm outputs. Is there a document that describes the function of pwm outputs (ie. gain, pulse width, etc.) and how servo motors respond to them? I'd like to get a better picture of how the gain of 70 and calculated pulse width of 2.389 combine to control the camera tilt to reach 90 degrees. Thanks again.

Heres a quick introduction to servos. The center and gain values are in units of 100 ns, so a gain of 70 means the pulse width will increase (or decrease) by 7.0 us for each count above (or below) 127. The absolute pulse width at 127 is defined by the center value, which is nominally 15000, or 1.5 ms.

-Kevin


All times are GMT -5. The time now is 23:52.

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