Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/libraries/AP_Baro/AP_Baro_config.h
Views: 1798
#pragma once12#include <AP_HAL/AP_HAL_Boards.h>3#include <AP_MSP/msp.h>4#include <AP_ExternalAHRS/AP_ExternalAHRS.h>56#ifndef HAL_BARO_WIND_COMP_ENABLED7#define HAL_BARO_WIND_COMP_ENABLED 18#endif910#ifndef AP_BARO_ENABLED11#define AP_BARO_ENABLED 112#endif1314// backend support:15#ifndef AP_BARO_BACKEND_DEFAULT_ENABLED16#define AP_BARO_BACKEND_DEFAULT_ENABLED 117#endif1819#ifndef AP_BARO_BMP085_ENABLED20#define AP_BARO_BMP085_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED21#endif2223#ifndef AP_BARO_BMP280_ENABLED24#define AP_BARO_BMP280_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED25#endif2627#ifndef AP_BARO_BMP388_ENABLED28#define AP_BARO_BMP388_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED29#endif3031#ifndef AP_BARO_BMP581_ENABLED32#define AP_BARO_BMP581_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED33#endif3435#ifndef AP_BARO_DPS280_ENABLED36#define AP_BARO_DPS280_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED37#endif3839#ifndef AP_BARO_DUMMY_ENABLED40#define AP_BARO_DUMMY_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED41#endif4243#ifndef AP_BARO_EXTERNALAHRS_ENABLED44#define AP_BARO_EXTERNALAHRS_ENABLED HAL_EXTERNAL_AHRS_ENABLED45#endif4647#ifndef AP_BARO_FBM320_ENABLED48#define AP_BARO_FBM320_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED49#endif5051#ifndef AP_BARO_ICM20789_ENABLED52#define AP_BARO_ICM20789_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED53#endif5455#ifndef AP_BARO_ICP101XX_ENABLED56#define AP_BARO_ICP101XX_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED57#endif5859#ifndef AP_BARO_ICP201XX_ENABLED60#define AP_BARO_ICP201XX_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED61#endif6263#ifndef AP_BARO_KELLERLD_ENABLED64#define AP_BARO_KELLERLD_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED65#endif6667#ifndef AP_BARO_LPS2XH_ENABLED68#define AP_BARO_LPS2XH_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED69#endif7071#ifndef AP_BARO_MS56XX_ENABLED72#define AP_BARO_MS56XX_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED73#endif7475#ifndef AP_BARO_MSP_ENABLED76#define AP_BARO_MSP_ENABLED HAL_MSP_SENSORS_ENABLED77#endif7879#ifndef AP_SIM_BARO_ENABLED80#define AP_SIM_BARO_ENABLED AP_SIM_ENABLED81#endif8283#ifndef AP_BARO_SPL06_ENABLED84#define AP_BARO_SPL06_ENABLED AP_BARO_BACKEND_DEFAULT_ENABLED85#endif8687#ifndef AP_BARO_DRONECAN_ENABLED88#define AP_BARO_DRONECAN_ENABLED (AP_BARO_BACKEND_DEFAULT_ENABLED && HAL_ENABLE_DRONECAN_DRIVERS)89#endif909192#ifndef AP_BARO_PROBE_EXTERNAL_I2C_BUSES93#define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 194#endif9596#ifndef AP_BARO_PROBE_EXT_PARAMETER_ENABLED97#define AP_BARO_PROBE_EXT_PARAMETER_ENABLED AP_BARO_PROBE_EXTERNAL_I2C_BUSES || AP_BARO_MSP_ENABLED98#endif99100#ifndef AP_BARO_1976_STANDARD_ATMOSPHERE_ENABLED101// default to using the extended functions when doing double precision EKF (which implies more flash space and faster MCU)102// this allows for using the simple model with the --ekf-single configure option103#define AP_BARO_1976_STANDARD_ATMOSPHERE_ENABLED HAL_WITH_EKF_DOUBLE || AP_SIM_ENABLED104#endif105106107