mirror of https://github.com/ArduPilot/ardupilot
Plane: rely on AP_Mission to emit GCS text
This commit is contained in:
parent
30d2a2a4fd
commit
29258f6752
|
@ -34,10 +34,6 @@ bool Plane::start_command(const AP_Mission::Mission_Command& cmd)
|
|||
const uint16_t next_index = mission.get_current_nav_index() + 1;
|
||||
auto_state.wp_is_land_approach = mission.get_next_nav_cmd(next_index, next_nav_cmd) && (next_nav_cmd.id == MAV_CMD_NAV_LAND) &&
|
||||
!quadplane.is_vtol_land(next_nav_cmd.id);
|
||||
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Executing nav command ID #%i",cmd.id);
|
||||
} else {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "Executing command ID #%i",cmd.id);
|
||||
}
|
||||
|
||||
switch(cmd.id) {
|
||||
|
|
Loading…
Reference in New Issue