You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paweł Spychalski
92fb08f6ca
|
3 years ago | |
---|---|---|
.. | ||
common | 4 years ago | |
minimal | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
checksum.h | 4 years ago | |
generate.bat | 4 years ago | |
generate.sh | 4 years ago | |
mavlink_conversions.h | 4 years ago | |
mavlink_get_info.h | 4 years ago | |
mavlink_helpers.h | 4 years ago | |
mavlink_sha256.h | 4 years ago | |
mavlink_types.h | 4 years ago | |
protocol.h | 4 years ago |
README.md
MAVLink Generator (mavgen
)
This directory contains the MAVLink library and scripts to automatically generate it from MAVLink definitions.
In order to run it, you will need Python and some other libraries installed.
Then, run the appropriate script (generate.sh
for Linux, generate.bat
for Windows) to automatically re-generate the library.
IMPORTANT NOTE
By default, the MAVLink library declares all of its functions as inline
, which results in common functions being duplicated many times.
After generating the library, protocol.h
must be modified, and all inline
keywords removed.
This is performed automatically by generate.sh
, but not by generate.bat
as Windows batch files do not have an equivalent to sed
. So, this must be done manually on Windows.