mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 03:30:35 +08:00
EKF: RingBuffer minor improvements
- allocate IMU and output buffers on construction according to defaults - determine buffer max time delay based on configuration parameters - reorder flowSample and extVisionSample to minimize padding - adjust parameter defaults to match PX4-Autopilot
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
protected:
|
||||
SensorRangeFinder _range_finder{};
|
||||
const rangeSample _good_sample{1.f, (uint64_t)2e6, 100}; // {range, time_us, quality}
|
||||
const rangeSample _good_sample{(uint64_t)2e6, 1.f, 100}; // {time_us, range, quality}
|
||||
const float _min_range{0.5f};
|
||||
const float _max_range{10.f};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user