kiettyyyy
08-04-2006, 21:23
Hey all!
I just finally updated my code in order to use the camera (procrastination is bad). After reading through the code, it shows that Default_Routine(); is commented out.
Above it shows that the PWM1,2 are used for the camera PAN/TILT. I don't remember if the camera has the servos plugged into that board, or if it were plugged into the robot controller.
If it was plugged into the camera board, how would I make the camera work if I changed (tracking.h's)
// 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
to become
// 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 pwm09
// 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 pwm10
Isn't the Camera board controlling the servos? If the PWM09 and 10 are used, doesn't the cam board only use 1 and 2?
Kind of seems weird to me.. I haven't got my hands on the cam yet..
Thanks!!
I just finally updated my code in order to use the camera (procrastination is bad). After reading through the code, it shows that Default_Routine(); is commented out.
Above it shows that the PWM1,2 are used for the camera PAN/TILT. I don't remember if the camera has the servos plugged into that board, or if it were plugged into the robot controller.
If it was plugged into the camera board, how would I make the camera work if I changed (tracking.h's)
// 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
to become
// 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 pwm09
// 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 pwm10
Isn't the Camera board controlling the servos? If the PWM09 and 10 are used, doesn't the cam board only use 1 and 2?
Kind of seems weird to me.. I haven't got my hands on the cam yet..
Thanks!!