The following structures have been defined for IPC between the sbcController and the camera control processes. --------------------------------- To the camera --------------------------------- struct to_camera_packet { char mode; //can be {0,1} indicating mode1 or mode2 operation char mode1cmd; //defined in set MODE1COMMAND float pitch; //0.00 to 360.00 degrees of pitch float yaw; //0.00 to 360.00 degrees of yaw }; if mode is mode1 then camera motion is operated by a joystick device if mode is mode2 then camera motion is operated by giving pitch and yaw angles to move to. NOTE: need to figure out how floats are defined in C for QNX and Java. NOTE: need to send stop before moving to new direction. MODE1COMMAND: 00 - stops every motor {02 03 04, 01 00 05, 08 07 06} indicates position of hat, or joystick device 0xA0 - Zoom in 0xAF - Zoom out 0xB0 - Iris open 0xBF - Iris close 0xC0 - focus plus 0xCF - focus minus 0xF1 - toggle light 0xF2 - toggle camera power The above will be communicated through a fifo on the SBC located at: /tart/to_camera_fifo --------------------------------- From the camera --------------------------------- This struct is used by the control station to as the relative viewing angle of the camera with respect to TART. struct from_camera_packet { float pitch; float roll; float yaw; }; This info will be communicated through the fifo residing on the SBC located at: /tart/from_camera_fifo