mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_Landing: add is_complete() accessor
This commit is contained in:
parent
4b683edac9
commit
3e2098192b
@ -91,9 +91,11 @@ public:
|
||||
int8_t get_flap_percent(void) const { return flap_percent; }
|
||||
int8_t get_throttle_slewrate(void) const { return throttle_slewrate; }
|
||||
bool is_commanded_go_around(void) const { return commanded_go_around; }
|
||||
bool is_complete(void) const { return complete; }
|
||||
void set_initial_slope() { initial_slope = slope; }
|
||||
|
||||
|
||||
|
||||
// Flag to indicate if we have landed.
|
||||
// Set land_complete if we are within 2 seconds distance or within 3 meters altitude of touchdown
|
||||
bool complete;
|
||||
|
Loading…
Reference in New Issue
Block a user