rust-mavlink icon indicating copy to clipboard operation
rust-mavlink copied to clipboard

MavFrame serialize into a vector with wrong fields order

Open qwerty19106 opened this issue 2 years ago • 0 comments

True fields order for Mavlink Serialization:

  • magic (start)
  • len
  • ... (V2 fields)
  • sequence
  • system_id
  • component_id
  • message_id
  • payload
  • checksum

Now (MavFrame::ser method):

  • system_id
  • component_id
  • sequence
  • message_id
  • payload

In addition, MavFrame::ser and MavFrame::deser methods are not used in the MavConnection implementors as expected.

qwerty19106 avatar Nov 25 '22 15:11 qwerty19106