mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 09:43:57 -04:00
AP_Baro: rename params to suit new BARO param naming
This commit is contained in:
parent
a3b5901218
commit
3e2ff71750
@ -199,20 +199,20 @@ const AP_Param::GroupInfo AP_Baro::var_info[] = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAL_BARO_WIND_COMP_ENABLED
|
#if HAL_BARO_WIND_COMP_ENABLED
|
||||||
// @Group: WCF1_
|
// @Group: 1_WCF_
|
||||||
// @Path: AP_Baro_Wind.cpp
|
// @Path: AP_Baro_Wind.cpp
|
||||||
AP_SUBGROUPINFO(sensors[0].wind_coeff, "WCF1_", 18, AP_Baro, WindCoeff),
|
AP_SUBGROUPINFO(sensors[0].wind_coeff, "1_WCF_", 18, AP_Baro, WindCoeff),
|
||||||
|
|
||||||
#if BARO_MAX_INSTANCES > 1
|
#if BARO_MAX_INSTANCES > 1
|
||||||
// @Group: WCF2_
|
// @Group: 2_WCF_
|
||||||
// @Path: AP_Baro_Wind.cpp
|
// @Path: AP_Baro_Wind.cpp
|
||||||
AP_SUBGROUPINFO(sensors[1].wind_coeff, "WCF2_", 19, AP_Baro, WindCoeff),
|
AP_SUBGROUPINFO(sensors[1].wind_coeff, "2_WCF_", 19, AP_Baro, WindCoeff),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if BARO_MAX_INSTANCES > 2
|
#if BARO_MAX_INSTANCES > 2
|
||||||
// @Group: WCF3_
|
// @Group: 3_WCF_
|
||||||
// @Path: AP_Baro_Wind.cpp
|
// @Path: AP_Baro_Wind.cpp
|
||||||
AP_SUBGROUPINFO(sensors[2].wind_coeff, "WCF3_", 20, AP_Baro, WindCoeff),
|
AP_SUBGROUPINFO(sensors[2].wind_coeff, "3_WCF_", 20, AP_Baro, WindCoeff),
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,13 +21,13 @@ const AP_Param::GroupInfo AP_Baro::WindCoeff::var_info[] = {
|
|||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
AP_GROUPINFO("FWD", 2, WindCoeff, xp, 0.0),
|
AP_GROUPINFO("FWD", 2, WindCoeff, xp, 0.0),
|
||||||
|
|
||||||
// @Param: BAK
|
// @Param: BCK
|
||||||
// @DisplayName: Pressure error coefficient in negative X direction (backwards)
|
// @DisplayName: Pressure error coefficient in negative X direction (backwards)
|
||||||
// @Description: This is the ratio of static pressure error to dynamic pressure generated by a negative wind relative velocity along the X body axis. If the baro height estimate rises during backwards flight, then this will be a negative number. Multirotors can use this feature only if using EKF3 and if the EK3_BCOEF_X and EK3_BCOEF_Y parameters have been tuned.
|
// @Description: This is the ratio of static pressure error to dynamic pressure generated by a negative wind relative velocity along the X body axis. If the baro height estimate rises during backwards flight, then this will be a negative number. Multirotors can use this feature only if using EKF3 and if the EK3_BCOEF_X and EK3_BCOEF_Y parameters have been tuned.
|
||||||
// @Range: -1.0 1.0
|
// @Range: -1.0 1.0
|
||||||
// @Increment: 0.05
|
// @Increment: 0.05
|
||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
AP_GROUPINFO("BAK", 3, WindCoeff, xn, 0.0),
|
AP_GROUPINFO("BCK", 3, WindCoeff, xn, 0.0),
|
||||||
|
|
||||||
// @Param: RGT
|
// @Param: RGT
|
||||||
// @DisplayName: Pressure error coefficient in positive Y direction (right)
|
// @DisplayName: Pressure error coefficient in positive Y direction (right)
|
||||||
|
Loading…
Reference in New Issue
Block a user