Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Image Problems (http://www.chiefdelphi.com/forums/showthread.php?t=52596)

cprogrammer 23-01-2007 19:43

Image Problems
 
We are currently testing our camera and where the lens of the camera is pointing is not where the picture is. For example when we are directly between the two lights and the camera sees the two lights the lens of the camera is pointing more to the left of the target than in the center. Can anybody help me with this problem PLEASE:confused: :yikes:

teh_pwnerer795 25-01-2007 01:53

Re: Image Problems
 
I have the same problem, but i think it because the servos are set 124, 124 versus 127 could make that little difference. If u are using the steamlined version. you can go to tracking.h and set the PAN_CENTER_PWM_DEFAULT to 127. let me noe if that helps

Dman 02-02-2007 21:32

Re: Image Problems
 
Yeah, we have exactly the same problem. I don't think it has anything to do with the servos because the camera lens is the thing that is pointed more toward the left while the image appears to be centered. Help would be much appreciated!

bear24rw 02-02-2007 21:40

Re: Image Problems
 
You need to offset the center of the target in tracking.h

// These two values define the image pixel that we're
// going to try to keep the tracked object on. By default
// the center of the image is used.
#define PAN_TARGET_PIXEL_DEFAULT 79
#define TILT_TARGET_PIXEL_DEFAULT 119

Try changing the pan up and down to find the number that best centers your camera

Dman 03-02-2007 12:06

Re: Image Problems
 
I had thought of that, but why isn't the image centered with the lens anyway? Maybe we'll just make our own camera without that mistake... he he

bear24rw 03-02-2007 23:44

Re: Image Problems
 
Quote:

Originally Posted by Dman (Post 570862)
I had thought of that, but why isn't the image centered with the lens anyway? Maybe we'll just make our own camera without that mistake... he he

Yeah, I'm not sure if it is a mechanical problem or if it is a firmware problem with the camera.. we found we had to offset it quite a bit to get it to look straight. We noticed this problem all three years..

Anyone know why this occurs?


All times are GMT -5. The time now is 04:11.

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