First off, after looking at our goal for awhile, I don't think you will find a configuration where the CMUcam's field of view covers two lights.
With that out of the way, I think the VW function is what you seek:
Quote:
|
Originally Posted by CMUcam manual
VW [ x y x2 y2 ] \r
This command sets the Virtual Window size of the camera. It accepts the x and y Cartesian coordinates of the upper left corner (1,1) followed by the lower right of the window you wish to set. The origin is located at the upper left of the field of view. VW can be called before an image processing command to constrain the field of view. Without arguments it returns to the default full window size of for the current combination of camera type, down-sampling and resolution mode.
|
You will need to do some research and digging in the camera code to make this work. I know there's a "write to serial port" function in Kevin Watson's code that you could use for this. My brain is so jelly-fied from this week that any pseudocode I wrote for you would be useless...sorry
JBot