Skip to content

Commit

Permalink
core: add note about wrong sequence number
Browse files Browse the repository at this point in the history
If we pack a message and don't actually send it, we increase the
sequence number. This will mess with message delivery stats.
  • Loading branch information
julianoes committed Aug 5, 2021
1 parent 414c758 commit 0186dae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/mavlink_mission_transfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ void MAVLinkMissionTransfer::UploadWorkItem::process_mission_request(
mavlink_mission_request_t request;
mavlink_msg_mission_request_decode(&request_message, &request);

// FIXME: this will mess with the sequence number.
mavlink_message_t request_int_message;
mavlink_msg_mission_request_int_pack(
request_message.sysid,
Expand Down

0 comments on commit 0186dae

Please sign in to comment.