![]() |
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. |
Re: Servo tracking... pan reverse
Invert it like this (pseudocode)
pan_pwm = 255 - pan_pwm; |
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 |
| All times are GMT -5. The time now is 04:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi