I'm writing a Java implementation of MAVlink for an Android GCS but I'm having trouble with sending messages.  Looking in the MAVlink code, I noticed that the structure of the message is different depending on MAVLINK_NEED_BYTE_SWAP.  I have no idea where this is coming from.  I had been using the message structure defined here (https://pixhawk.ethz.ch/mavlink/) but it looks like those are only accurate if MAVLINK_NEED_BYTE_SWAP evaluates to false.

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

Join diydrones

Email me when people reply –

Replies

  • Possibly this is to cater for the difference in byte endianess between Mavlink v1.x and v0.9?

This reply was deleted.

Activity

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