mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 05:21:36 +08:00
sensors: move mag aggregation to new VehicleMagnetometer WorkItem
- purge all reminaing magnetometer IOCTL usage - mag calibration add off diagonal (soft iron) scale factors
This commit is contained in:
@@ -307,8 +307,6 @@ ADIS16448::print_status()
|
||||
perf_print_counter(_perf_transfer);
|
||||
perf_print_counter(_perf_bad_transfer);
|
||||
perf_print_counter(_perf_crc_bad);
|
||||
|
||||
_px4_mag.print_status();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -75,8 +75,6 @@ void ICM20948_AK09916::PrintInfo()
|
||||
{
|
||||
perf_print_counter(_bad_transfer_perf);
|
||||
perf_print_counter(_magnetic_sensor_overflow_perf);
|
||||
|
||||
_px4_mag.print_status();
|
||||
}
|
||||
|
||||
void ICM20948_AK09916::Run()
|
||||
|
||||
@@ -75,8 +75,6 @@ void MPU9250_AK8963::PrintInfo()
|
||||
{
|
||||
perf_print_counter(_bad_transfer_perf);
|
||||
perf_print_counter(_magnetic_sensor_overflow_perf);
|
||||
|
||||
_px4_mag.print_status();
|
||||
}
|
||||
|
||||
void MPU9250_AK8963::Run()
|
||||
|
||||
@@ -124,8 +124,6 @@ public:
|
||||
bool ak8963_check_id(uint8_t &id);
|
||||
bool ak8963_read_adjustments();
|
||||
|
||||
void print_status() { _px4_mag.print_status(); }
|
||||
|
||||
protected:
|
||||
device::Device *_interface;
|
||||
|
||||
|
||||
@@ -669,6 +669,4 @@ MPU9250::print_status()
|
||||
perf_print_counter(_sample_perf);
|
||||
perf_print_counter(_bad_registers);
|
||||
perf_print_counter(_duplicates);
|
||||
|
||||
_mag.print_status();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user