View Single Post
  #2   Spotlight this post!  
Unread 29-01-2006, 18:24
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Servo Offset -> Angle conversion

Quote:
Originally Posted by bush
I have estimated the conversion at
Angle = Offset / 2
Does anybody have a more optimal conversion equation?
((PAN_SERVO - 124) * 65)/124
((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.