|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Servo tracking... pan reverse
Hi, I have a question about the servo tracking for the camera. The tilt tracking works fine... follows the green light. However, the pan servo moves AWAY from the green light. It seems that our pan tracking is reversed and we do not know how to invert it back on EasyC.
Any help would be appreciated. Thanks. |
|
#2
|
|||
|
|||
|
Re: Servo tracking... pan reverse
Invert it like this (pseudocode)
pan_pwm = 255 - pan_pwm; |
|
#3
|
|||
|
|||
|
Re: Servo tracking... pan reverse
If you're using Kevin Watson's tracking code look in tracking.h and find
Code:
#define PAN_ROTATION_SIGN_DEFAULT |
![]() |
| 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 |
| Dashboard View of Pan and Tilt Servo Values | JoeXIII'007 | Programming | 1 | 02-02-2005 22:34 |
| Tracking beacon without servo | Paul Marshall | Technical Discussion | 17 | 10-02-2004 20:58 |