mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 23:03:34 +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:
@@ -64,12 +64,6 @@ void Simulator::parameters_update(bool force)
|
||||
}
|
||||
}
|
||||
|
||||
void Simulator::print_status()
|
||||
{
|
||||
PX4_INFO("magnetometer");
|
||||
_px4_mag.print_status();
|
||||
}
|
||||
|
||||
int Simulator::start(int argc, char *argv[])
|
||||
{
|
||||
_instance = new Simulator();
|
||||
@@ -154,7 +148,7 @@ int simulator_main(int argc, char *argv[])
|
||||
return 1;
|
||||
|
||||
} else {
|
||||
Simulator::getInstance()->print_status();
|
||||
PX4_INFO("running");
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
@@ -127,8 +127,6 @@ public:
|
||||
bool has_initialized() { return _has_initialized.load(); }
|
||||
#endif
|
||||
|
||||
void print_status();
|
||||
|
||||
private:
|
||||
Simulator() : ModuleParams(nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user