mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
GCS_MAVLink: fill missing seq and type fields in MISSION_ITEM
GCS_MAVLink: fill mission type in return MISSION_ITEM packets GCS_MAVLink: fill in return sequence number for MISSION_ITEM messages
This commit is contained in:
parent
16503f7f25
commit
8fc6e16a4a
@ -136,6 +136,8 @@ void MissionItemProtocol::handle_mission_request(const GCS_MAVLINK &_link,
|
||||
mavlink_mission_item_int_t item_int{};
|
||||
item_int.target_system = msg.sysid;
|
||||
item_int.target_component = msg.compid;
|
||||
item_int.mission_type = packet.mission_type;
|
||||
item_int.seq = packet.seq;
|
||||
|
||||
MAV_MISSION_RESULT ret = get_item(_link, msg, request_int, item_int);
|
||||
if (ret != MAV_MISSION_ACCEPTED) {
|
||||
|
Loading…
Reference in New Issue
Block a user