Class managing Plane Deepstall landing methods.
More...
#include <AP_Landing_Deepstall.h>
|
| AP_Landing_Deepstall (AP_Landing &_landing) |
|
void | do_land (const AP_Mission::Mission_Command &cmd, const float relative_altitude) |
|
void | verify_abort_landing (const Location &prev_WP_loc, Location &next_WP_loc, bool &throttle_suppressed) |
|
bool | verify_land (const Location &prev_WP_loc, Location &next_WP_loc, const Location ¤t_loc, const float height, const float sink_rate, const float wp_proportion, const uint32_t last_flying_ms, const bool is_armed, const bool is_flying, const bool rangefinder_state_in_range) |
|
void | setup_landing_glide_slope (const Location &prev_WP_loc, const Location &next_WP_loc, const Location ¤t_loc, int32_t &target_altitude_offset_cm) |
|
bool | override_servos (void) |
|
bool | request_go_around (void) |
|
bool | get_target_altitude_location (Location &location) |
|
int32_t | get_target_airspeed_cm (void) const |
|
bool | is_throttle_suppressed (void) const |
|
bool | is_flying_forward (void) const |
|
bool | is_on_approach (void) const |
|
bool | terminate (void) |
|
void | Log (void) const |
|
bool | send_deepstall_message (mavlink_channel_t chan) const |
|
const DataFlash_Class::PID_Info & | get_pid_info (void) const |
|
void | build_approach_path (bool use_current_heading) |
|
float | predict_travel_distance (const Vector3f wind, const float height, const bool print) |
|
bool | verify_breakout (const Location ¤t_loc, const Location &target_loc, const float height_error) const |
|
float | update_steering (void) |
|
Class managing Plane Deepstall landing methods.
Definition at line 30 of file AP_Landing_Deepstall.h.
◆ deepstall_stage
Enumerator |
---|
DEEPSTALL_STAGE_FLY_TO_LANDING | |
DEEPSTALL_STAGE_ESTIMATE_WIND | |
DEEPSTALL_STAGE_WAIT_FOR_BREAKOUT | |
DEEPSTALL_STAGE_FLY_TO_ARC | |
DEEPSTALL_STAGE_ARC | |
DEEPSTALL_STAGE_APPROACH | |
DEEPSTALL_STAGE_LAND | |
Definition at line 47 of file AP_Landing_Deepstall.h.
◆ AP_Landing_Deepstall()
AP_Landing_Deepstall::AP_Landing_Deepstall |
( |
AP_Landing & |
_landing | ) |
|
|
inlineprivate |
◆ build_approach_path()
void AP_Landing_Deepstall::build_approach_path |
( |
bool |
use_current_heading | ) |
|
|
private |
◆ do_land()
◆ get_pid_info()
◆ get_target_airspeed_cm()
int32_t AP_Landing_Deepstall::get_target_airspeed_cm |
( |
void |
| ) |
const |
|
private |
◆ get_target_altitude_location()
bool AP_Landing_Deepstall::get_target_altitude_location |
( |
Location & |
location | ) |
|
|
private |
◆ is_flying_forward()
bool AP_Landing_Deepstall::is_flying_forward |
( |
void |
| ) |
const |
|
private |
◆ is_on_approach()
bool AP_Landing_Deepstall::is_on_approach |
( |
void |
| ) |
const |
|
private |
◆ is_throttle_suppressed()
bool AP_Landing_Deepstall::is_throttle_suppressed |
( |
void |
| ) |
const |
|
private |
◆ Log()
void AP_Landing_Deepstall::Log |
( |
void |
| ) |
const |
|
private |
◆ override_servos()
bool AP_Landing_Deepstall::override_servos |
( |
void |
| ) |
|
|
private |
◆ predict_travel_distance()
float AP_Landing_Deepstall::predict_travel_distance |
( |
const Vector3f |
wind, |
|
|
const float |
height, |
|
|
const bool |
print |
|
) |
| |
|
private |
◆ request_go_around()
bool AP_Landing_Deepstall::request_go_around |
( |
void |
| ) |
|
|
private |
◆ send_deepstall_message()
bool AP_Landing_Deepstall::send_deepstall_message |
( |
mavlink_channel_t |
chan | ) |
const |
|
private |
◆ setup_landing_glide_slope()
void AP_Landing_Deepstall::setup_landing_glide_slope |
( |
const Location & |
prev_WP_loc, |
|
|
const Location & |
next_WP_loc, |
|
|
const Location & |
current_loc, |
|
|
int32_t & |
target_altitude_offset_cm |
|
) |
| |
|
private |
◆ terminate()
bool AP_Landing_Deepstall::terminate |
( |
void |
| ) |
|
|
private |
◆ update_steering()
float AP_Landing_Deepstall::update_steering |
( |
void |
| ) |
|
|
private |
◆ verify_abort_landing()
void AP_Landing_Deepstall::verify_abort_landing |
( |
const Location & |
prev_WP_loc, |
|
|
Location & |
next_WP_loc, |
|
|
bool & |
throttle_suppressed |
|
) |
| |
|
private |
◆ verify_breakout()
bool AP_Landing_Deepstall::verify_breakout |
( |
const Location & |
current_loc, |
|
|
const Location & |
target_loc, |
|
|
const float |
height_error |
|
) |
| const |
|
private |
◆ verify_land()
bool AP_Landing_Deepstall::verify_land |
( |
const Location & |
prev_WP_loc, |
|
|
Location & |
next_WP_loc, |
|
|
const Location & |
current_loc, |
|
|
const float |
height, |
|
|
const float |
sink_rate, |
|
|
const float |
wp_proportion, |
|
|
const uint32_t |
last_flying_ms, |
|
|
const bool |
is_armed, |
|
|
const bool |
is_flying, |
|
|
const bool |
rangefinder_state_in_range |
|
) |
| |
|
private |
◆ AP_Landing
◆ aileron_scalar
AP_Float AP_Landing_Deepstall::aileron_scalar |
|
private |
◆ approach_alt_offset
float AP_Landing_Deepstall::approach_alt_offset |
|
private |
◆ approach_extension
AP_Float AP_Landing_Deepstall::approach_extension |
|
private |
◆ arc
◆ arc_entry
Location AP_Landing_Deepstall::arc_entry |
|
private |
◆ arc_exit
◆ breakout_location
Location AP_Landing_Deepstall::breakout_location |
|
private |
◆ crosstrack_error
float AP_Landing_Deepstall::crosstrack_error |
|
private |
◆ down_speed
AP_Float AP_Landing_Deepstall::down_speed |
|
private |
◆ ds_PID
PID AP_Landing_Deepstall::ds_PID |
|
private |
◆ elevator_pwm
AP_Int16 AP_Landing_Deepstall::elevator_pwm |
|
private |
◆ extended_approach
Location AP_Landing_Deepstall::extended_approach |
|
private |
◆ forward_speed
AP_Float AP_Landing_Deepstall::forward_speed |
|
private |
◆ handoff_airspeed
AP_Float AP_Landing_Deepstall::handoff_airspeed |
|
private |
◆ handoff_lower_limit_airspeed
AP_Float AP_Landing_Deepstall::handoff_lower_limit_airspeed |
|
private |
◆ hold_level
bool AP_Landing_Deepstall::hold_level |
|
private |
◆ initial_elevator_pwm
uint16_t AP_Landing_Deepstall::initial_elevator_pwm |
|
private |
◆ L1_i
AP_Float AP_Landing_Deepstall::L1_i |
|
private |
◆ L1_period
AP_Float AP_Landing_Deepstall::L1_period |
|
private |
◆ L1_xtrack_i
float AP_Landing_Deepstall::L1_xtrack_i |
|
private |
◆ landing
◆ landing_point
Location AP_Landing_Deepstall::landing_point |
|
private |
◆ last_target_bearing
int32_t AP_Landing_Deepstall::last_target_bearing |
|
private |
◆ last_time
uint32_t AP_Landing_Deepstall::last_time |
|
private |
◆ loiter_sum_cd
int32_t AP_Landing_Deepstall::loiter_sum_cd |
|
private |
◆ min_abort_alt
AP_Float AP_Landing_Deepstall::min_abort_alt |
|
private |
◆ predicted_travel_distance
float AP_Landing_Deepstall::predicted_travel_distance |
|
private |
◆ slew_speed
AP_Float AP_Landing_Deepstall::slew_speed |
|
private |
◆ slope_a
AP_Float AP_Landing_Deepstall::slope_a |
|
private |
◆ slope_b
AP_Float AP_Landing_Deepstall::slope_b |
|
private |
◆ stage
◆ stall_entry_time
uint32_t AP_Landing_Deepstall::stall_entry_time |
|
private |
◆ target_heading_deg
float AP_Landing_Deepstall::target_heading_deg |
|
private |
◆ time_constant
AP_Float AP_Landing_Deepstall::time_constant |
|
private |
◆ var_info
◆ yaw_rate_limit
AP_Float AP_Landing_Deepstall::yaw_rate_limit |
|
private |
The documentation for this class was generated from the following files: