danny wang 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 | 2 tahun lalu | |
---|---|---|
.. | ||
.gitignore | 2 tahun lalu | |
README.md | 2 tahun lalu | |
mavlink_udp.c | 2 tahun lalu |
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 1.0 of the MAVLink headers for this example, otherwise the ground control software may be unable to connect.
To run, type:
./mavlink_udp
If you run QGroundControl on the same machine, a MAV should pop up.