HBstructs.h File Reference

Go to the source code of this file.

Classes

struct  IMU_CALCDATA
 From main.h. More...
struct  IMU_RAWDATA
struct  SYSTEM_PERMANENT_DATA
struct  LL_ATTITUDE_DATA
struct  GPS_DATA
 From gpsmath.h. More...
struct  GPS_DATA_ADVANCED
struct  LABROB_FLIGHT_DATA
struct  LABROB_CTRL_INPUT
struct  LABROB_CTRL_FLAGS
struct  LABROB_CONTROLLERS_GAINS
struct  LABROB_FILTERS_GAINS
struct  LABROB_POSE_INPUT

Defines

#define PD_IMURAWDATA   0x01
#define PD_LLSTATUS   0x02
#define PD_IMUCALCDATA   0x03
#define PD_HLSTATUS   0x04
#define PD_CTRLOUT   0x11
#define PD_FLIGHTPARAMS   0x12
#define PD_CTRLCOMMANDS   0x13
#define PD_CTRLINTERNAL   0x14
#define PD_RCDATA   0x15
#define PD_CTRLSTATUS   0x16
#define PD_WAYPOINT   0x20
#define PD_CURRENTWAY   0x21
#define PD_NMEADATA   0x22
#define PD_GPSDATA   0x23
#define NUM_OF_STRUCTS   24
#define PD_LABROB_POSE_IN   0x25
#define PD_LABROB_FDATA   0x26
#define PD_LABROB_CTRL_IN   0x27
#define PD_LABROB_CTRL_FL   0x28
#define PD_LABROB_CTRL_GAINS   0x29
#define PD_LABROB_FLTR_GAINS   0x31
#define PD_LABROB_MESSAGE   0x32
#define DT_LL_status   (unsigned short)0x0001
#define DT_IMU_RawData   (unsigned short)0x0002
#define DT_IMU_CalcData   (unsigned short)0x0004
#define DT_RC_Data   (unsigned short)0x0008
#define DT_CTRL_Out   (unsigned short)0x0010
#define DT_GPS_Data   (unsigned short)0x0080
#define DT_current_way   (unsigned short)0x0100
#define DT_GPS_Data_Advanced   (unsigned short)0x0200
#define DT_CAM_Data   (unsigned short)0x0800
#define DATATYPE_SIZE   2
#define SF_PAGE_BIT1   0x01
 From LL_HL_comm.h.
#define SF_PAGE_BIT2   0x02
#define SF_SSP_ACK   0x04
#define SF_GPS_NEW   0x08
#define SF_HL_CONTROL_ENABLED   0x10
#define SF_DIRECT_MOTOR_CONTROL   0x20
#define SF_WAYPOINT_MODE   0x40
#define HL_CTRL_PITCH   0x01
#define HL_CTRL_ROLL   0x02
#define HL_CTRL_YAW   0x04
#define HL_CTRL_THRUST   0x08
#define HL_CTRL_HEIGHT_ENABLED   0x10
#define HL_CTRL_GPS_ENABLED   0x20
#define HL_CTRL_MOTORS_ONOFF_BY_RC   0x01
#define MAX_DATA_SIZE   100
 TODO E' necessario introdurre i chksum anche nelle altre strutture.

Variables

struct LABROB_FLIGHT_DATA Labrob_Fdata
struct LABROB_CTRL_FLAGS Labrob_Ctrl_Flags


Define Documentation

#define DATATYPE_SIZE   2

#define DT_CAM_Data   (unsigned short)0x0800

#define DT_CTRL_Out   (unsigned short)0x0010

#define DT_current_way   (unsigned short)0x0100

#define DT_GPS_Data   (unsigned short)0x0080

#define DT_GPS_Data_Advanced   (unsigned short)0x0200

#define DT_IMU_CalcData   (unsigned short)0x0004

#define DT_IMU_RawData   (unsigned short)0x0002

#define DT_LL_status   (unsigned short)0x0001

#define DT_RC_Data   (unsigned short)0x0008

#define HL_CTRL_GPS_ENABLED   0x20

#define HL_CTRL_HEIGHT_ENABLED   0x10

#define HL_CTRL_MOTORS_ONOFF_BY_RC   0x01

#define HL_CTRL_PITCH   0x01

#define HL_CTRL_ROLL   0x02

#define HL_CTRL_THRUST   0x08

#define HL_CTRL_YAW   0x04

#define MAX_DATA_SIZE   100

TODO E' necessario introdurre i chksum anche nelle altre strutture.

#define NUM_OF_STRUCTS   24

#define PD_CTRLCOMMANDS   0x13

#define PD_CTRLINTERNAL   0x14

#define PD_CTRLOUT   0x11

#define PD_CTRLSTATUS   0x16

#define PD_CURRENTWAY   0x21

#define PD_FLIGHTPARAMS   0x12

#define PD_GPSDATA   0x23

#define PD_HLSTATUS   0x04

#define PD_IMUCALCDATA   0x03

#define PD_IMURAWDATA   0x01

#define PD_LABROB_CTRL_FL   0x28

#define PD_LABROB_CTRL_GAINS   0x29

#define PD_LABROB_CTRL_IN   0x27

#define PD_LABROB_FDATA   0x26

#define PD_LABROB_FLTR_GAINS   0x31

#define PD_LABROB_MESSAGE   0x32

#define PD_LABROB_POSE_IN   0x25

#define PD_LLSTATUS   0x02

#define PD_NMEADATA   0x22

#define PD_RCDATA   0x15

#define PD_WAYPOINT   0x20

#define SF_DIRECT_MOTOR_CONTROL   0x20

#define SF_GPS_NEW   0x08

#define SF_HL_CONTROL_ENABLED   0x10

#define SF_PAGE_BIT1   0x01

From LL_HL_comm.h.

#define SF_PAGE_BIT2   0x02

#define SF_SSP_ACK   0x04

#define SF_WAYPOINT_MODE   0x40


Variable Documentation


Generated on Mon Feb 20 07:01:08 2017 for MIP by  doxygen 1.5.6