View Single Post
  #21   Spotlight this post!  
Unread 16-01-2006, 00:08
iBheat's Avatar
iBheat iBheat is offline
Registered User
FRC #0418 (Lasa Robotics)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Austin, TX
Posts: 24
iBheat is on a distinguished road
Re: 2006 CMUcam2 Code

Quote:
Originally Posted by X-Istence
Because those are standard used for the servo's, and last I checked it was not desirable for the servo's to be changed in position by the robot controller.
If by that you mean the PWM outputs for camera servos (pan and tilt) cannot be changed then you are incorrect if you look in tracking.h you see
Code:
// By default, PWM output one is used for the pan servo.
// Change it to another value if you'd like to use PWM
// output one for another purpose.
#define PAN_SERVO pwm01

// By default, PWM output two is used for the tilt servo.
// Change it to another value if you'd like to use PWM
// output two for another purpose.
#define TILT_SERVO pwm02
That defines which PWM output is used!