Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
pixhawk.h
00001 /** @file 00002 * @brief MAVLink comm protocol. 00003 * @see http://qgroundcontrol.org/mavlink/ 00004 * Generated on Sunday, September 11 2011, 13:52 UTC 00005 */ 00006 #ifndef PIXHAWK_H 00007 #define PIXHAWK_H 00008 00009 #ifdef __cplusplus 00010 extern "C" { 00011 #endif 00012 00013 00014 #include "../protocol.h" 00015 00016 #define MAVLINK_ENABLED_PIXHAWK 00017 00018 00019 #include "../common/common.h" 00020 // MAVLINK VERSION 00021 00022 #ifndef MAVLINK_VERSION 00023 #define MAVLINK_VERSION 0 00024 #endif 00025 00026 #if (MAVLINK_VERSION == 0) 00027 #undef MAVLINK_VERSION 00028 #define MAVLINK_VERSION 0 00029 #endif 00030 00031 // ENUM DEFINITIONS 00032 00033 /** @brief Content Types for data transmission handshake */ 00034 enum DATA_TYPES 00035 { 00036 DATA_TYPE_JPEG_IMAGE=1, 00037 DATA_TYPE_RAW_IMAGE=2, 00038 DATA_TYPE_KINECT=3, 00039 DATA_TYPES_ENUM_END 00040 }; 00041 00042 00043 // MESSAGE DEFINITIONS 00044 00045 #include "./mavlink_msg_attitude_control.h" 00046 #include "./mavlink_msg_set_cam_shutter.h" 00047 #include "./mavlink_msg_image_triggered.h" 00048 #include "./mavlink_msg_image_trigger_control.h" 00049 #include "./mavlink_msg_image_available.h" 00050 #include "./mavlink_msg_vision_position_estimate.h" 00051 #include "./mavlink_msg_global_vision_position_estimate.h" 00052 #include "./mavlink_msg_vicon_position_estimate.h" 00053 #include "./mavlink_msg_vision_speed_estimate.h" 00054 #include "./mavlink_msg_position_control_setpoint_set.h" 00055 #include "./mavlink_msg_position_control_offset_set.h" 00056 #include "./mavlink_msg_position_control_setpoint.h" 00057 #include "./mavlink_msg_marker.h" 00058 #include "./mavlink_msg_raw_aux.h" 00059 #include "./mavlink_msg_aux_status.h" 00060 #include "./mavlink_msg_watchdog_heartbeat.h" 00061 #include "./mavlink_msg_watchdog_process_info.h" 00062 #include "./mavlink_msg_watchdog_process_status.h" 00063 #include "./mavlink_msg_watchdog_command.h" 00064 #include "./mavlink_msg_pattern_detected.h" 00065 #include "./mavlink_msg_point_of_interest.h" 00066 #include "./mavlink_msg_point_of_interest_connection.h" 00067 #include "./mavlink_msg_data_transmission_handshake.h" 00068 #include "./mavlink_msg_encapsulated_data.h" 00069 #include "./mavlink_msg_brief_feature.h" 00070 #include "./mavlink_msg_visual_odometry.h" 00071 00072 00073 // MESSAGE LENGTHS 00074 00075 #undef MAVLINK_MESSAGE_LENGTHS 00076 #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, 24, 24, 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, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 52, 1, 92, 0, 0, 0, 0, 0, 0, 0, 32, 32, 20, 32, 0, 0, 0, 0, 0, 20, 18, 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 16, 12, 0, 0, 0, 0, 0, 0, 0, 4, 255, 12, 6, 18, 0, 0, 0, 0, 0, 106, 42, 54, 0, 0, 0, 0, 0, 0, 0, 8, 255, 53, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 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 } 00077 00078 #ifdef __cplusplus 00079 } 00080 #endif 00081 #endif
Generated on Tue Jul 12 2022 14:09:27 by 1.7.2