Browse Source

AP_NavEKF3: log set source events

apm_2208
Andrew Tridgell 3 years ago committed by Peter Barker
parent
commit
74c4f3c9a9
  1. 3
      libraries/AP_NavEKF3/AP_NavEKF3.cpp

3
libraries/AP_NavEKF3/AP_NavEKF3.cpp

@ -1083,6 +1083,9 @@ void NavEKF3::resetCoreErrors(void) @@ -1083,6 +1083,9 @@ void NavEKF3::resetCoreErrors(void)
// set position, velocity and yaw sources to either 0=primary, 1=secondary, 2=tertiary
void NavEKF3::setPosVelYawSourceSet(uint8_t source_set_idx)
{
if (source_set_idx < AP_NAKEKF_SOURCE_SET_MAX) {
AP::dal().log_event3(AP_DAL::Event(uint8_t(AP_DAL::Event::setSourceSet0)+source_set_idx));
}
sources.setPosVelYawSourceSet(source_set_idx);
}

Loading…
Cancel
Save