![]() |
Camera locks on but it still off
So we finally got our camera completely working, or so we thought. After getting the camera to lock onto the light really well and give us a distance to the light rather accurately we noticed that once the camera was locked on the pan servo was a few degrees off. This meant that when it was locked on from our home zone it appeared as though the camera was off by a foot or two. Is this related to something we did wrong in the code, or is that just how Kevin's bells and whistles code works? Thanks
|
Re: Camera locks on but it still off
Quote:
-Kevin |
Re: Camera locks on but it still off
Right now, when you square up the camera with our chassis, the actual field-of-view (which we found to be around 42* in the pan direction) is about 75% on the right side of our 'bot. We have adjusted the Pan Target pixel so that when tracking the camera unit points straight at the target, but now I am thinking that this isn't really desirable. Who cares where it points, you want the mx values on the center of the image sensor, right? Wouldn't that give you a better chance of not losing the light?
What about using pwm.h to adjust the PWM_CENTER value like so:
Is this better than changing the pan target pixel? Thanks in advance, Robinson Levin [Note: I think that there is an underlying assumption in the adjust above that your previous PWM_CENTER value made a pwm output of 127 point the camera straight ahead, right?] |
Re: Camera locks on but it still off
Quote:
-Kevin |
| All times are GMT -5. The time now is 04:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi