mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 03:33:35 +08:00
calibration params: avoid using NaN as default
- NaN is not supported by JSON, and leads to parsing failure in QGC. - fixes https://github.com/PX4/PX4-Autopilot/issues/18095
This commit is contained in:
@@ -92,6 +92,8 @@ public:
|
||||
void SensorCorrectionsUpdate(bool force = false);
|
||||
|
||||
private:
|
||||
static constexpr float TEMPERATURE_INVALID = -1000.f;
|
||||
|
||||
uORB::Subscription _sensor_correction_sub{ORB_ID(sensor_correction)};
|
||||
|
||||
Rotation _rotation_enum{ROTATION_NONE};
|
||||
|
||||
Reference in New Issue
Block a user