Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
MAVlink/include/ardupilotmega/ardupilotmega.h@0:826c6171fc1b, 2012-06-20 (annotated)
- Committer:
- shimniok
- Date:
- Wed Jun 20 14:57:48 2012 +0000
- Revision:
- 0:826c6171fc1b
Updated documentation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 0:826c6171fc1b | 1 | /** @file |
shimniok | 0:826c6171fc1b | 2 | * @brief MAVLink comm protocol. |
shimniok | 0:826c6171fc1b | 3 | * @see http://qgroundcontrol.org/mavlink/ |
shimniok | 0:826c6171fc1b | 4 | * Generated on Saturday, August 13 2011, 08:44 UTC |
shimniok | 0:826c6171fc1b | 5 | */ |
shimniok | 0:826c6171fc1b | 6 | #ifndef ARDUPILOTMEGA_H |
shimniok | 0:826c6171fc1b | 7 | #define ARDUPILOTMEGA_H |
shimniok | 0:826c6171fc1b | 8 | |
shimniok | 0:826c6171fc1b | 9 | #ifdef __cplusplus |
shimniok | 0:826c6171fc1b | 10 | extern "C" { |
shimniok | 0:826c6171fc1b | 11 | #endif |
shimniok | 0:826c6171fc1b | 12 | |
shimniok | 0:826c6171fc1b | 13 | |
shimniok | 0:826c6171fc1b | 14 | #include "../protocol.h" |
shimniok | 0:826c6171fc1b | 15 | |
shimniok | 0:826c6171fc1b | 16 | #define MAVLINK_ENABLED_ARDUPILOTMEGA |
shimniok | 0:826c6171fc1b | 17 | |
shimniok | 0:826c6171fc1b | 18 | |
shimniok | 0:826c6171fc1b | 19 | #include "../common/common.h" |
shimniok | 0:826c6171fc1b | 20 | // MAVLINK VERSION |
shimniok | 0:826c6171fc1b | 21 | |
shimniok | 0:826c6171fc1b | 22 | #ifndef MAVLINK_VERSION |
shimniok | 0:826c6171fc1b | 23 | #define MAVLINK_VERSION 0 |
shimniok | 0:826c6171fc1b | 24 | #endif |
shimniok | 0:826c6171fc1b | 25 | |
shimniok | 0:826c6171fc1b | 26 | #if (MAVLINK_VERSION == 0) |
shimniok | 0:826c6171fc1b | 27 | #undef MAVLINK_VERSION |
shimniok | 0:826c6171fc1b | 28 | #define MAVLINK_VERSION 0 |
shimniok | 0:826c6171fc1b | 29 | #endif |
shimniok | 0:826c6171fc1b | 30 | |
shimniok | 0:826c6171fc1b | 31 | // ENUM DEFINITIONS |
shimniok | 0:826c6171fc1b | 32 | |
shimniok | 0:826c6171fc1b | 33 | |
shimniok | 0:826c6171fc1b | 34 | // MESSAGE DEFINITIONS |
shimniok | 0:826c6171fc1b | 35 | |
shimniok | 0:826c6171fc1b | 36 | #include "./mavlink_msg_sensor_offsets.h" |
shimniok | 0:826c6171fc1b | 37 | #include "./mavlink_msg_set_mag_offsets.h" |
shimniok | 0:826c6171fc1b | 38 | |
shimniok | 0:826c6171fc1b | 39 | |
shimniok | 0:826c6171fc1b | 40 | // MESSAGE LENGTHS |
shimniok | 0:826c6171fc1b | 41 | |
shimniok | 0:826c6171fc1b | 42 | #undef MAVLINK_MESSAGE_LENGTHS |
shimniok | 0:826c6171fc1b | 43 | #define MAVLINK_MESSAGE_LENGTHS { 3, 4, 8, 14, 8, 28, 3, 32, 0, 2, 3, 2, 2, 0, 0, 0, 0, 0, 0, 0, 19, 2, 23, 21, 0, 37, 26, 101, 26, 16, 32, 32, 37, 32, 11, 17, 17, 16, 18, 36, 4, 4, 2, 2, 4, 2, 2, 3, 14, 12, 18, 16, 8, 27, 25, 18, 18, 20, 20, 0, 0, 0, 26, 16, 36, 5, 6, 56, 26, 21, 18, 0, 0, 18, 20, 20, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 14, 14, 51 } |
shimniok | 0:826c6171fc1b | 44 | |
shimniok | 0:826c6171fc1b | 45 | #ifdef __cplusplus |
shimniok | 0:826c6171fc1b | 46 | } |
shimniok | 0:826c6171fc1b | 47 | #endif |
shimniok | 0:826c6171fc1b | 48 | #endif |