mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Plane: print start of land approach
This commit is contained in:
parent
ef56d952cd
commit
4c1a70eb66
@ -768,6 +768,7 @@ void Plane::set_flight_stage(AP_SpdHgtControl::FlightStage fs)
|
|||||||
|
|
||||||
switch (fs) {
|
switch (fs) {
|
||||||
case AP_SpdHgtControl::FLIGHT_LAND_APPROACH:
|
case AP_SpdHgtControl::FLIGHT_LAND_APPROACH:
|
||||||
|
gcs_send_text_fmt(MAV_SEVERITY_INFO, "Landing approach start at %.1fm", (double)relative_altitude());
|
||||||
#if GEOFENCE_ENABLED == ENABLED
|
#if GEOFENCE_ENABLED == ENABLED
|
||||||
if (g.fence_autoenable == 1) {
|
if (g.fence_autoenable == 1) {
|
||||||
if (! geofence_set_enabled(false, AUTO_TOGGLED)) {
|
if (! geofence_set_enabled(false, AUTO_TOGGLED)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user