Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How do you get servo numbers into Angle Degrees (http://www.chiefdelphi.com/forums/showthread.php?t=53751)

Cow Bell Solo 09-02-2007 08:25

How do you get servo numbers into Angle Degrees
 
I was woundering on how do you get the tilt angle that the servo is at into degrees for an angle. Any programing help would be nice or give me a way to figure that out.

Vikesrock 09-02-2007 09:01

Re: How do you get servo numbers into Angle Degrees
 
Hi and welcome to Chief Delphi! Glad to see another fellow Minnesotan around.

Here at CD there is a forum specifically dedicated to the CMUCam which can be found here.

After browsing through it, it appears this thread is very similar to what you are asking.

We also have a search function here that can be very helpful. It helps you find answers faster and helps all the excellent helpful people here have less threads to wade through.

If none of that answered your question, feel free to post again in this thread and let us know what is still giving you trouble.

-Kevin

Keith Watson 13-02-2007 01:06

Re: How do you get servo numbers into Angle Degrees
 
For if you have not figured it out yet.

The camera tracking menu which has a submenu for driving the pan/tilt servos interactively. Use a proctractor to measure the values.

Get the pwm values for zero pan / zero tilt since this is probably different from the default values stored in tracking.h and stored in the camera eeprom. We then moved one servo at a time 100 pwm steps off center either way and measured the angles.

Cow Bell Solo 18-02-2007 12:16

Re: How do you get servo numbers into Angle Degrees
 
Thanks that helps a little but we indead up not doing autonomous:( Ran out of time. We had no robot to work with the autonomous.


All times are GMT -5. The time now is 04:48.

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