Hi,

I have a question about the generation of MAVLink messages.

I am constructing my own MAVLink messages, in hex format.

The seq number has a range from 0 to 255 (00-FF), but what happens is the seq number reaches the max amount of 255? Does is start over from 0?

Another question has to do with the crc. I'am able to calculate the correct crc value for my own messages, based on the correct fields and magic, but sometimes I get an odd-length crc. My question, does mavlink allow padding to make the crc an odd-length hex number, by adding zeros ahead? For the script I am writing, I need every value in every field to be of even length.

Kind regards,

Karel

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…