Home | History | Annotate | Download | only in mllite

Lines Matching defs:compass

34    filter for compass data.

36 compass data, since the former is unfiltered and the latter is filtered,
44 int accuracy_mag; /**< Compass accuracy */
289 long compass[3], quat_geomagnetic[4];
291 inv_get_compass_set(compass, accuracy, timestamp);
311 /** Compass data (uT) in body frame.
312 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
339 /** Compass raw data (uT) in body frame.
340 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
509 long compass[3], quat_geomagnetic[4];
510 inv_get_compass_set(compass, accuracy, timestamp);
525 long compass[3];
534 hal_out.compass_status = sensor_cal->compass.status;
546 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) {
547 sr = sensor_cal->compass.sample_rate_ms;
558 if ((sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) {
562 if ((sensor_cal->gyro.status & sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) {
577 hal_out.nine_axis_status = (sensor_cal->compass.status & INV_NEW_DATA) ? 1 : 0;
578 hal_out.nav_timestamp = sensor_cal->compass.timestamp;
593 inv_get_compass_set(compass, &accuracy, &(hal_out.mag_timestamp) );
598 hal_out.compass_float[i] = (float)compass[i] * COMPASS_CONVERSION;
602 if ((sensor_cal->compass.status & (INV_NEW_DATA | INV_CONTIGUOUS)) ==
606 (float)compass[i]);
608 if ((sensor_cal->compass.status & (INV_NEW_DATA | INV_RAW_DATA)) ==
612 (float)compass[i]) *
614 } else if ((sensor_cal->compass.status & INV_NEW_DATA) == INV_NEW_DATA) {
615 hal_out.compass_float[i] = (float)compass[i] * COMPASS_CONVERSION;