Noticed the following discrepancy during my tests to the mavlink router code on AlceOSD:
When requesting the mission list, some of the GCS out there (qGroundStation and APMPlanner) send the cmd message to:
Target: <uav_sysid>, MAV_COMP_ID_MISSIONPLANNER
(as seen at:
https://github.com/mavlink/qgroundcontrol/blob/master/src/comm/MockLinkMissionItemHandler.cc#L112)
Ardupilot then answers the command by replying with a message with:
Source: <uav_sysid>, 1
But MissionPlanner does this differently (which seems right for me):
It sends the command targeting (uav_sysid, uav_compid).
So my question is: What is supposed the MAV_COMP_ID_MISSIONPLANNER be used for?
In my perspective, it's supposed to be used only by MissionPlanner (the GCS).