mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[baro] PRINT_CONFIG_MSG for USE_BARO_BOARD and USE_BAROMETER
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
<define name="LOITER_TRIM"/>
|
||||
<define name="STRONG_WIND"/>
|
||||
|
||||
<define name="USE_BAROMETER" value="TRUE"/>
|
||||
|
||||
<subsystem name="radio_control" type="ppm"/>
|
||||
|
||||
<!-- Communication -->
|
||||
@@ -42,6 +44,7 @@
|
||||
|
||||
<modules>
|
||||
<load name="sys_mon.xml"/>
|
||||
<load name="baro_sim.xml"/>
|
||||
</modules>
|
||||
|
||||
<servos>
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
#endif
|
||||
#include "subsystems/air_data.h"
|
||||
#if USE_BARO_BOARD
|
||||
PRINT_CONFIG_MSG("USE_BARO_BOARD is TRUE: Reading onboard baro.")
|
||||
#include "subsystems/sensors/baro.h"
|
||||
#endif
|
||||
#include "subsystems/ins.h"
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
#include "subsystems/air_data.h"
|
||||
|
||||
#if USE_BARO_BOARD
|
||||
PRINT_CONFIG_MSG("USE_BARO_BOARD is TRUE: Reading onboard baro.")
|
||||
#include "subsystems/sensors/baro.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ float ins_alt;
|
||||
float ins_alt_dot;
|
||||
|
||||
#if USE_BAROMETER
|
||||
PRINT_CONFIG_MSG("USE_BAROMETER is TRUE: Using baro for altitude estimation.")
|
||||
#include "subsystems/sensors/baro.h"
|
||||
#include "math/pprz_isa.h"
|
||||
float ins_qfe;
|
||||
|
||||
Reference in New Issue
Block a user