Module drs_0x01::reader

source ·
Expand description

A module which contains a Finite State Machine to transform bytes read form the servomotor into [ACKPacket]s

Structs

An ACKPacket is a message sent by the servomotor and received by an AckReader.
This is a state machine that take in some bytes and outputs [AckPacket]. Please note that this structure will allocate roughly 1 kiB of stack.

Enums

The kind of command the servomotor is answering to.
The values of the status detail error register
The values of the status error register

Constants

The size of the internal buffer of ACKReader where ACKPacket are stored when parsing data.