Go to the source code of this file.
Classes |
| struct | crtp |
| struct | crtpConsoleResponse |
| struct | crtpExternalPositionUpdate |
| struct | crtpLogControlResponse |
| struct | crtpLogCreateBlockRequest |
| struct | crtpLogDataResponse |
| struct | crtpLogGetInfoRequest |
| struct | crtpLogGetInfoResponse |
| struct | crtpLogGetItemRequest |
| struct | crtpLogGetItemResponse |
| struct | crtpLogResetRequest |
| struct | crtpLogStartRequest |
| struct | crtpLogStopRequest |
| struct | crtpPacket_t |
| struct | crtpParamReadRequest |
| struct | crtpParamTocGetInfoRequest |
| struct | crtpParamTocGetInfoResponse |
| struct | crtpParamTocGetItemRequest |
| struct | crtpParamTocGetItemResponse |
| struct | crtpParamValueResponse |
| struct | crtpParamWriteRequest< T > |
| struct | crtpPlatformRSSIAck |
| struct | crtpSetpointRequest |
| struct | logBlockItem |
Defines |
| #define | CRTP_MAX_DATA_SIZE 30 |
Typedefs |
| typedef crtpParamTocGetItemResponse | Response |
Enumerations |
| enum | crtpLogControlResult {
crtpLogControlResultOk = 0,
crtpLogControlResultOutOfMemory = 12,
crtpLogControlResultCmdNotFound = 8,
crtpLogControlResultWrongBlockId = 2,
crtpLogControlResultBlockTooLarge = 7,
crtpLogControlResultBlockExists = 17
} |
Functions |
| struct crtp | __attribute__ ((packed)) |
| constexpr | crtp (uint8_t port, uint8_t channel) |
| | crtp (uint8_t byte) |
| | crtpExternalPositionUpdate (float x, float y, float z) |
| | crtpLogCreateBlockRequest () |
| | crtpLogGetInfoRequest () |
| | crtpLogGetItemRequest (uint8_t id) |
| | crtpLogResetRequest () |
| | crtpLogStartRequest (uint8_t id, uint8_t period) |
| | crtpLogStopRequest (uint8_t id) |
| | crtpParamReadRequest (uint8_t id) |
| | crtpParamTocGetInfoRequest () |
| | crtpParamTocGetItemRequest (uint8_t id) |
| | crtpParamWriteRequest (uint8_t id, const T &value) |
| | crtpSetpointRequest (float roll, float pitch, float yawrate, uint16_t thrust) |
| static bool | match (const Crazyradio::Ack &response) |
| bool | operator== (const crtp &other) const |
| bool | operator== (const crtpParamTocGetItemRequest &other) const |
| bool | operator== (const crtpParamTocGetInfoRequest &other) const |
| bool | operator== (const crtpParamReadRequest &other) const |
| bool | operator== (const crtpLogGetInfoRequest &other) const |
| bool | operator== (const crtpLogGetItemRequest &other) const |
Variables |
| union { |
| float valueFloat |
| int16_t valueInt16 |
| int32_t valueInt32 |
| int8_t valueInt8 |
| uint16_t valueUint16 |
| uint32_t valueUint32 |
| uint8_t valueUint8 |
| }; | |
| typedef | __attribute__ |
| uint8_t | blockId |
| uint8_t | channel |
| const uint8_t | command |
| uint32_t | crc |
| uint8_t | data [26] |
| uint8_t | group |
| const crtp | header |
| uint8_t | id |
| logBlockItem | items [16] |
| 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 |
| uint8_t | numParam |
| uint8_t | period |
| float | pitch |
| uint8_t | port |
| uint8_t | readonly |
| crtpParamTocGetItemRequest | request |
| uint8_t | requestByte1 |
| uint8_t | res0 |
| uint8_t | result |
| float | roll |
| uint8_t | sign |
| char | text [28] |
| uint16_t | thrust |
| uint16_t | timestampHi |
| uint8_t | timestampLo |
| uint8_t | type |
| const T | value |
| float | x |
| float | y |
| float | yawrate |
| float | z |
Define Documentation
Definition at line 3 of file crtp.h.
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
| crtpLogControlResultOk |
|
| crtpLogControlResultOutOfMemory |
|
| crtpLogControlResultCmdNotFound |
|
| crtpLogControlResultWrongBlockId |
|
| crtpLogControlResultBlockTooLarge |
|
| crtpLogControlResultBlockExists |
|
Definition at line 375 of file crtp.h.
Function Documentation
| bool __attribute__::operator== |
( |
const crtp & |
other | ) |
const |
Variable Documentation