AP_NavEKF3: increase beacon buffer to imu + 1

This commit is contained in:
Randy Mackay 2020-08-19 17:01:36 +09:00
parent ce55af4d95
commit d292ba028a

View File

@ -151,7 +151,7 @@ bool NavEKF3_core::setup_core(uint8_t _imu_index, uint8_t _core_index)
return false;
}
// Note: range beacon data is read one beacon at a time and can arrive at a high rate
if(!storedRangeBeacon.init(imu_buffer_length)) {
if(!storedRangeBeacon.init(imu_buffer_length+1)) {
return false;
}
if (!storedExtNav.init(extnav_buffer_length)) {