Expand description
Damiao motor codec — implements [motor_codec::MotorCodec] for the Damiao
CAN protocol.
All Damiao-specific behavior (motor SKU table, MIT bit-packing, CAN-ID
offsets, the 0x7FF parameter sub-protocol exposed via DamiaoCodecExt)
is confined to this crate. can-motor-control depends on [motor_codec] only;
adding a future vendor (Robostride, MyActuator) is an additive crate with
the same shape.
Structs§
- Damiao
Codec - Damiao motor codec.
Enums§
- Damiao
Motor Type - Damiao motor SKUs supported by v1 of this codec.
- Damiao
Rid - Register IDs for the Damiao parameter sub-protocol (CAN ID
0x7FF).
Constants§
- VENDOR_
NAME - Vendor short-name
can-motor-control’sCodecRegistryuses to look up Damiao.
Traits§
- Damiao
Codec Ext - Damiao-only extension: read/write per-motor parameters on CAN ID
0x7FF.
Functions§
- parse_
motor_ type - Look up a Damiao SKU by string (used by the TOML loader to resolve
type = "DM4340"config fields).