-
Notifications
You must be signed in to change notification settings - Fork 19.4k
AP_Baro: support for barometer position compensation #30876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
AP_Baro: support for barometer position compensation #30876
Conversation
Currently now I added BARO_POS_* which accounts for 1 barometer only. Should I extend the work for all barometers possible ? |
@@ -229,6 +229,13 @@ const AP_Param::GroupInfo AP_Baro::var_info[] = { | |||
#endif | |||
#endif // HAL_BARO_WIND_COMP_ENABLED | |||
|
|||
// @Param: BARO_POS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// @Param: BARO_POS | |
#if AP_BARO_POSITION_COMPENSATION_ENABLED | |
// @Param: BARO_POS |
... this should be a zero-compiler-change output on 1MB boards. And definitely off on AP_Periph.
…OS_*. Add baro position offset variables BARO_POS_* in the barometer implementation. Added correction for barometer offset in both EKF2 and EKF3.
…S_*. Add baro position offset variables BARO_POS_* in the barometer implementation. Added correction for barometer offset in both EKF2 and EKF3.
…O_POS_*. Add baro position offset variables BARO_POS_* in the barometer implementation. Added correction for barometer offset in both EKF2 and EKF3.
…O_POS_*. Add baro position offset variables BARO_POS_* in the barometer implementation. Added correction for barometer offset in both EKF2 and EKF3.
…*. Add baro position offset variables BARO_POS_* in the barometer implementation. Added correction for barometer offset in both EKF2 and EKF3.
b8352b8
to
fa73650
Compare
@peterbarker |
Addressing: #30727
Added baro position offset simulation and variables SIM_BARO_POS_.
Added baro position offset variables BARO_POS_ in the barometer implementation.
Added correction for barometer offset in both EKF2 and EKF3.