|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Servo & Tracking Problems
We're having problems with the servos and our camera can't track. We tried using the demo program and it still doesn't work. What's wrong? The camera can move with the joystick but the autonomous doesn't work either.
|
|
#2
|
||||
|
||||
|
Re: Servo & Tracking Problems
Quote:
What pwm output ports do you have the servos connected to? The 2007 easyC demo code expects pan and tilt to be on pwm 10 and 11 by default, respectively. You can change this with the macros and constants dialog by hitting F6 in easyC. Kevin's code by default has pan and tilt on pwm 01 and pwm 02. That can be changed by editing the values defined in tracking.h. |
|
#3
|
|||
|
|||
|
Re: Servo & Tracking Problems
We are using Easy C.
The macros and constants are empty when we press F6. We are using pwm 10 and 11. How do we activate the autonomous mode? Also, is there a seperate chip that is needed to pan and tilt the camera? |
|
#4
|
|||
|
|||
|
Re: Servo & Tracking Problems
Quote:
Be careful, you don't want to fry the brain, at least a dozen teams fry them each year. |
|
#5
|
||||
|
||||
|
We are attempting to use the onboard pwms on the camera. Our last-year's programmer had got this to work, but since he is gone (and also the laptop) I can't seem to figure it out. I am using Kevin's camera code (streamlined?)
Any ideas? Edit: I just read Rule <R28> revision #2 which stated that i could not use the 2006 camera! Oops . Well, I guess i need to get longer pwm cables! . Oh well, just go with the flow...Last edited by htwiz2002 : 28-01-2007 at 02:34. Reason: Updated in |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with tracking | Shinsa | Programming | 2 | 07-02-2010 14:35 |
| Quetion about servo tracking function in easyC pro | itsme | Programming | 5 | 31-01-2007 11:30 |
| Camera Servo Problems | pi_guy578 | Programming | 2 | 28-01-2006 13:17 |
| Tracking beacon without servo | Paul Marshall | Technical Discussion | 17 | 10-02-2004 20:58 |
| servo problems | lpramo55 | Programming | 5 | 20-01-2004 22:23 |