#include <avoidance_adsb.h>
|
| AP_Avoidance_Copter (AP_AHRS &ahrs, class AP_ADSB &adsb) |
|
| AP_Avoidance_Copter (const AP_Avoidance_Copter &other)=delete |
|
AP_Avoidance_Copter & | operator= (const AP_Avoidance_Copter &)=delete |
|
void | add_obstacle (uint32_t obstacle_timestamp_ms, const MAV_COLLISION_SRC src, uint32_t src_id, const Location &loc, const Vector3f &vel_ned) |
|
void | add_obstacle (uint32_t obstacle_timestamp_ms, const MAV_COLLISION_SRC src, uint32_t src_id, const Location &loc, float cog, float hspeed, float vspeed) |
|
void | update () |
|
void | enable () |
|
void | disable () |
|
MAV_COLLISION_THREAT_LEVEL | current_threat_level () const |
|
void | handle_msg (const mavlink_message_t &msg) |
|
|
MAV_COLLISION_ACTION | handle_avoidance (const AP_Avoidance::Obstacle *obstacle, MAV_COLLISION_ACTION requested_action) override |
|
void | handle_recovery (uint8_t recovery_action) override |
|
bool | check_flightmode (bool allow_mode_change) |
|
bool | handle_avoidance_vertical (const AP_Avoidance::Obstacle *obstacle, bool allow_mode_change) |
|
bool | handle_avoidance_horizontal (const AP_Avoidance::Obstacle *obstacle, bool allow_mode_change) |
|
bool | handle_avoidance_perpendicular (const AP_Avoidance::Obstacle *obstacle, bool allow_mode_change) |
|
| AP_Avoidance (AP_AHRS &ahrs, class AP_ADSB &adsb) |
|
void | handle_avoidance_local (AP_Avoidance::Obstacle *threat) |
|
void | handle_threat_gcs_notify (AP_Avoidance::Obstacle *threat) |
|
AP_Avoidance::Obstacle * | most_serious_threat () |
|
MAV_COLLISION_ACTION | mav_avoidance_action () |
|
bool | get_destination_perpendicular (const AP_Avoidance::Obstacle *obstacle, Vector3f &newdest_neu, const float wp_speed_xy, const float wp_speed_z, const uint8_t _minimum_avoid_height) |
|
bool | get_vector_perpendicular (const AP_Avoidance::Obstacle *obstacle, Vector3f &vec_neu) |
|
Definition at line 9 of file avoidance_adsb.h.
◆ AP_Avoidance_Copter() [1/2]
AP_Avoidance_Copter::AP_Avoidance_Copter |
( |
AP_AHRS & |
ahrs, |
|
|
class AP_ADSB & |
adsb |
|
) |
| |
|
inline |
◆ AP_Avoidance_Copter() [2/2]
◆ check_flightmode()
bool AP_Avoidance_Copter::check_flightmode |
( |
bool |
allow_mode_change | ) |
|
|
protected |
◆ handle_avoidance()
MAV_COLLISION_ACTION AP_Avoidance_Copter::handle_avoidance |
( |
const AP_Avoidance::Obstacle * |
obstacle, |
|
|
MAV_COLLISION_ACTION |
requested_action |
|
) |
| |
|
overrideprotectedvirtual |
◆ handle_avoidance_horizontal()
bool AP_Avoidance_Copter::handle_avoidance_horizontal |
( |
const AP_Avoidance::Obstacle * |
obstacle, |
|
|
bool |
allow_mode_change |
|
) |
| |
|
protected |
◆ handle_avoidance_perpendicular()
bool AP_Avoidance_Copter::handle_avoidance_perpendicular |
( |
const AP_Avoidance::Obstacle * |
obstacle, |
|
|
bool |
allow_mode_change |
|
) |
| |
|
protected |
◆ handle_avoidance_vertical()
bool AP_Avoidance_Copter::handle_avoidance_vertical |
( |
const AP_Avoidance::Obstacle * |
obstacle, |
|
|
bool |
allow_mode_change |
|
) |
| |
|
protected |
◆ handle_recovery()
void AP_Avoidance_Copter::handle_recovery |
( |
uint8_t |
recovery_action | ) |
|
|
overrideprotectedvirtual |
◆ operator=()
◆ set_mode_else_try_RTL_else_LAND()
void AP_Avoidance_Copter::set_mode_else_try_RTL_else_LAND |
( |
control_mode_t |
mode | ) |
|
|
private |
◆ prev_control_mode
The documentation for this class was generated from the following files: