2022-10-26 06:21:36 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
|
|
|
|
#ifndef HAL_EXTERNAL_AHRS_ENABLED
|
2023-04-14 00:47:52 -03:00
|
|
|
#define HAL_EXTERNAL_AHRS_ENABLED BOARD_FLASH_SIZE > 1024
|
2022-10-26 06:21:36 -03:00
|
|
|
#endif
|
2023-04-24 06:54:51 -03:00
|
|
|
|
|
|
|
#ifndef AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#define AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED HAL_EXTERNAL_AHRS_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2023-08-18 16:14:40 -03:00
|
|
|
#ifndef AP_EXTERNAL_AHRS_MICROSTRAIN5_ENABLED
|
|
|
|
#define AP_EXTERNAL_AHRS_MICROSTRAIN5_ENABLED AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2023-09-23 16:42:35 -03:00
|
|
|
#ifndef AP_EXTERNAL_AHRS_MICROSTRAIN7_ENABLED
|
|
|
|
#define AP_EXTERNAL_AHRS_MICROSTRAIN7_ENABLED AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2023-08-18 16:14:40 -03:00
|
|
|
#ifndef AP_MICROSTRAIN_ENABLED
|
|
|
|
#define AP_MICROSTRAIN_ENABLED AP_EXTERNAL_AHRS_MICROSTRAIN5_ENABLED
|
2023-04-24 06:54:51 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_EXTERNAL_AHRS_VECTORNAV_ENABLED
|
|
|
|
#define AP_EXTERNAL_AHRS_VECTORNAV_ENABLED AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|
2023-11-30 18:00:30 -04:00
|
|
|
|
|
|
|
#ifndef AP_EXTERNAL_AHRS_INERTIAL_LABS_ENABLED
|
|
|
|
#define AP_EXTERNAL_AHRS_INERTIAL_LABS_ENABLED AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
|
|
#endif
|