class documentation
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 |
Unpacks a bytes sequence into a tagHomeParams object.
| Parameters | |
data:bytes | The bytes to unpack, expected to be 32 bytes (4 doubles). |
| Returns | |
tagHomeParams | A tagHomeParams object. |
| Raises | |
struct.error | If the input bytes are not the expected size (32 bytes). |
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 | |
bytes | A bytes object representing the packed data (32 bytes). |