APM:Libraries
Classes | Macros
AC_Avoid.h File Reference
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
#include <AP_AHRS/AP_AHRS.h>
#include <AC_AttitudeControl/AC_AttitudeControl.h>
#include <AC_Fence/AC_Fence.h>
#include <AP_Proximity/AP_Proximity.h>
#include <AP_Beacon/AP_Beacon.h>
Include dependency graph for AC_Avoid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AC_Avoid
 

Macros

#define AC_AVOID_ACCEL_CMSS_MAX   100.0f
 
#define AC_AVOID_DISABLED   0
 
#define AC_AVOID_STOP_AT_FENCE   1
 
#define AC_AVOID_USE_PROXIMITY_SENSOR   2
 
#define AC_AVOID_STOP_AT_BEACON_FENCE   4
 
#define AC_AVOID_DEFAULT   (AC_AVOID_STOP_AT_FENCE | AC_AVOID_USE_PROXIMITY_SENSOR)
 
#define AC_AVOID_NONGPS_DIST_MAX_DEFAULT   5.0f
 
#define AC_AVOID_ANGLE_MAX_PERCENT   0.75f
 

Macro Definition Documentation

◆ AC_AVOID_ACCEL_CMSS_MAX

#define AC_AVOID_ACCEL_CMSS_MAX   100.0f

Definition at line 12 of file AC_Avoid.h.

Referenced by AC_Avoid::adjust_velocity(), and AC_Avoid::adjust_velocity_z().

◆ AC_AVOID_ANGLE_MAX_PERCENT

#define AC_AVOID_ANGLE_MAX_PERCENT   0.75f

Definition at line 23 of file AC_Avoid.h.

Referenced by AC_Avoid::adjust_roll_pitch().

◆ AC_AVOID_DEFAULT

#define AC_AVOID_DEFAULT   (AC_AVOID_STOP_AT_FENCE | AC_AVOID_USE_PROXIMITY_SENSOR)

Definition at line 19 of file AC_Avoid.h.

◆ AC_AVOID_DISABLED

#define AC_AVOID_DISABLED   0

Definition at line 15 of file AC_Avoid.h.

Referenced by AC_Avoid::adjust_velocity(), and AC_Avoid::adjust_velocity_z().

◆ AC_AVOID_NONGPS_DIST_MAX_DEFAULT

#define AC_AVOID_NONGPS_DIST_MAX_DEFAULT   5.0f

Definition at line 22 of file AC_Avoid.h.

◆ AC_AVOID_STOP_AT_BEACON_FENCE

#define AC_AVOID_STOP_AT_BEACON_FENCE   4

Definition at line 18 of file AC_Avoid.h.

Referenced by AC_Avoid::adjust_velocity().

◆ AC_AVOID_STOP_AT_FENCE

#define AC_AVOID_STOP_AT_FENCE   1

Definition at line 16 of file AC_Avoid.h.

Referenced by AC_Avoid::adjust_velocity(), and AC_Avoid::adjust_velocity_z().

◆ AC_AVOID_USE_PROXIMITY_SENSOR

#define AC_AVOID_USE_PROXIMITY_SENSOR   2

Definition at line 17 of file AC_Avoid.h.

Referenced by AC_Avoid::adjust_roll_pitch(), and AC_Avoid::adjust_velocity().