APM:Libraries
|
Go to the source code of this file.
Classes | |
class | AP_Avoidance |
class | AP_Avoidance::Obstacle |
Macros | |
#define | AP_AVOIDANCE_RECOVERY_REMAIN_IN_AVOID_ADSB 0 |
#define | AP_AVOIDANCE_RECOVERY_RESUME_PREVIOUS_FLIGHTMODE 1 |
#define | AP_AVOIDANCE_RECOVERY_RTL 2 |
#define | AP_AVOIDANCE_RECOVERY_RESUME_IF_AUTO_ELSE_LOITER 3 |
#define | AP_AVOIDANCE_STATE_RECOVERY_TIME_MS 2000 |
#define | AP_AVOIDANCE_ESCAPE_TIME_SEC 2 |
Functions | |
float | closest_distance_between_radial_and_point (const Vector2f &w, const Vector2f &p) |
float | closest_approach_xy (const Location &my_loc, const Vector3f &my_vel, const Location &obstacle_loc, const Vector3f &obstacle_vel, uint8_t time_horizon) |
float | closest_approach_z (const Location &my_loc, const Vector3f &my_vel, const Location &obstacle_loc, const Vector3f &obstacle_vel, uint8_t time_horizon) |
#define AP_AVOIDANCE_ESCAPE_TIME_SEC 2 |
Definition at line 39 of file AP_Avoidance.h.
#define AP_AVOIDANCE_RECOVERY_REMAIN_IN_AVOID_ADSB 0 |
Definition at line 32 of file AP_Avoidance.h.
#define AP_AVOIDANCE_RECOVERY_RESUME_IF_AUTO_ELSE_LOITER 3 |
Definition at line 35 of file AP_Avoidance.h.
#define AP_AVOIDANCE_RECOVERY_RESUME_PREVIOUS_FLIGHTMODE 1 |
Definition at line 33 of file AP_Avoidance.h.
#define AP_AVOIDANCE_RECOVERY_RTL 2 |
Definition at line 34 of file AP_Avoidance.h.
Referenced by AP_Avoidance::deinit().
#define AP_AVOIDANCE_STATE_RECOVERY_TIME_MS 2000 |
Definition at line 37 of file AP_Avoidance.h.
Referenced by AP_Avoidance::handle_avoidance_local().
float closest_approach_xy | ( | const Location & | my_loc, |
const Vector3f & | my_vel, | ||
const Location & | obstacle_loc, | ||
const Vector3f & | obstacle_vel, | ||
uint8_t | time_horizon | ||
) |
Definition at line 275 of file AP_Avoidance.cpp.
Referenced by AP_Avoidance::update_threat_level().
float closest_approach_z | ( | const Location & | my_loc, |
const Vector3f & | my_vel, | ||
const Location & | obstacle_loc, | ||
const Vector3f & | obstacle_vel, | ||
uint8_t | time_horizon | ||
) |
Definition at line 301 of file AP_Avoidance.cpp.
Referenced by AP_Avoidance::update_threat_level().