AP_DAL: populate `ekf_type`

This commit is contained in:
Iampete1 2023-01-30 16:31:15 +00:00 committed by Andrew Tridgell
parent e1c75e2535
commit def81b9a1a
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ void AP_DAL::start_frame(AP_DAL::FrameType frametype)
_RFRN.opticalflow_enabled = AP::opticalflow() && AP::opticalflow()->enabled();
#endif
_RFRN.wheelencoder_enabled = AP::wheelencoder() && (AP::wheelencoder()->num_sensors() > 0);
_RFRN.ekf_type = ahrs.get_ekf_type();
WRITE_REPLAY_BLOCK_IFCHANGED(RFRN, _RFRN, old);
// update body conversion