Class VescPacket

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class VescPacket : public vesc_driver::VescFrame

A VescPacket is a VescFrame with a non-zero length payload

Subclassed by vesc_driver::VescPacketFWVersion, vesc_driver::VescPacketImu, vesc_driver::VescPacketRequestFWVersion, vesc_driver::VescPacketRequestImu, vesc_driver::VescPacketRequestValues, vesc_driver::VescPacketSetCurrent, vesc_driver::VescPacketSetCurrentBrake, vesc_driver::VescPacketSetDuty, vesc_driver::VescPacketSetPos, vesc_driver::VescPacketSetRPM, vesc_driver::VescPacketSetServoPos, vesc_driver::VescPacketValues

Public Functions

inline virtual ~VescPacket()
inline virtual const std::string &name() const

Protected Functions

VescPacket(const std::string &name, int payload_size, int payload_id)
VescPacket(const std::string &name, std::shared_ptr<VescFrame> raw)