forked from Archive/PX4-Autopilot
sensors/vehicle_imu: Integrator use 1 microsecond for minimum DT
- this is a more realistic minimum for the system
This commit is contained in:
parent
d2f1349d1a
commit
b4158c1b48
|
@ -51,7 +51,7 @@ public:
|
|||
Integrator() = default;
|
||||
~Integrator() = default;
|
||||
|
||||
static constexpr float DT_MIN{FLT_MIN};
|
||||
static constexpr float DT_MIN{1e-6f}; // 1 microsecond
|
||||
static constexpr float DT_MAX{static_cast<float>(UINT16_MAX) * 1e-6f};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue