Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   pan & tilt errors (http://www.chiefdelphi.com/forums/showthread.php?t=44243)

itzrobz 18-02-2006 10:45

pan & tilt errors
 
Pan Error : 24
Tilt Error : 104

Can anyone help us make it so that the error is is closer to 0 and not 104?

Thanks

Windward 18-02-2006 13:20

Re: pan & tilt errors
 
Set the value closer to zero in the code or if you have the "bells and whistle" version use the tracking menu (press t in the command prompt from IFI loader)

Keith Watson 19-02-2006 19:12

Re: pan & tilt errors
 
Quote:

Originally Posted by itzrobz
Pan Error : 24
Tilt Error : 104

Can anyone help us make it so that the error is is closer to 0 and not 104?

Thanks

Are you sure the camera is locked on with those values? In tracking.c the algorithm uses the maximum number of pixels between the camera center and the target center as:
Code:

#define PAN_ALLOWABLE_ERROR_DEFAULT 6
#define TILT_ALLOWABLE_ERROR_DEFAULT 6

So anything higher than an error of 6 should mean the camera is not locked on to the target in the Servo_Track() function.


All times are GMT -5. The time now is 01:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi