MAVLink v2.0 headers compiler issue

Hello,

I have been merging a branch into the latest master of PX4. It seems like the master has moved to mavlink v2.0. I created a custom dialect and generated the headers, made the necessary changes for the custom headers to be used. I am running into compiler issues while doing a make posix_sitl_default jmavsim 

error: braces around scalar initializer for type ‘const uint8_t {aka const unsigned char}’

I tried define MAVLINK_THIS_XML_IDX 1 , but it doesn't make any difference.

How could I fix this? Also, I would need to make some changes to qGround control code later. Does it support mavllink v2.0 messages?

Thanx in advance :)

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

Join diydrones

Email me when people reply –

Activity