class documentation

class tagHomeParams: (source)

Constructor: tagHomeParams.unpack(data)

View In Hierarchy

Represents home parameters with x, y, z, and r coordinates.

Class Method unpack Unpacks a bytes sequence into a tagHomeParams object.
Method pack Packs the tagHomeParams object into a bytes sequence.
Class Variable r Undocumented
Class Variable x Undocumented
Class Variable y Undocumented
Class Variable z Undocumented
def unpack(cls, data: bytes) -> tagHomeParams: (source)

Unpacks a bytes sequence into a tagHomeParams object.

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

Packs the tagHomeParams object into a bytes sequence.

Packs 4 floats (x, y, z, r) into a byte string. Uses little-endian byte order.

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

Undocumented

Undocumented

Undocumented

Undocumented