Commit 3d42c3a7 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4897 from DonLakeFlyer/MavlinkUpdate

Mavlink submodule update
parents 1baa72ac 4860591d
Subproject commit b5aaac46c4819bab0f80d4d071ae9a8fec439676
Subproject commit fb411385d5f00300ab5d04c5adb08e7e17670d58
......@@ -110,10 +110,11 @@ void MockLinkMissionItemHandler::_handleMissionRequestList(const mavlink_message
mavlink_msg_mission_count_pack_chan(_mockLink->vehicleId(),
MAV_COMP_ID_MISSIONPLANNER,
_mockLink->mavlinkChannel(),
&responseMsg, // Outgoing message
msg.sysid, // Target is original sender
msg.compid, // Target is original sender
itemCount); // Number of mission items
&responseMsg, // Outgoing message
msg.sysid, // Target is original sender
msg.compid, // Target is original sender
itemCount, // Number of mission items
MAV_MISSION_TYPE_MISSION);
_mockLink->respondWithMavlinkMessage(responseMsg);
}
}
......@@ -175,7 +176,8 @@ void MockLinkMissionItemHandler::_handleMissionRequest(const mavlink_message_t&
item.current,
item.autocontinue,
item.param1, item.param2, item.param3, item.param4,
item.x, item.y, item.z);
item.x, item.y, item.z,
MAV_MISSION_TYPE_MISSION);
_mockLink->respondWithMavlinkMessage(responseMsg);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment