mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 01:43:33 +08:00
accel and gyro calibration refactor and cleanup
- remove all remaining IOCTLs for accel and gyro and handle all calibration entirely in sensors module with parameters
- sensor_accel and sensor_gyro are now always raw sensor data
- calibration procedures no longer need to first clear existing values before starting
- temperature calibration (TC) remove all scale (SCL) parameters
- gyro and baro scale are completely unused
- regular accel calibration scale can be used (CAL_ACC*_xSCALE) instead of TC scale
This commit is contained in:
@@ -191,6 +191,4 @@ BMP280::print_status()
|
||||
perf_print_counter(_sample_perf);
|
||||
perf_print_counter(_measure_perf);
|
||||
perf_print_counter(_comms_errors);
|
||||
|
||||
_px4_baro.print_status();
|
||||
}
|
||||
|
||||
@@ -105,8 +105,6 @@ BMP388::print_status()
|
||||
perf_print_counter(_measure_perf);
|
||||
perf_print_counter(_comms_errors);
|
||||
printf("measurement interval: %u us \n", _measure_interval);
|
||||
|
||||
_px4_baro.print_status();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -284,8 +284,6 @@ DPS310::print_status()
|
||||
I2CSPIDriverBase::print_status();
|
||||
perf_print_counter(_sample_perf);
|
||||
perf_print_counter(_comms_errors);
|
||||
|
||||
_px4_barometer.print_status();
|
||||
}
|
||||
|
||||
} // namespace dps310
|
||||
|
||||
@@ -184,5 +184,4 @@ void LPS22HB::print_status()
|
||||
I2CSPIDriverBase::print_status();
|
||||
perf_print_counter(_sample_perf);
|
||||
perf_print_counter(_comms_errors);
|
||||
_px4_baro.print_status();
|
||||
}
|
||||
|
||||
@@ -199,6 +199,4 @@ void LPS25H::print_status()
|
||||
I2CSPIDriverBase::print_status();
|
||||
perf_print_counter(_sample_perf);
|
||||
perf_print_counter(_comms_errors);
|
||||
|
||||
_px4_barometer.print_status();
|
||||
}
|
||||
|
||||
@@ -284,6 +284,4 @@ void MPL3115A2::print_status()
|
||||
I2CSPIDriverBase::print_status();
|
||||
perf_print_counter(_sample_perf);
|
||||
perf_print_counter(_comms_errors);
|
||||
|
||||
_px4_barometer.print_status();
|
||||
}
|
||||
|
||||
@@ -340,8 +340,6 @@ void MS5611::print_status()
|
||||
perf_print_counter(_comms_errors);
|
||||
|
||||
printf("device: %s\n", _device_type == MS5611_DEVICE ? "ms5611" : "ms5607");
|
||||
|
||||
_px4_barometer.print_status();
|
||||
}
|
||||
|
||||
namespace ms5611
|
||||
|
||||
Reference in New Issue
Block a user