Closed jonathancurrie closed 7 years ago
Specify only one file in the command line and use includes inside the file.
Many thanks for the quick response. I can't find the syntax how to include a message definition in e.g. common.xml - any suggestions?
Annoying, sorry, found it.
Working, thank you!
I leave it here for reference:
<?xml version='1.0'?>
<mavlink>
<include>common.xml</include>
...
It seems if I call mavlinkgen with multiple definition files (e.g.
mavlinkgen common.xml mine.xml --output="test.cs"
) all I get is a test.cs with the message definition from the last definition file. Is there a way to merge all definitions into a single generated output?