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_Airspeed/AP_Airspeed_config.h
Views: 1798
#pragma once12#include <AP_Common/AP_Common.h>3#include <AP_HAL/AP_HAL_Boards.h>4#include <AP_MSP/AP_MSP_config.h>5#include <AP_ExternalAHRS/AP_ExternalAHRS_config.h>67#ifndef AP_AIRSPEED_ENABLED8#define AP_AIRSPEED_ENABLED 19#endif1011#ifndef AP_AIRSPEED_BACKEND_DEFAULT_ENABLED12#define AP_AIRSPEED_BACKEND_DEFAULT_ENABLED AP_AIRSPEED_ENABLED13#endif1415// backends16#ifndef AP_AIRSPEED_ANALOG_ENABLED17#define AP_AIRSPEED_ANALOG_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED18#endif1920#ifndef AP_AIRSPEED_ASP5033_ENABLED21#define AP_AIRSPEED_ASP5033_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED22#endif2324#ifndef AP_AIRSPEED_DLVR_ENABLED25#define AP_AIRSPEED_DLVR_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED26#endif2728#ifndef AP_AIRSPEED_DRONECAN_ENABLED29#define AP_AIRSPEED_DRONECAN_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED && HAL_ENABLE_DRONECAN_DRIVERS30#endif3132#ifndef AP_AIRSPEED_MS4525_ENABLED33#define AP_AIRSPEED_MS4525_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED34#endif3536#ifndef AP_AIRSPEED_MS5525_ENABLED37#define AP_AIRSPEED_MS5525_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED38#endif3940#ifndef AP_AIRSPEED_MSP_ENABLED41#define AP_AIRSPEED_MSP_ENABLED (AP_AIRSPEED_BACKEND_DEFAULT_ENABLED && HAL_MSP_SENSORS_ENABLED)42#endif4344// note additional vehicle restrictions are made in the .cpp file!45#ifndef AP_AIRSPEED_NMEA_ENABLED46#define AP_AIRSPEED_NMEA_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED47#endif4849#ifndef AP_AIRSPEED_SDP3X_ENABLED50#define AP_AIRSPEED_SDP3X_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED51#endif5253#ifndef AP_AIRSPEED_SITL_ENABLED54#define AP_AIRSPEED_SITL_ENABLED AP_AIRSPEED_BACKEND_DEFAULT_ENABLED && AP_SIM_ENABLED55#endif5657// other AP_Airspeed options:58#ifndef AIRSPEED_MAX_SENSORS59#define AIRSPEED_MAX_SENSORS 260#endif6162#ifndef AP_AIRSPEED_AUTOCAL_ENABLE63#define AP_AIRSPEED_AUTOCAL_ENABLE AP_AIRSPEED_ENABLED64#endif6566#ifndef AP_AIRSPEED_HYGROMETER_ENABLE67#define AP_AIRSPEED_HYGROMETER_ENABLE (AP_AIRSPEED_ENABLED && BOARD_FLASH_SIZE > 1024)68#endif6970#ifndef AP_AIRSPEED_EXTERNAL_ENABLED71#define AP_AIRSPEED_EXTERNAL_ENABLED AP_AIRSPEED_ENABLED && HAL_EXTERNAL_AHRS_ENABLED72#endif737475