Browse Source

sensors/vehicle_imu: Integrator use 1 microsecond for minimum DT

- this is a more realistic minimum for the system
v1.13.0-BW
Daniel Agar 3 years ago
parent
commit
b4158c1b48
  1. 2
      src/modules/sensors/vehicle_imu/Integrator.hpp

2
src/modules/sensors/vehicle_imu/Integrator.hpp

@ -51,7 +51,7 @@ public: @@ -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…
Cancel
Save