mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
APMrover2: simply invalid cmd msg
This commit is contained in:
parent
04ee4141e0
commit
c08584d219
@ -192,11 +192,7 @@ bool Rover::verify_command(const AP_Mission::Mission_Command& cmd)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
// error message
|
// error message
|
||||||
if (AP_Mission::is_nav_cmd(cmd)) {
|
gcs_send_text_fmt(MAV_SEVERITY_WARNING,"Skipping invalid cmd #%i",cmd.id);
|
||||||
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");
|
|
||||||
}
|
|
||||||
// return true if we do not recognize the command so that we move on to the next command
|
// return true if we do not recognize the command so that we move on to the next command
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user