Browse Source

AP_NavEKF3: increase beacon buffer to imu + 1

c415-sdk
Randy Mackay 5 years ago
parent
commit
d292ba028a
  1. 2
      libraries/AP_NavEKF3/AP_NavEKF3_core.cpp

2
libraries/AP_NavEKF3/AP_NavEKF3_core.cpp

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

Loading…
Cancel
Save