CAVE_SENSOR_ST
Previous  Top  Next


a structure containing tracker sensor data. The entries are:  
·float x,y,z - the position of the sensor  
·float azim,elev,roll - the orientation of the sensor (Euler angles)  
·CAVE_TIMESTAMP_ST timestamp - the time that the most recent reading for this sensor was taken. The CAVE_TIMESTAMP_ST struct is similar to a struct timeval, with entries sec and usec.  
·boolean calibrated - a flag indicating whether the current sensor data has been calibrated (see the CalibrationFile config option)  
·CAVEID frame - the frame of reference for this data; either CAVE_TRACKER_FRAME or CAVE_NAV_FRAME  
The orientation values are in degrees; azim and roll range from -180 to 180, and elev ranges from -90 to 90. The order of the rotations is azim (Y), elev (X), roll (Z).