|
|
|
@ -69,6 +69,7 @@
@@ -69,6 +69,7 @@
|
|
|
|
|
#include <AP_Notify/AP_Notify.h> // Notify library |
|
|
|
|
#include <AP_BattMonitor/AP_BattMonitor.h> // Battery monitor library |
|
|
|
|
#include <AP_BoardConfig/AP_BoardConfig.h> // board configuration library |
|
|
|
|
#include <AP_BoardConfig/AP_BoardConfig_CAN.h> |
|
|
|
|
#include <AP_Terrain/AP_Terrain.h> |
|
|
|
|
#include <AP_JSButton/AP_JSButton.h> // Joystick/gamepad button function assignment |
|
|
|
|
#include <AP_LeakDetector/AP_LeakDetector.h> // Leak detector |
|
|
|
@ -251,6 +252,11 @@ private:
@@ -251,6 +252,11 @@ private:
|
|
|
|
|
// board specific config
|
|
|
|
|
AP_BoardConfig BoardConfig; |
|
|
|
|
|
|
|
|
|
#if HAL_WITH_UAVCAN |
|
|
|
|
// board specific config for CAN bus
|
|
|
|
|
AP_BoardConfig_CAN BoardConfig_CAN; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
// Failsafe
|
|
|
|
|
struct { |
|
|
|
|
uint8_t pilot_input : 1; // true if pilot input failsafe is active, handles things like joystick being disconnected during operation
|
|
|
|
|