Fork from inav at github. Modified for some special functions needs.
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.

13 lines
842 B

  1. # MAVLink Generator (`mavgen`)
  2. This directory contains the MAVLink library and scripts to automatically generate it from MAVLink definitions.
  3. In order to run it, you will need [Python and some other libraries installed](https://mavlink.io/en/getting_started/installation.html).
  4. Then, run the appropriate script (`generate.sh` for Linux, `generate.bat` for Windows) to automatically re-generate the library.
  5. ## IMPORTANT NOTE
  6. By default, the MAVLink library declares all of its functions as `inline`, which results in common functions being duplicated many times.
  7. After generating the library, `protocol.h` must be modified, and all `inline` keywords removed.
  8. 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.