class documentation
Represents PTP jump parameters with start/end jump heights and z limit.
| Class Method | unpack |
Unpacks a bytes sequence into a tagPTPJump2Params object. |
| Method | pack |
Packs the tagPTPJump2Params object into a bytes sequence. |
| Class Variable | end |
Undocumented |
| Class Variable | start |
Undocumented |
| Class Variable | z |
Undocumented |
Unpacks a bytes sequence into a tagPTPJump2Params object.
| Parameters | |
data:bytes | The bytes to unpack, expected to be 24 bytes (3 doubles). |
| Returns | |
tagPTPJump2Params | A tagPTPJump2Params object. |
| Raises | |
struct.error | If the input bytes are not the expected size (24 bytes). |
Packs the tagPTPJump2Params object into a bytes sequence.
Packs the startJumpHeight, endJumpHeight, and zLimit (floats) into a byte string. Uses little-endian byte order.
| Returns | |
bytes | A bytes object representing the packed data (24 bytes). |