View Single Post
  #7   Spotlight this post!  
Unread 21-02-2007, 15:03
WesleyC WesleyC is offline
Registered User
FRC #1825
 
Join Date: Jan 2007
Location: Johnson County, KS
Posts: 16
WesleyC is on a distinguished road
Re: Kansas City Regional

The key here is to use a PD/PID loop in combination with the PAN_SERVO value provided by the camera's tracking code. Set the gain large enough, and even small differences in the camera's left/right position will cause your robot to move.