mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
GCS_MAVLink: libraries_Text_revision
text revision of messages
This commit is contained in:
parent
f02e13b107
commit
5e290daac5
@ -394,7 +394,7 @@ void GCS_MAVLINK::handle_mission_write_partial_list(AP_Mission &mission, mavlink
|
|||||||
if ((unsigned)packet.start_index > mission.num_commands() ||
|
if ((unsigned)packet.start_index > mission.num_commands() ||
|
||||||
(unsigned)packet.end_index > mission.num_commands() ||
|
(unsigned)packet.end_index > mission.num_commands() ||
|
||||||
packet.end_index < packet.start_index) {
|
packet.end_index < packet.start_index) {
|
||||||
send_text(MAV_SEVERITY_WARNING,"flight plan update rejected");
|
send_text(MAV_SEVERITY_WARNING,"Flight plan update rejected");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -735,7 +735,7 @@ bool GCS_MAVLINK::handle_mission_item(mavlink_message_t *msg, AP_Mission &missio
|
|||||||
msg->compid,
|
msg->compid,
|
||||||
MAV_MISSION_ACCEPTED);
|
MAV_MISSION_ACCEPTED);
|
||||||
|
|
||||||
send_text(MAV_SEVERITY_INFO,"flight plan received");
|
send_text(MAV_SEVERITY_INFO,"Flight plan received");
|
||||||
waypoint_receiving = false;
|
waypoint_receiving = false;
|
||||||
mission_is_complete = true;
|
mission_is_complete = true;
|
||||||
// XXX ignores waypoint radius for individual waypoints, can
|
// XXX ignores waypoint radius for individual waypoints, can
|
||||||
|
Loading…
Reference in New Issue
Block a user