Lines Matching refs:raw

85 /** Gets last value of raw compass data.
86 * @param[out] raw Raw compass data in mounting frame in hardware units. Length 3.
88 void inv_get_raw_compass(short *raw)
90 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw));
480 /** Takes raw data stored in the sensor, removes bias, and converts it to
481 * calibrated data in the body frame. Also store raw data for body frame.
490 // Convert raw to calibrated
491 raw32[0] = (long)sensor->raw[0] << 15;
492 raw32[1] = (long)sensor->raw[1] << 15;
493 raw32[2] = (long)sensor->raw[2] << 15;
775 * outside MPL and it is not set if the data being passed is raw.
793 sensors.accel.raw[0] = (short)accel[0];
794 sensors.accel.raw[1] = (short)accel[1];
795 sensors.accel.raw[2] = (short)accel[2];
831 memcpy(sensors.gyro.raw, gyro, 3 * sizeof(short));
845 * not set if the data being passed is raw. Raw data should be in device units, typically
867 sensors.compass.raw[0] = (short)data[0];
868 sensors.compass.raw[1] = (short)data[1];
869 sensors.compass.raw[2] = (short)data[2];
941 memcpy(sensors.quat.raw, resultQuat, sizeof(sensors.quat.raw));
943 memcpy(sensors.quat.raw, quat, sizeof(sensors.quat.raw));
1256 /** Gets a whole set of gyro raw data including data, accuracy and timestamp.
1299 /** Gets a whole set of compass raw data including data, accuracy and timestamp.
1310 //per Michele, since data is raw, accuracy should = 0
1429 data[i] = sensors.soft_iron.raw[i];
1432 /** This subroutine sets the compass raw data for the soft iron transformation.
1433 * @param[int] the pointer of the 3x1 vector compass raw data in MPL format
1438 sensors.soft_iron.raw[i] = data[i];