View Single Post
  #2   Spotlight this post!  
Unread 29-01-2007, 12:25
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Camera Pan Angle Problem

Quote:
Originally Posted by jdejoannis View Post
I am having a similar problem with both pan and tilt not exploring the full range of motion. The camera likes to look up and to the right. Are there some calibration settings for the servos? We are using the default bells and whistles code, the 2007 camera and the 2006 pan/tilt assembly.

Jason
You can use the code discussed here to drive your servos past the range the RC would normally provide by using gains higher than 50 (5.0us). Towards the end of the thread I discuss a method to precisely tune the range and center position of your servo(s). I found that I needed a gain of 36 to rotate the servo shaft 90 degrees, which implies that you need around twice that to get the full range.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org