mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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…
x
Reference in New Issue
Block a user