Quote:
|
Originally Posted by Phreakuency
A few things that are in the java GUI version but I can't find the commands for are the auto servo, which I don't know if that is a sub program in itself or not, because it seems to long to be a function, and what the command for white balance is. Any help on these would be greatly appreciated.
Phreakuency
|
For auto servo functions look at the SM command. You give it a parameter where the low order 4 bits tell the camera whether to report and track with the pan and tilt servos. If you turn on Pan or Tilt Control Enable, then it will start moving the servos automatically in response to the results returned from the camera.
For white balance - there's a section on the manual that describes how the auto white balance works. It can be turned on and off by setting registers on the camera module with the CR (Camera Register) command. Register 12 (Common Control Register A) enables auto white balance. Be careful because the register numbers in the documenation are Hex and the values you send the camera (in ascii mode) are decimal.
Using the LabView camera GUI you can develop a set of values pretty quickly. Once you have it tracking your target it will show you all the register settings it is using. Alternatively you can use the EasyC values that have defaults built in to track the green target.
Brad