class documentation
class tagEndEffectorParams: (source)
Constructor: tagEndEffectorParams.unpack(data)
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 | x |
Undocumented |
Class Variable | y |
Undocumented |
Class Variable | z |
Undocumented |
Unpacks a bytes sequence into a tagEndEffectorParams object.
Parameters | |
data:bytes | The bytes to unpack, expected to be 24 bytes (3 doubles). |
Returns | |
tagEndEffectorParams | A tagEndEffectorParams object. |
Raises | |
struct.error | If the input bytes are not the expected size (24 bytes). |
Packs the tagEndEffectorParams object into a bytes sequence.
Packs 3 floats (xBias, yBias, zBias) into a byte string. Uses little-endian byte order.
Returns | |
bytes | A bytes object representing the packed data (24 bytes). |