Lines Matching refs:raw

86 /** Gets last value of raw compass data.
87 * @param[out] raw Raw compass data in mounting frame in hardware units. Length 3.
89 void inv_get_raw_compass(short *raw)
91 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw));
330 /** Returns timestame based upon a raw sensor, and returns if that sample has a new piece of data.
368 * It does this by finding a raw sensor that has the closest sample rate that is at least as
369 * often desired. It also returns if that raw sensor has a new piece of data.
371 * @return Returns 1, if the raw sensor being attached has new data, 0 otherwise.
433 * It does this by finding a raw sensor that has the closest sample rate that is at least as
434 * often desired. It also returns if that raw sensor has a new piece of data.
436 * @return Returns 1, if the raw sensor being attached has new data, 0 otherwise.
459 * It does this by finding a raw sensor that has the closest sample rate that is at least as
460 * often desired. It also returns if that raw sensor has a new piece of data.
462 * @return Returns 1, if the raw sensor being attached has new data, 0 otherwise.
685 /** Takes raw data stored in the sensor, removes bias, and converts it to
686 * calibrated data in the body frame. Also store raw data for body frame.
695 // Convert raw to calibrated
696 raw32[0] = (long)sensor->raw[0] << 15;
697 raw32[1] = (long)sensor->raw[1] << 15;
698 raw32[2] = (long)sensor->raw[2] << 15;
1001 * outside MPL and it is not set if the data being passed is raw.
1019 sensors.accel.raw[0] = (short)accel[0];
1020 sensors.accel.raw[1] = (short)accel[1];
1021 sensors.accel.raw[2] = (short)accel[2];
1057 memcpy(sensors.gyro.raw, gyro, 3 * sizeof(short));
1071 * not set if the data being passed is raw. Raw data should be in device units, typically
1093 sensors.compass.raw[0] = (short)data[0];
1094 sensors.compass.raw[1] = (short)data[1];
1095 sensors.compass.raw[2] = (short)data[2];
1167 memcpy(sensors.quat.raw, resultQuat, sizeof(sensors.quat.raw));
1169 memcpy(sensors.quat.raw, quat, sizeof(sensors.quat.raw));
1483 /** Gets a whole set of gyro raw data including data, accuracy and timestamp.
1526 /** Gets a whole set of compass raw data including data, accuracy and timestamp.
1537 //per Michele, since data is raw, accuracy should = 0
1656 data[i] = sensors.soft_iron.raw[i];
1659 /** This subroutine sets the compass raw data for the soft iron transformation.
1660 * @param[int] the pointer of the 3x1 vector compass raw data in MPL format
1665 sensors.soft_iron.raw[i] = data[i];