mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
rename barometer parameters to BARO prefix
This commit is contained in:
parent
5e3bf0a703
commit
cd2f2f96eb
@ -213,11 +213,10 @@ const AP_Param::Info Tracker::var_info[] = {
|
|||||||
// @User: Standard
|
// @User: Standard
|
||||||
GSCALAR(pitch_max, "PITCH_MAX", PITCH_MAX_DEFAULT),
|
GSCALAR(pitch_max, "PITCH_MAX", PITCH_MAX_DEFAULT),
|
||||||
|
|
||||||
// barometer ground calibration. The GND_ prefix is chosen for
|
// barometer library
|
||||||
// compatibility with previous releases of ArduPlane
|
// @Group: BARO
|
||||||
// @Group: GND_
|
|
||||||
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
||||||
GOBJECT(barometer, "GND_", AP_Baro),
|
GOBJECT(barometer, "BARO", AP_Baro),
|
||||||
|
|
||||||
// @Group: COMPASS_
|
// @Group: COMPASS_
|
||||||
// @Path: ../libraries/AP_Compass/AP_Compass.cpp
|
// @Path: ../libraries/AP_Compass/AP_Compass.cpp
|
||||||
|
@ -582,9 +582,9 @@ const AP_Param::Info Copter::var_info[] = {
|
|||||||
GOBJECT(sitl, "SIM_", SITL::SITL),
|
GOBJECT(sitl, "SIM_", SITL::SITL),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// @Group: GND_
|
// @Group: BARO
|
||||||
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
||||||
GOBJECT(barometer, "GND_", AP_Baro),
|
GOBJECT(barometer, "BARO", AP_Baro),
|
||||||
|
|
||||||
// GPS driver
|
// GPS driver
|
||||||
// @Group: GPS_
|
// @Group: GPS_
|
||||||
|
@ -857,11 +857,9 @@ const AP_Param::Info Plane::var_info[] = {
|
|||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
ASCALAR(crash_detection_enable, "CRASH_DETECT", 0),
|
ASCALAR(crash_detection_enable, "CRASH_DETECT", 0),
|
||||||
|
|
||||||
// barometer ground calibration. The GND_ prefix is chosen for
|
// @Group: BARO
|
||||||
// compatibility with previous releases of ArduPlane
|
|
||||||
// @Group: GND_
|
|
||||||
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
||||||
GOBJECT(barometer, "GND_", AP_Baro),
|
GOBJECT(barometer, "BARO", AP_Baro),
|
||||||
|
|
||||||
// GPS driver
|
// GPS driver
|
||||||
// @Group: GPS_
|
// @Group: GPS_
|
||||||
|
@ -500,9 +500,9 @@ const AP_Param::Info Sub::var_info[] = {
|
|||||||
GOBJECT(sitl, "SIM_", SITL::SITL),
|
GOBJECT(sitl, "SIM_", SITL::SITL),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// @Group: GND_
|
// @Group: BARO
|
||||||
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
||||||
GOBJECT(barometer, "GND_", AP_Baro),
|
GOBJECT(barometer, "BARO", AP_Baro),
|
||||||
|
|
||||||
// GPS driver
|
// GPS driver
|
||||||
// @Group: GPS_
|
// @Group: GPS_
|
||||||
|
@ -236,11 +236,9 @@ const AP_Param::Info Rover::var_info[] = {
|
|||||||
// @Path: ../libraries/AP_Scheduler/AP_Scheduler.cpp
|
// @Path: ../libraries/AP_Scheduler/AP_Scheduler.cpp
|
||||||
GOBJECT(scheduler, "SCHED_", AP_Scheduler),
|
GOBJECT(scheduler, "SCHED_", AP_Scheduler),
|
||||||
|
|
||||||
// barometer ground calibration. The GND_ prefix is chosen for
|
// @Group: BARO
|
||||||
// compatibility with previous releases of ArduPlane
|
|
||||||
// @Group: GND_
|
|
||||||
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
|
||||||
GOBJECT(barometer, "GND_", AP_Baro),
|
GOBJECT(barometer, "BARO", AP_Baro),
|
||||||
|
|
||||||
// @Group: RELAY_
|
// @Group: RELAY_
|
||||||
// @Path: ../libraries/AP_Relay/AP_Relay.cpp
|
// @Path: ../libraries/AP_Relay/AP_Relay.cpp
|
||||||
|
@ -66,9 +66,9 @@ const AP_Param::Info AP_Periph_FW::var_info[] = {
|
|||||||
|
|
||||||
#ifdef HAL_PERIPH_ENABLE_BARO
|
#ifdef HAL_PERIPH_ENABLE_BARO
|
||||||
// Baro driver
|
// Baro driver
|
||||||
// @Group: BARO_
|
// @Group: BARO
|
||||||
// @Path: ../../libraries/AP_Baro/AP_Baro.cpp
|
// @Path: ../../libraries/AP_Baro/AP_Baro.cpp
|
||||||
GOBJECT(baro, "BARO_", AP_Baro),
|
GOBJECT(baro, "BARO", AP_Baro),
|
||||||
GSCALAR(baro_enable, "BARO_ENABLE", 1),
|
GSCALAR(baro_enable, "BARO_ENABLE", 1),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user