Log in

View Full Version : Why is there nowhere a simple list of the variables.


Rindill
01-02-2007, 23:26
Where do I find the actual variables in code for the camera? I can't find the ones from the movie. upleft_x and upleft_y and lowright_x, and lowright_y, and centroid_x and centroid_y, and region_size? I am using Kevin's camera code.

Kevin Watson
01-02-2007, 23:43
Where do I find the actual variables in code for the camera? I can't find the ones from the movie. upleft_x and upleft_y and lowright_x, and lowright_y, and centroid_x and centroid_y, and region_size? I am using Kevin's camera code.Those are variable names from EasyC. The variables you seek are defined in camera.h and described in the t-packet section of this document (http://kevin.org/frc/CMUcam2_data_packets.pdf).

-Kevin

Rindill
02-02-2007, 17:02
I see now. Don't know how I missed that. Thanks.