Defines | Functions | Variables
comm_packets.h File Reference
#include <inttypes.h>
#include "mav_common/comm_types.h"
Include dependency graph for comm_packets.h:

Go to the source code of this file.

Defines

#define MAV_ACK_PKT_ID   0x00
#define MAV_CTRL_CFG_PKT_ID   0x01
#define MAV_CTRL_DEBUG_PKT_ID   0x12
#define MAV_CTRL_INPUT_PKT_ID   0x0F
#define MAV_DES_POSE_PKT_ID   0x10
#define MAV_DES_VEL_PKT_ID   0x11
#define MAV_DUMMY_PKT_ID   0x04
#define MAV_FLIGHT_ACTION_PKT_ID   0x08
#define MAV_FLIGHT_STATE_PKT_ID   0x09
#define MAV_HEIGHT_PKT_ID   0x06
#define MAV_IMU_PKT_ID   0x0A
#define MAV_KF_CFG_PKT_ID   0x03
#define MAV_PID_CFG_PKT_ID   0x02
#define MAV_POSE2D_PKT_ID   0x05
#define MAV_POSE_PKT_ID   0x07
#define MAV_RCDATA_PKT_ID   0x0B
#define MAV_STATUS_PKT_ID   0x0D
#define MAV_TIMESYNC_PKT_ID   0x0C
#define MAV_TX_FREQ_CFG_PKT_ID   0x0E

Functions

struct __attribute__ ((packed))
 define at which frequencies data should be sent

Variables

 MAV_ACK_PKT
 MAV_CTRL_CFG_PKT
 MAV_CTRL_DEBUG_PKT
 MAV_CTRL_INPUT_PKT
 MAV_DES_POSE_PKT
 MAV_DES_VEL_PKT
 MAV_DUMMY_PKT
 MAV_FLIGHT_ACTION_PKT
 MAV_FLIGHT_STATE_PKT
 MAV_HEIGHT_PKT
 MAV_IMU_PKT
 MAV_KF_CFG_PKT
 MAV_PID_CFG_PKT
 MAV_POSE2D_PKT
 MAV_POSE_PKT
 MAV_RCDATA_PKT
 MAV_STATUS_PKT
 MAV_TIMESYNC_PKT
 MAV_TX_FREQ_CFG_PKT

Define Documentation

#define MAV_ACK_PKT_ID   0x00

Definition at line 8 of file comm_packets.h.

#define MAV_CTRL_CFG_PKT_ID   0x01

Definition at line 9 of file comm_packets.h.

#define MAV_CTRL_DEBUG_PKT_ID   0x12

Definition at line 26 of file comm_packets.h.

#define MAV_CTRL_INPUT_PKT_ID   0x0F

Definition at line 23 of file comm_packets.h.

#define MAV_DES_POSE_PKT_ID   0x10

Definition at line 24 of file comm_packets.h.

#define MAV_DES_VEL_PKT_ID   0x11

Definition at line 25 of file comm_packets.h.

#define MAV_DUMMY_PKT_ID   0x04

Definition at line 12 of file comm_packets.h.

#define MAV_FLIGHT_ACTION_PKT_ID   0x08

Definition at line 16 of file comm_packets.h.

#define MAV_FLIGHT_STATE_PKT_ID   0x09

Definition at line 17 of file comm_packets.h.

#define MAV_HEIGHT_PKT_ID   0x06

Definition at line 14 of file comm_packets.h.

#define MAV_IMU_PKT_ID   0x0A

Definition at line 18 of file comm_packets.h.

#define MAV_KF_CFG_PKT_ID   0x03

Definition at line 11 of file comm_packets.h.

#define MAV_PID_CFG_PKT_ID   0x02

Definition at line 10 of file comm_packets.h.

#define MAV_POSE2D_PKT_ID   0x05

Definition at line 13 of file comm_packets.h.

#define MAV_POSE_PKT_ID   0x07

Definition at line 15 of file comm_packets.h.

#define MAV_RCDATA_PKT_ID   0x0B

Definition at line 19 of file comm_packets.h.

#define MAV_STATUS_PKT_ID   0x0D

Definition at line 21 of file comm_packets.h.

#define MAV_TIMESYNC_PKT_ID   0x0C

Definition at line 20 of file comm_packets.h.

#define MAV_TX_FREQ_CFG_PKT_ID   0x0E

Definition at line 22 of file comm_packets.h.


Function Documentation

struct __attribute__ ( (packed)  ) [read]

define at which frequencies data should be sent

packet for time synchronization between HL processor and PC

contains RC data that was transmitted to the helicopter

acknowledge packet with message type that has been acknowledged

Client | | Server | | tc1 |--------| ts1 | | tc2 |--------| ts2 | |

ts1=ts2; tc2 is measured on the arrival of the packet

timestamp in us; synchronized to host pc

Definition at line 30 of file comm_packets.h.


Variable Documentation

Definition at line 60 of file comm_packets.h.

Definition at line 148 of file comm_packets.h.

Definition at line 198 of file comm_packets.h.

Definition at line 354 of file comm_packets.h.

Definition at line 364 of file comm_packets.h.

Definition at line 374 of file comm_packets.h.

Definition at line 33 of file comm_packets.h.

Definition at line 240 of file comm_packets.h.

Definition at line 247 of file comm_packets.h.

Definition at line 217 of file comm_packets.h.

Definition at line 281 of file comm_packets.h.

Definition at line 306 of file comm_packets.h.

Definition at line 127 of file comm_packets.h.

Definition at line 209 of file comm_packets.h.

Definition at line 233 of file comm_packets.h.

Definition at line 326 of file comm_packets.h.

Definition at line 264 of file comm_packets.h.

Definition at line 344 of file comm_packets.h.

Definition at line 53 of file comm_packets.h.



mav_common
Author(s): Ivan Dryanovski
autogenerated on Thu Jan 2 2014 11:28:00