Quote:
Originally Posted by Bomberofdoom
Does Kevin's Camera code handel the positioning of the robot so the sideways(pan?) servo is centered?
|
Kevin Watson's camera code controls only the camera. It does nothing to control drive motors, and in fact the part of the code that
can control motors has been commented out. You will need to replace
Default_Routine() with something specific to your robot.
If you want to turn the robot to face the target light, here's a hint. You can read the value of
PAN_SERVO to tell which direction the camera is facing, and you can call the
Get_Tracking_State() function to find out whether the camera is on target.