This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************************************************************************* | |
| Copyright (C) 2010 Bryan Godbolt godbolt ( a t ) ualberta.ca | |
| ****************************************************************************/ | |
| /* | |
| This program sends some data to qgroundcontrol using the mavlink protocol. The sent packets | |
| cause qgroundcontrol to respond with heartbeats. Any settings or custom commands sent from | |
| qgroundcontrol are printed by this program along with the heartbeats. | |
| I compiled this program successfully on Ubuntu 10.04 with the following command | |
| gcc -I ../../pixhawk/mavlink/include -o udp-server udp-server-test.c | |
| To compile on Windows, run: |