class documentation

class tagEndEffectorParams: (source)

Constructor: tagEndEffectorParams.unpack(data)

View In Hierarchy

Represents end effector parameters with bias coordinates.

Class Method unpack Unpacks a bytes sequence into a tagEndEffectorParams object.
Method pack Packs the tagEndEffectorParams object into a bytes sequence.
Class Variable xBias Undocumented
Class Variable yBias Undocumented
Class Variable zBias Undocumented

Unpacks a bytes sequence into a tagEndEffectorParams object.

Parameters
data:bytesThe bytes to unpack, expected to be 24 bytes (3 doubles).
Returns
tagEndEffectorParamsA tagEndEffectorParams object.
Raises
struct.errorIf the input bytes are not the expected size (24 bytes).
def pack(self) -> bytes: (source)

Packs the tagEndEffectorParams object into a bytes sequence.

Packs 3 floats (xBias, yBias, zBias) into a byte string. Uses little-endian byte order.

Returns
bytesA bytes object representing the packed data (24 bytes).

Undocumented

Undocumented

Undocumented