mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 00:31:36 +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:
@@ -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};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user