Arduplane: simply invalid cmd msg

This commit is contained in:
Pierre Kancir 2016-09-27 11:01:35 +02:00 committed by Tom Pittenger
parent 6f79a8c37c
commit 64a2fca812
1 changed files with 1 additions and 5 deletions

View File

@ -322,11 +322,7 @@ bool Plane::verify_command(const AP_Mission::Mission_Command& cmd) // Ret
default:
// error message
if (AP_Mission::is_nav_cmd(cmd)) {
gcs_send_text(MAV_SEVERITY_WARNING,"Verify nav. Invalid or no current nav cmd");
}else{
gcs_send_text(MAV_SEVERITY_WARNING,"Verify condition. Invalid or no current condition cmd");
}
gcs_send_text_fmt(MAV_SEVERITY_WARNING,"Skipping invalid cmd #%i",cmd.id);
// return true if we do not recognize the command so that we move on to the next command
return true;
}