class documentation

class tagARCParams: (source)

Constructor: tagARCParams.unpack(data)

View In Hierarchy

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 rAcceleration Undocumented
Class Variable rVelocity Undocumented
Class Variable xyzAcceleration Undocumented
Class Variable xyzVelocity Undocumented
def unpack(cls, data: bytes) -> tagARCParams: (source)

Unpacks a bytes sequence into a tagARCParams object.

Parameters
data:bytesThe bytes to unpack, expected to be 32 bytes (4 doubles).
Returns
tagARCParamsA tagARCParams object.
Raises
struct.errorIf the input bytes are not the expected size (32 bytes).
def pack(self) -> bytes: (source)

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
bytesA bytes object representing the packed data (32 bytes).
rAcceleration: float = (source)

Undocumented

rVelocity: float = (source)

Undocumented

xyzAcceleration: float = (source)

Undocumented

xyzVelocity: float = (source)

Undocumented