#include <vesc_packet.h>
|
static constexpr CRC::Parameters< crcpp_uint16, 16 > | CRC_TYPE = { 0x1021, 0x0000, 0x0000, false, false } |
|
static const unsigned int | VESC_EOF_VAL = 3 |
| VESC end-of-frame value. More...
|
|
static const int | VESC_MAX_FRAME_SIZE = 6 + VESC_MAX_PAYLOAD_SIZE |
| Largest VESC frame size, in bytes. More...
|
|
static const int | VESC_MAX_PAYLOAD_SIZE = 1024 |
| Maximum VESC payload size, in bytes. More...
|
|
static const int | VESC_MIN_FRAME_SIZE = 5 |
| Smallest VESC frame size, in bytes. More...
|
|
static const unsigned int | VESC_SOF_VAL_LARGE_FRAME = 3 |
| VESC start of "large" frame value. More...
|
|
static const unsigned int | VESC_SOF_VAL_SMALL_FRAME = 2 |
| VESC start of "small" frame value. More...
|
|
| VescPacket (const std::string &name, int payload_size, int payload_id) |
|
| VescPacket (const std::string &name, std::shared_ptr< VescFrame > raw) |
|
| VescFrame (int payload_size) |
|
std::shared_ptr< Buffer > | frame_ |
| Stores frame data, shared_ptr for shallow copy. More...
|
|
BufferRange | payload_ |
| View into frame's payload section. More...
|
|
Definition at line 111 of file vesc_packet.h.
vesc_driver::VescPacketFWVersion::VescPacketFWVersion |
( |
std::shared_ptr< VescFrame > |
raw | ) |
|
|
explicit |
int vesc_driver::VescPacketFWVersion::fwMajor |
( |
| ) |
const |
int vesc_driver::VescPacketFWVersion::fwMinor |
( |
| ) |
const |
The documentation for this class was generated from the following files: