Currently there are two flags that specify the data source for measurements: EKF_INIT_SENC_SCR and EKF_INIT_LOG_SRC and it is unclear what happens if both are up. This PR reduces flags to single one, which decides the source for EKF.
Motivation and Context
Clearer interface
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
How Has This Been Tested?
[ ] Already covered by automatic testing.
[ ] New test added: (add PR link here).
[x] Tested by hand on: (list targets here). host-generic-pilot
Checklist:
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing linter checks and tests passed.
[x] My changes generate no new compilation warnings for any of the targets.
Special treatment
[ ] This PR needs additional PRs to work (list the PRs, preferably in merge-order).
[ ] I will merge this PR by myself when appropriate.
Description
Currently there are two flags that specify the data source for measurements:
EKF_INIT_SENC_SCR
andEKF_INIT_LOG_SRC
and it is unclear what happens if both are up. This PR reduces flags to single one, which decides the source for EKF.Motivation and Context
Clearer interface
Types of changes
How Has This Been Tested?
host-generic-pilot
Checklist:
Special treatment