Skip to content

Files

Latest commit

a6ac0e9 · Mar 14, 2022

History

History
This branch is 767 commits ahead of, 1255 commits behind mavlink/mavlink:master.

linux

MAVLink UDP Quickstart Instructions

MAVLink UDP Example for *nix system (Linux, MacOS, BSD, etc.)

To compile with GCC, just enter:

gcc -std=c99 -I ../../include/common -o mavlink_udp mavlink_udp.c

The MAVLink header directory must be added to the include path, as shown above. Be sure to use version 2.0 of the MAVLink headers for this example as the example uses MAVLink 2 extension fields.

To run, type:

./mavlink_udp

If you run QGroundControl on the same machine, checkout received message in MAVLink Inspector widget.