Classes | Variables
Protocol.h File Reference
#include <stdint.h>
#include <vector>
#include <eyantra_drone/Common.h>
Include dependency graph for Protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Protocol
 

Variables

float accX
 
float accY
 
float accZ
 
float alt
 
float battery
 
uint8_t bufferIndex
 
int FC_versionMajor
 
int FC_versionMinor
 
int FC_versionPatchLevel
 
float gyroX
 
float gyroY
 
float gyroZ
 
static const int HEADER_ARROW = 3
 
static const int HEADER_CMD = 5
 
static const int HEADER_ERR = 6
 
static const int HEADER_M = 2
 
static const int HEADER_SIZE = 4
 
static const int HEADER_START = 1
 
static const int IDLE = 0
 
int8_t inputBuffer [1024]
 
float magX
 
float magY
 
float magZ
 
static const int MSP_ACC_CALIBRATION =205
 
static const int MSP_ACC_TRIM =240
 
static const int MSP_ALTITUDE =109
 
static const int MSP_ANALOG =110
 
static const int MSP_ATTITUDE =108
 
static const int MSP_EEPROM_WRITE = 250
 
static const int MSP_FC_VERSION =3
 
static const int MSP_MAG_CALIBRATION =206
 
static const int MSP_RAW_IMU =102
 
static const int MSP_RC = 105
 
static const int MSP_SET_ACC_TRIM =239
 
static const int MSP_SET_MOTOR =214
 
static const int MSP_SET_POS = 216
 
static const int MSP_SET_RAW_RC =200
 
int pitch
 
float rcAUX1
 
float rcAUX2
 
float rcAUX3
 
float rcAUX4
 
float rcPitch
 
float rcRoll
 
float rcThrottle
 
float rcYaw
 
int roll
 
int rssi
 
int trim_pitch
 
int trim_roll
 
int yaw
 

Variable Documentation

float accX

Definition at line 45 of file Protocol.cpp.

float accY

Definition at line 46 of file Protocol.cpp.

float accZ

Definition at line 47 of file Protocol.cpp.

float alt

Definition at line 54 of file Protocol.cpp.

float battery

Definition at line 43 of file Protocol.cpp.

uint8_t bufferIndex

Definition at line 36 of file Protocol.cpp.

int FC_versionMajor

Definition at line 56 of file Protocol.cpp.

int FC_versionMinor

Definition at line 57 of file Protocol.cpp.

int FC_versionPatchLevel

Definition at line 58 of file Protocol.cpp.

float gyroX

Definition at line 48 of file Protocol.cpp.

float gyroY

Definition at line 49 of file Protocol.cpp.

float gyroZ

Definition at line 50 of file Protocol.cpp.

const int HEADER_ARROW = 3
static

Definition at line 55 of file Protocol.h.

const int HEADER_CMD = 5
static

Definition at line 55 of file Protocol.h.

const int HEADER_ERR = 6
static

Definition at line 55 of file Protocol.h.

const int HEADER_M = 2
static

Definition at line 55 of file Protocol.h.

const int HEADER_SIZE = 4
static

Definition at line 55 of file Protocol.h.

const int HEADER_START = 1
static

Definition at line 55 of file Protocol.h.

const int IDLE = 0
static

Definition at line 55 of file Protocol.h.

int8_t inputBuffer[1024]

Definition at line 35 of file Protocol.cpp.

float magX

Definition at line 51 of file Protocol.cpp.

float magY

Definition at line 52 of file Protocol.cpp.

float magZ

Definition at line 53 of file Protocol.cpp.

const int MSP_ACC_CALIBRATION =205
static

Definition at line 47 of file Protocol.h.

const int MSP_ACC_TRIM =240
static

Definition at line 51 of file Protocol.h.

const int MSP_ALTITUDE =109
static

Definition at line 44 of file Protocol.h.

const int MSP_ANALOG =110
static

Definition at line 45 of file Protocol.h.

const int MSP_ATTITUDE =108
static

Definition at line 43 of file Protocol.h.

const int MSP_EEPROM_WRITE = 250
static

Definition at line 52 of file Protocol.h.

const int MSP_FC_VERSION =3
static

Definition at line 40 of file Protocol.h.

const int MSP_MAG_CALIBRATION =206
static

Definition at line 48 of file Protocol.h.

const int MSP_RAW_IMU =102
static

Definition at line 41 of file Protocol.h.

const int MSP_RC = 105
static

Definition at line 42 of file Protocol.h.

const int MSP_SET_ACC_TRIM =239
static

Definition at line 50 of file Protocol.h.

const int MSP_SET_MOTOR =214
static

Definition at line 49 of file Protocol.h.

const int MSP_SET_POS = 216
static

Definition at line 53 of file Protocol.h.

const int MSP_SET_RAW_RC =200
static

Definition at line 46 of file Protocol.h.

int pitch

Definition at line 41 of file Protocol.cpp.

float rcAUX1

Definition at line 63 of file Protocol.cpp.

float rcAUX2

Definition at line 63 of file Protocol.cpp.

float rcAUX3

Definition at line 63 of file Protocol.cpp.

float rcAUX4

Definition at line 63 of file Protocol.cpp.

float rcPitch

Definition at line 63 of file Protocol.cpp.

float rcRoll

Definition at line 63 of file Protocol.cpp.

float rcThrottle

Definition at line 63 of file Protocol.cpp.

float rcYaw

Definition at line 63 of file Protocol.cpp.

int roll

Definition at line 40 of file Protocol.cpp.

int rssi

Definition at line 44 of file Protocol.cpp.

int trim_pitch

Definition at line 61 of file Protocol.cpp.

int trim_roll

Definition at line 60 of file Protocol.cpp.

int yaw

Definition at line 42 of file Protocol.cpp.



edrone_client
Author(s): Simranjeet Singh
autogenerated on Sun Dec 1 2019 03:30:51