intel / mavlink-vehicles

A Mavlink wrapper dedicated to the most common messages that are exchanged between an air vehicle and a ground station
Apache License 2.0
6 stars 9 forks source link

mavlink bundling vs installed #43

Closed lucasdemarchi closed 7 years ago

lucasdemarchi commented 7 years ago

On several systems it's not expected to have mavlink libraries installed. Particularly because of the way it's structured, having different code generated depending on the flight stack it's used. Another approach is to bundle the header-only library. This is the approach used by ardupilot, mavlink-router and PX4 (although PX4 pre-generates it, probably due to the GPL requirement).

See the approach in mavlink-router: https://github.com/01org/mavlink-router/blob/master/Makefile.am#L22-L27

guiccbr commented 7 years ago

Thanks, @lucasdemarchi. We were actually using that other approach some time ago, as you can see in here. Can you please take a look at it and see if that's ok before we roll back?

mbelluzzo commented 7 years ago

It doesnt need to be "installed", you just have provide a path to where it is.

mbelluzzo commented 7 years ago

47