Skip to content

Commit

Permalink
Update mavlink.py
Browse files Browse the repository at this point in the history
Fixed bug #569 from mavros. Fixed another bug in the building of the ros mavlink message- the seq field was not added to the ros mavlink message.
  • Loading branch information
danielkalmanson authored and vooon committed May 16, 2024
1 parent 48b53cc commit ed35d19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mavros/mavros/mavlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,13 @@ def convert_to_rosmsg(
len=hdr.mlen,
incompat_flags=hdr.incompat_flags,
compat_flags=hdr.compat_flags,
seq=mavmsg.get_seq(),
sysid=hdr.srcSystem,
compid=hdr.srcComponent,
msgid=hdr.msgId,
checksum=mavmsg.get_crc(),
payload64=convert_to_payload64(mavmsg.get_payload()),
signature=None, # FIXME #569
signature=[],
)

else:
Expand Down

0 comments on commit ed35d19

Please sign in to comment.