5 #if AC_FENCE == ENABLED 47 }
else if (orig_breaches) {
58 uint8_t mavlink_breach_type = FENCE_BREACH_NONE;
61 mavlink_breach_type = FENCE_BREACH_MAXALT;
64 mavlink_breach_type = FENCE_BREACH_BOUNDARY;
68 mavlink_msg_fence_status_send(chan,
#define ERROR_SUBSYSTEM_FAILSAFE_FENCE
#define AC_FENCE_ACTION_REPORT_ONLY
#define AC_FENCE_TYPE_CIRCLE
uint8_t get_breaches() const
float get_breach_distance(uint8_t fence_type) const
uint16_t get_breach_count() const
void Log_Write_Error(uint8_t sub_system, uint8_t error_code)
uint8_t get_action() const
bool set_mode(control_mode_t mode, mode_reason_t reason)
void fence_send_mavlink_status(mavlink_channel_t chan)
struct Copter::@2 failsafe
void init_disarm_motors()
virtual bool has_manual_throttle() const =0
#define AC_FENCE_TYPE_POLYGON
#define ERROR_CODE_ERROR_RESOLVED
#define AC_FENCE_GIVE_UP_DISTANCE
uint32_t get_breach_time() const
#define AC_FENCE_TYPE_ALT_MAX