mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 00:48:30 -04:00
7c183f4ab3
* Implement filter state without relying on GPS * Implement health and initialization check based on filter state * Fix pre-arm checks missing version * Add version specifics to microstrain 5 log msgs * Add utilities to microstrain packet to remove magic number array access Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
28 lines
805 B
C
28 lines
805 B
C
#pragma once
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
#ifndef HAL_EXTERNAL_AHRS_ENABLED
|
|
#define HAL_EXTERNAL_AHRS_ENABLED BOARD_FLASH_SIZE > 1024
|
|
#endif
|
|
|
|
#ifndef AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
#define AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED HAL_EXTERNAL_AHRS_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_EXTERNAL_AHRS_MICROSTRAIN5_ENABLED
|
|
#define AP_EXTERNAL_AHRS_MICROSTRAIN5_ENABLED AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_EXTERNAL_AHRS_MICROSTRAIN7_ENABLED
|
|
#define AP_EXTERNAL_AHRS_MICROSTRAIN7_ENABLED AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_MICROSTRAIN_ENABLED
|
|
#define AP_MICROSTRAIN_ENABLED AP_EXTERNAL_AHRS_MICROSTRAIN5_ENABLED
|
|
#endif
|
|
|
|
#ifndef AP_EXTERNAL_AHRS_VECTORNAV_ENABLED
|
|
#define AP_EXTERNAL_AHRS_VECTORNAV_ENABLED AP_EXTERNAL_AHRS_BACKEND_DEFAULT_ENABLED
|
|
#endif
|