View Single Post
  #3   Spotlight this post!  
Unread 13-02-2007, 01:06
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
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.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.