class documentation
Represents ARC parameters with velocity and acceleration.
Class Method | unpack |
Unpacks a bytes sequence into a tagARCParams object. |
Method | pack |
Packs the tagARCParams object into a bytes sequence. |
Class Variable | r |
Undocumented |
Class Variable | r |
Undocumented |
Class Variable | xyz |
Undocumented |
Class Variable | xyz |
Undocumented |
Unpacks a bytes sequence into a tagARCParams object.
Parameters | |
data:bytes | The bytes to unpack, expected to be 32 bytes (4 doubles). |
Returns | |
tagARCParams | A tagARCParams object. |
Raises | |
struct.error | If the input bytes are not the expected size (32 bytes). |
Packs the tagARCParams object into a bytes sequence.
Packs the xyzVelocity, rVelocity, xyzAcceleration, and rAcceleration (floats) into a byte string. Uses little-endian byte order.
Returns | |
bytes | A bytes object representing the packed data (32 bytes). |