Plane: rely on AP_Mission to emit GCS text

This commit is contained in:
Peter Barker 2017-11-27 13:13:49 +11:00 committed by Andrew Tridgell
parent 30d2a2a4fd
commit 29258f6752
1 changed files with 0 additions and 4 deletions

View File

@ -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) {