|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Servo Tracking
I'm working in easyC and have got my teams camera to RECOGNIZE the green target light. However, whenever the program starts running the pan and tilt servos go to one specific set of coordinates and stay there. According to the terminal the camera is tracking the light but in actuality it reads it but does not move towards it...anybody know what I need to do to fix it? I've tried adding a Set Servo Tracking function block, but don't know where to place it.
|
|
#2
|
|||
|
|||
|
Re: Servo Tracking
I don't remember the global variable names exactly, but make sure that the pwms for your pan and tilt servos are set to the correct pwms. Are you using kickoff code or your own. If your own, some source would be appreciated.
Last edited by cmptrgy412 : 04-03-2007 at 19:32. |
|
#3
|
||||
|
||||
|
Re: Servo Tracking
I'd recommend on clicking the help button on the "Set Servo Tracking" block and it will explain how to use it.
Then you just make two variables "unsigned char' call them pan and tilt persay and write data to them in the caputre tracking data panel. Then write those values to a PWM Output. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quetion about servo tracking function in easyC pro | itsme | Programming | 5 | 31-01-2007 11:30 |
| Servo & Tracking Problems | Team 849 | Programming | 4 | 28-01-2007 01:28 |
| Servo tracking... pan reverse | Terry Yiu | Programming | 2 | 23-01-2007 22:26 |
| Servo behavior question / advanced servo/PIC programming question | DanL | Electrical | 12 | 18-10-2005 18:33 |
| Tracking beacon without servo | Paul Marshall | Technical Discussion | 17 | 10-02-2004 20:58 |