Classes | Macros | Typedefs | Enumerations | Functions | Variables
crtp.h File Reference
#include "Crazyradio.h"
#include <cstdint>
Include dependency graph for crtp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  crtp
 
struct  crtpCommanderHighLevelDefineTrajectoryRequest
 
struct  crtpCommanderHighLevelGoToRequest
 
struct  crtpCommanderHighLevelLandRequest
 
struct  crtpCommanderHighLevelSetGroupMaskRequest
 
struct  crtpCommanderHighLevelStartTrajectoryRequest
 
struct  crtpCommanderHighLevelStopRequest
 
struct  crtpCommanderHighLevelTakeoffRequest
 
struct  crtpConsoleResponse
 
struct  crtpEmergencyStopRequest
 
struct  crtpEmergencyStopWatchdogRequest
 
struct  crtpEmpty
 
struct  crtpExternalPosePacked
 
struct  crtpExternalPoseUpdate
 
struct  crtpExternalPositionPacked
 
struct  crtpExternalPositionUpdate
 
struct  crtpFullStateSetpointRequest
 
struct  crtpGetDeviceTypeNameRequest
 
struct  crtpGetDeviceTypeNameResponse
 
struct  crtpGetFirmwareVersionRequest
 
struct  crtpGetFirmwareVersionResponse
 
struct  crtpGetProtocolVersionRequest
 
struct  crtpGetProtocolVersionResponse
 
struct  crtpHoverSetpointRequest
 
struct  crtpLogAppendBlockV2Request
 
struct  crtpLogControlResponse
 
struct  crtpLogCreateBlockRequest
 
struct  crtpLogCreateBlockV2Request
 
struct  crtpLogDataResponse
 
struct  crtpLogGetInfoRequest
 
struct  crtpLogGetInfoResponse
 
struct  crtpLogGetInfoV2Request
 
struct  crtpLogGetInfoV2Response
 
struct  crtpLogGetItemRequest
 
struct  crtpLogGetItemResponse
 
struct  crtpLogGetItemV2Request
 
struct  crtpLogGetItemV2Response
 
struct  crtpLogResetRequest
 
struct  crtpLogStartRequest
 
struct  crtpLogStopRequest
 
struct  crtpMemoryGetInfoRequest
 
struct  crtpMemoryGetInfoResponse
 
struct  crtpMemoryGetNumberRequest
 
struct  crtpMemoryGetNumberResponse
 
struct  crtpMemoryReadRequest
 
struct  crtpMemoryReadResponse
 
struct  crtpMemoryWriteRequest
 
struct  crtpMemoryWriteResponse
 
struct  crtpNotifySetpointsStopRequest
 
struct  crtpPacket_t
 
struct  crtpParamReadRequest
 
struct  crtpParamReadV2Request
 
struct  crtpParamSetByNameRequest< T >
 
struct  crtpParamTocGetInfoRequest
 
struct  crtpParamTocGetInfoResponse
 
struct  crtpParamTocGetInfoV2Request
 
struct  crtpParamTocGetInfoV2Response
 
struct  crtpParamTocGetItemRequest
 
struct  crtpParamTocGetItemResponse
 
struct  crtpParamTocGetItemV2Request
 
struct  crtpParamTocGetItemV2Response
 
struct  crtpParamWriteRequest< T >
 
struct  crtpParamWriteV2Request< T >
 
struct  crtpPlatformRSSIAck
 
struct  crtpPositionSetpointRequest
 
struct  crtpStopRequest
 
struct  crtpVelocityWorldSetpointRequest
 
struct  logBlockItem
 
struct  logBlockItemV2
 
struct  trajectoryDescription
 

Macros

#define CHECKSIZE(s)   static_assert(sizeof(s) <= CRTP_MAXSIZE, #s " packet is too large");
 
#define CHECKSIZE_RESPONSE(s)   static_assert(sizeof(s) <= CRTP_MAXSIZE_RESPONSE, #s " packet is too large");
 
#define CHECKSIZE_WITH_STATE(s, stateSize)   static_assert(sizeof(s) - stateSize <= CRTP_MAXSIZE, #s " packet is too large");
 

Typedefs

typedef crtpParamTocGetItemResponse Response
 

Enumerations

enum  crtpLogControlResult {
  crtpLogControlResultOk = 0, crtpLogControlResultOutOfMemory = 12, crtpLogControlResultCmdNotFound = 8, crtpLogControlResultWrongBlockId = 2,
  crtpLogControlResultBlockTooLarge = 7, crtpLogControlResultBlockExists = 17
}
 
enum  crtpMemoryType : uint8_t { EEPROM = 0x00, OW = 0x01, LED12 = 0x10, LOCO = 0x11 }
 
enum  ParamType : uint8_t {
  ParamTypeUint8 = 0x00 | (0x00<<2) | (0x01<<3), ParamTypeInt8 = 0x00 | (0x00<<2) | (0x00<<3), ParamTypeUint16 = 0x01 | (0x00<<2) | (0x01<<3), ParamTypeInt16 = 0x01 | (0x00<<2) | (0x00<<3),
  ParamTypeUint32 = 0x02 | (0x00<<2) | (0x01<<3), ParamTypeInt32 = 0x02 | (0x00<<2) | (0x00<<3), ParamTypeFloat = 0x02 | (0x01<<2) | (0x00<<3)
}
 
enum  TrajectoryLocation_e { TRAJECTORY_LOCATION_INVALID = 0, TRAJECTORY_LOCATION_MEM = 1 }
 
enum  TrajectoryType_e { TRAJECTORY_TYPE_POLY4D = 0 }
 

Functions

struct crtp __attribute__ ((packed))
 
 CHECKSIZE (crtpParamWriteRequest< double >) struct crtpParamValueResponse
 
 CHECKSIZE (crtpParamWriteV2Request< float >) struct crtpParamValueV2Response
 
 CHECKSIZE (crtpVelocityWorldSetpointRequest)
 
 CHECKSIZE (crtpNotifySetpointsStopRequest)
 
 CHECKSIZE_RESPONSE (crtpParamSetByNameResponse) struct crtpSetpointRequest
 
 CHECKSIZE_WITH_STATE (crtpParamSetByNameRequest< float >, 2) struct crtpParamSetByNameResponse
 
constexpr crtp (uint8_t port, uint8_t channel)
 
 crtp (uint8_t byte)
 
 crtpCommanderHighLevelDefineTrajectoryRequest (uint8_t trajectoryId)
 
 crtpCommanderHighLevelGoToRequest (uint8_t groupMask, bool relative, float x, float y, float z, float yaw, float duration)
 
 crtpCommanderHighLevelLandRequest (uint8_t groupMask, float height, float duration)
 
 crtpCommanderHighLevelSetGroupMaskRequest (uint8_t groupMask)
 
 crtpCommanderHighLevelStartTrajectoryRequest (uint8_t groupMask, bool relative, bool reversed, uint8_t trajectoryId, float timescale)
 
 crtpCommanderHighLevelStopRequest (uint8_t groupMask)
 
 crtpCommanderHighLevelTakeoffRequest (uint8_t groupMask, float height, float duration)
 
 crtpEmergencyStopRequest ()
 
 crtpEmergencyStopWatchdogRequest ()
 
 crtpExternalPosePacked ()
 
 crtpExternalPoseUpdate (float x, float y, float z, float qx, float qy, float qz, float qw)
 
 crtpExternalPositionPacked ()
 
 crtpExternalPositionUpdate (float x, float y, float z)
 
 crtpFullStateSetpointRequest (float x, float y, float z, float vx, float vy, float vz, float ax, float ay, float az, float qx, float qy, float qz, float qw, float rollRate, float pitchRate, float yawRate)
 
 crtpGetDeviceTypeNameRequest ()
 
 crtpGetFirmwareVersionRequest ()
 
 crtpGetProtocolVersionRequest ()
 
 crtpHoverSetpointRequest (float vx, float vy, float yawrate, float zDistance)
 
 crtpLogAppendBlockV2Request ()
 
 crtpLogCreateBlockRequest ()
 
 crtpLogCreateBlockV2Request ()
 
 crtpLogGetInfoRequest ()
 
 crtpLogGetInfoV2Request ()
 
 crtpLogGetItemRequest (uint8_t id)
 
 crtpLogGetItemV2Request (uint16_t id)
 
 crtpLogResetRequest ()
 
 crtpLogStartRequest (uint8_t id, uint8_t period)
 
 crtpLogStopRequest (uint8_t id)
 
 crtpMemoryGetInfoRequest (uint8_t memId)
 
 crtpMemoryGetNumberRequest ()
 
 crtpMemoryReadRequest (uint8_t memId, uint32_t memAddr, uint8_t length)
 
 crtpMemoryWriteRequest (uint8_t memId, uint32_t memAddr)
 
 crtpNotifySetpointsStopRequest (uint32_t remainValidMillisecs)
 
 crtpParamReadRequest (uint8_t id)
 
 crtpParamReadV2Request (uint16_t id)
 
 crtpParamSetByNameRequest (const char *group, const char *name, const T &value)
 
 crtpParamSetByNameRequest (const char *group, const char *name, uint8_t paramType, const void *value, uint8_t valueSize)
 
 crtpParamTocGetInfoRequest ()
 
 crtpParamTocGetInfoV2Request ()
 
 crtpParamTocGetItemRequest (uint8_t id)
 
 crtpParamTocGetItemV2Request (uint16_t id)
 
 crtpParamWriteRequest (uint8_t id, const T &value)
 
 crtpParamWriteV2Request (uint16_t id, const T &value)
 
 crtpPositionSetpointRequest (float x, float y, float z, float yaw)
 
 crtpStopRequest ()
 
 crtpVelocityWorldSetpointRequest (float x, float y, float z, float yawRate)
 
static bool match (const Crazyradio::Ack &response)
 
bool operator== (const crtpParamTocGetInfoRequest &other) const
 
bool operator== (const crtpParamReadRequest &other) const
 
bool operator== (const crtpParamTocGetItemRequest &other) const
 
bool operator== (const crtp &other) const
 
bool operator== (const crtpParamTocGetInfoV2Request &other) const
 
bool operator== (const crtpParamReadV2Request &other) const
 
bool operator== (const crtpParamTocGetItemV2Request &other) const
 
bool operator== (const crtpLogGetInfoV2Request &other) const
 
bool operator== (const crtpLogGetInfoRequest &other) const
 
bool operator== (const crtpLogGetItemRequest &other) const
 
bool operator== (const crtpLogGetItemV2Request &other) const
 
void quatdecompress (uint32_t comp, float q[4])
 
uint8_t responseSize () const
 
uint8_t size () const
 

Variables

typedef __attribute__
 
int16_t ax
 
int16_t ay
 
int16_t az
 
uint8_t blockId
 
uint8_t channel
 
const uint8_t cmd = 0
 
const uint8_t command
 
uint32_t crc
 
static int const CRTP_MAX_DATA_SIZE = 30
 
static int const CRTP_MAXSIZE = 31
 
static int const CRTP_MAXSIZE_RESPONSE = 32
 
uint8_t data [29]
 
struct trajectoryDescription description
 
float duration
 
uint8_t group
 
uint8_t groupMask
 
const crtp header
 
float height
 
uint8_t id
 
logBlockItem items [14]
 
uint8_t length
 
uint8_t link
 
uint32_t log_crc
 
uint8_t log_len
 
uint8_t log_max_ops
 
uint8_t log_max_packet
 
uint8_t logType
 
uint64_t memAddr
 
uint8_t memId
 
uint32_t memSize
 
crtpMemoryType memType
 
uint8_t n_pieces
 
char name [30]
 
uint8_t numberOfMemories
 
uint8_t numParam
 
uint32_t offset
 
int16_t omegax
 
int16_t omegay
 
int16_t omegaz
 
uint8_t period
 
uint8_t port
 
uint32_t quat
 
float qw
 
float qx
 
float qy
 
float qz
 
uint8_t readonly
 
uint8_t relative
 
uint32_t remainValidMillisecs
 
crtpParamTocGetItemRequest request
 
uint8_t requestByte1
 
uint8_t res0
 
uint8_t responseSize_
 
uint8_t result
 
uint8_t reversed
 
uint8_t sign
 
uint8_t size_
 
uint8_t status
 
char text [28]
 
float timescale
 
uint16_t timestampHi
 
uint8_t timestampLo
 
uint8_t trajectoryId
 
union {
trajectoryIdentifier
 
uint8_t trajectoryLocation
 
uint8_t trajectoryType
 
uint8_t type = 3
 
const T value
 
int version
 
float vx
 
float vy
 
int16_t vz
 
float x
 
float y
 
float yaw
 
float yawrate
 
float yawRate
 
float z
 
float zDistance
 

Macro Definition Documentation

#define CHECKSIZE (   s)    static_assert(sizeof(s) <= CRTP_MAXSIZE, #s " packet is too large");

Definition at line 8 of file crtp.h.

#define CHECKSIZE_RESPONSE (   s)    static_assert(sizeof(s) <= CRTP_MAXSIZE_RESPONSE, #s " packet is too large");

Definition at line 12 of file crtp.h.

#define CHECKSIZE_WITH_STATE (   s,
  stateSize 
)    static_assert(sizeof(s) - stateSize <= CRTP_MAXSIZE, #s " packet is too large");

Definition at line 9 of file crtp.h.

Typedef Documentation

Definition at line 27 of file crtp.h.

Enumeration Type Documentation

Enumerator
crtpLogControlResultOk 
crtpLogControlResultOutOfMemory 
crtpLogControlResultCmdNotFound 
crtpLogControlResultWrongBlockId 
crtpLogControlResultBlockTooLarge 
crtpLogControlResultBlockExists 

Definition at line 737 of file crtp.h.

enum crtpMemoryType : uint8_t
Enumerator
EEPROM 
OW 
LED12 
LOCO 

Definition at line 476 of file crtp.h.

enum ParamType : uint8_t
Enumerator
ParamTypeUint8 
ParamTypeInt8 
ParamTypeUint16 
ParamTypeInt16 
ParamTypeUint32 
ParamTypeInt32 
ParamTypeFloat 

Definition at line 73 of file crtp.h.

Enumerator
TRAJECTORY_LOCATION_INVALID 
TRAJECTORY_LOCATION_MEM 

Definition at line 1233 of file crtp.h.

Enumerator
TRAJECTORY_TYPE_POLY4D 

Definition at line 1239 of file crtp.h.

Function Documentation

struct crtp __attribute__ ( (packed)  )
CHECKSIZE ( crtpParamWriteRequest< double >  )

Definition at line 197 of file crtp.h.

CHECKSIZE ( crtpParamWriteV2Request< float >  )

Definition at line 334 of file crtp.h.

CHECKSIZE_RESPONSE ( crtpParamSetByNameResponse  )

Definition at line 407 of file crtp.h.

CHECKSIZE_WITH_STATE ( crtpParamSetByNameRequest< float >  ,
 
)

Definition at line 391 of file crtp.h.

constexpr __attribute__::crtp ( uint8_t  port,
uint8_t  channel 
)

Definition at line 15 of file crtp.h.

__attribute__::crtp ( uint8_t  byte)

Definition at line 22 of file crtp.h.

__attribute__::crtpCommanderHighLevelDefineTrajectoryRequest ( uint8_t  trajectoryId)

Definition at line 1092 of file crtp.h.

__attribute__::crtpCommanderHighLevelGoToRequest ( uint8_t  groupMask,
bool  relative,
float  x,
float  y,
float  z,
float  yaw,
float  duration 
)

Definition at line 1092 of file crtp.h.

__attribute__::crtpCommanderHighLevelLandRequest ( uint8_t  groupMask,
float  height,
float  duration 
)

Definition at line 1092 of file crtp.h.

__attribute__::crtpCommanderHighLevelSetGroupMaskRequest ( uint8_t  groupMask)

Definition at line 1092 of file crtp.h.

__attribute__::crtpCommanderHighLevelStartTrajectoryRequest ( uint8_t  groupMask,
bool  relative,
bool  reversed,
uint8_t  trajectoryId,
float  timescale 
)

Definition at line 1092 of file crtp.h.

__attribute__::crtpCommanderHighLevelStopRequest ( uint8_t  groupMask)

Definition at line 1092 of file crtp.h.

__attribute__::crtpCommanderHighLevelTakeoffRequest ( uint8_t  groupMask,
float  height,
float  duration 
)

Definition at line 1092 of file crtp.h.

__attribute__::crtpEmergencyStopRequest ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpEmergencyStopWatchdogRequest ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpExternalPosePacked ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpExternalPoseUpdate ( float  x,
float  y,
float  z,
float  qx,
float  qy,
float  qz,
float  qw 
)

Definition at line 432 of file crtp.h.

__attribute__::crtpExternalPositionPacked ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpExternalPositionUpdate ( float  x,
float  y,
float  z 
)

Definition at line 432 of file crtp.h.

__attribute__::crtpFullStateSetpointRequest ( float  x,
float  y,
float  z,
float  vx,
float  vy,
float  vz,
float  ax,
float  ay,
float  az,
float  qx,
float  qy,
float  qz,
float  qw,
float  rollRate,
float  pitchRate,
float  yawRate 
)
__attribute__::crtpGetDeviceTypeNameRequest ( )

Definition at line 1092 of file crtp.h.

__attribute__::crtpGetFirmwareVersionRequest ( )

Definition at line 1092 of file crtp.h.

__attribute__::crtpGetProtocolVersionRequest ( )

Definition at line 1092 of file crtp.h.

__attribute__::crtpHoverSetpointRequest ( float  vx,
float  vy,
float  yawrate,
float  zDistance 
)
__attribute__::crtpLogAppendBlockV2Request ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpLogCreateBlockRequest ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpLogCreateBlockV2Request ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpLogGetInfoRequest ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpLogGetInfoV2Request ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpLogGetItemRequest ( uint8_t  id)

Definition at line 432 of file crtp.h.

__attribute__::crtpLogGetItemV2Request ( uint16_t  id)

Definition at line 432 of file crtp.h.

__attribute__::crtpLogResetRequest ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpLogStartRequest ( uint8_t  id,
uint8_t  period 
)

Definition at line 432 of file crtp.h.

__attribute__::crtpLogStopRequest ( uint8_t  id)

Definition at line 432 of file crtp.h.

__attribute__::crtpMemoryGetInfoRequest ( uint8_t  memId)

Definition at line 432 of file crtp.h.

__attribute__::crtpMemoryGetNumberRequest ( )

Definition at line 432 of file crtp.h.

__attribute__::crtpMemoryReadRequest ( uint8_t  memId,
uint32_t  memAddr,
uint8_t  length 
)

Definition at line 432 of file crtp.h.

__attribute__::crtpMemoryWriteRequest ( uint8_t  memId,
uint32_t  memAddr 
)

Definition at line 432 of file crtp.h.

__attribute__::crtpNotifySetpointsStopRequest ( uint32_t  remainValidMillisecs)

Definition at line 1080 of file crtp.h.

__attribute__::crtpParamReadRequest ( uint8_t  id)

Definition at line 15 of file crtp.h.

__attribute__::crtpParamReadV2Request ( uint16_t  id)

Definition at line 218 of file crtp.h.

__attribute__::crtpParamSetByNameRequest ( const char *  group,
const char *  name,
const T &  value 
)
__attribute__::crtpParamSetByNameRequest ( const char *  group,
const char *  name,
uint8_t  paramType,
const void *  value,
uint8_t  valueSize 
)
private
__attribute__::crtpParamTocGetInfoRequest ( )

Definition at line 15 of file crtp.h.

__attribute__::crtpParamTocGetInfoV2Request ( )

Definition at line 218 of file crtp.h.

__attribute__::crtpParamTocGetItemRequest ( uint8_t  id)

Definition at line 15 of file crtp.h.

__attribute__::crtpParamTocGetItemV2Request ( uint16_t  id)

Definition at line 218 of file crtp.h.

__attribute__::crtpParamWriteRequest ( uint8_t  id,
const T &  value 
)

Definition at line 15 of file crtp.h.

__attribute__::crtpParamWriteV2Request ( uint16_t  id,
const T &  value 
)

Definition at line 218 of file crtp.h.

__attribute__::crtpPositionSetpointRequest ( float  x,
float  y,
float  z,
float  yaw 
)
__attribute__::crtpStopRequest ( )
__attribute__::crtpVelocityWorldSetpointRequest ( float  x,
float  y,
float  z,
float  yawRate 
)

Definition at line 432 of file crtp.h.

static bool match ( const Crazyradio::Ack response)
static

Definition at line 15 of file crtp.h.

bool __attribute__::operator== ( const crtpParamTocGetInfoRequest other) const

Definition at line 21 of file crtp.h.

bool __attribute__::operator== ( const crtpParamReadRequest other) const

Definition at line 22 of file crtp.h.

bool __attribute__::operator== ( const crtpParamTocGetItemRequest other) const

Definition at line 23 of file crtp.h.

bool __attribute__::operator== ( const crtp other) const

Definition at line 29 of file crtp.h.

bool __attribute__::operator== ( const crtpParamTocGetInfoV2Request other) const

Definition at line 224 of file crtp.h.

bool __attribute__::operator== ( const crtpParamReadV2Request other) const

Definition at line 225 of file crtp.h.

bool __attribute__::operator== ( const crtpParamTocGetItemV2Request other) const

Definition at line 226 of file crtp.h.

bool __attribute__::operator== ( const crtpLogGetInfoV2Request other) const

Definition at line 438 of file crtp.h.

bool __attribute__::operator== ( const crtpLogGetInfoRequest other) const

Definition at line 438 of file crtp.h.

bool __attribute__::operator== ( const crtpLogGetItemRequest other) const

Definition at line 439 of file crtp.h.

bool __attribute__::operator== ( const crtpLogGetItemV2Request other) const

Definition at line 439 of file crtp.h.

void quatdecompress ( uint32_t  comp,
float  q[4] 
)

Definition at line 45 of file crtp.cpp.

uint8_t __attribute__::responseSize ( ) const

Definition at line 369 of file crtp.h.

uint8_t __attribute__::size ( ) const

Definition at line 365 of file crtp.h.

Variable Documentation

struct crtpNrf51SetSafelinkRequest __attribute__
int16_t ax

Definition at line 446 of file crtp.h.

int16_t ay

Definition at line 447 of file crtp.h.

int16_t az

Definition at line 448 of file crtp.h.

uint8_t blockId

Definition at line 438 of file crtp.h.

uint8_t channel

Definition at line 33 of file crtp.h.

const uint8_t cmd = 0

Definition at line 362 of file crtp.h.

const uint8_t command

Definition at line 30 of file crtp.h.

uint32_t crc

Definition at line 23 of file crtp.h.

int const CRTP_MAX_DATA_SIZE = 30
static

Definition at line 6 of file crtp.h.

int const CRTP_MAXSIZE = 31
static

Definition at line 7 of file crtp.h.

int const CRTP_MAXSIZE_RESPONSE = 32
static

Definition at line 11 of file crtp.h.

uint8_t data

Definition at line 363 of file crtp.h.

struct trajectoryDescription description

Definition at line 1103 of file crtp.h.

float duration

Definition at line 1108 of file crtp.h.

uint8_t group

Definition at line 27 of file crtp.h.

uint8_t groupMask

Definition at line 1102 of file crtp.h.

Definition at line 29 of file crtp.h.

float height

Definition at line 1107 of file crtp.h.

uint8_t id

Definition at line 31 of file crtp.h.

Definition at line 441 of file crtp.h.

uint8_t length

Definition at line 22 of file crtp.h.

uint8_t link

Definition at line 34 of file crtp.h.

uint32_t log_crc

Definition at line 442 of file crtp.h.

uint16_t log_len

Definition at line 440 of file crtp.h.

uint8_t log_max_ops

Definition at line 446 of file crtp.h.

uint8_t log_max_packet

Definition at line 444 of file crtp.h.

uint8_t logType

Definition at line 432 of file crtp.h.

uint32_t memAddr

Definition at line 441 of file crtp.h.

uint8_t memId

Definition at line 441 of file crtp.h.

uint32_t memSize

Definition at line 440 of file crtp.h.

crtpMemoryType memType

Definition at line 439 of file crtp.h.

uint8_t n_pieces

Definition at line 1249 of file crtp.h.

char name[30]

Definition at line 1093 of file crtp.h.

uint8_t numberOfMemories

Definition at line 439 of file crtp.h.

uint16_t numParam

Definition at line 22 of file crtp.h.

uint32_t offset

Definition at line 1248 of file crtp.h.

int16_t omegax

Definition at line 450 of file crtp.h.

int16_t omegay

Definition at line 451 of file crtp.h.

int16_t omegaz

Definition at line 452 of file crtp.h.

uint8_t period

Definition at line 445 of file crtp.h.

uint8_t port

Definition at line 35 of file crtp.h.

int32_t quat

Definition at line 991 of file crtp.h.

float qw

Definition at line 458 of file crtp.h.

float qx

Definition at line 455 of file crtp.h.

float qy

Definition at line 456 of file crtp.h.

float qz

Definition at line 457 of file crtp.h.

uint8_t readonly

Definition at line 26 of file crtp.h.

uint8_t relative

Definition at line 1115 of file crtp.h.

uint32_t remainValidMillisecs

Definition at line 1086 of file crtp.h.

Definition at line 21 of file crtp.h.

uint8_t requestByte1

Definition at line 439 of file crtp.h.

uint8_t res0

Definition at line 25 of file crtp.h.

uint8_t responseSize_
private

Definition at line 376 of file crtp.h.

uint8_t result

Definition at line 440 of file crtp.h.

uint8_t reversed

Definition at line 1112 of file crtp.h.

uint8_t sign

Definition at line 24 of file crtp.h.

uint8_t size_
private

Definition at line 375 of file crtp.h.

uint8_t status

Definition at line 440 of file crtp.h.

char text

Definition at line 28 of file crtp.h.

float timescale

Definition at line 1114 of file crtp.h.

uint16_t timestampHi

Definition at line 440 of file crtp.h.

uint8_t timestampLo

Definition at line 439 of file crtp.h.

uint8_t trajectoryId

Definition at line 1113 of file crtp.h.

union { ... } trajectoryIdentifier
uint8_t trajectoryLocation

Definition at line 1092 of file crtp.h.

uint8_t trajectoryType

Definition at line 1093 of file crtp.h.

uint8_t type = 3

Definition at line 23 of file crtp.h.

const T value

Definition at line 26 of file crtp.h.

char version

Definition at line 1093 of file crtp.h.

int16_t vx

Definition at line 439 of file crtp.h.

int16_t vy

Definition at line 440 of file crtp.h.

int16_t vz

Definition at line 445 of file crtp.h.

float x

Definition at line 443 of file crtp.h.

float y

Definition at line 444 of file crtp.h.

float yaw

Definition at line 442 of file crtp.h.

float yawrate

Definition at line 441 of file crtp.h.

float yawRate

Definition at line 442 of file crtp.h.

float z

Definition at line 445 of file crtp.h.

float zDistance

Definition at line 442 of file crtp.h.



crazyflie_cpp
Author(s): Wolfgang Hoenig
autogenerated on Tue May 19 2020 03:38:05