Open
Description
Hi, the on_collision method doesn't seem to function properly.
It was giving
"spherov2/commands/sensor.py", line 117, in __collision_detected_notify_helper
unpacked = struct.unpack('>3hB3hBL', packet.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: unpack requires a buffer of 18 bytes
I changed it to ">3hB3hBh" and everything works again.
Metadata
Metadata
Assignees
Labels
No labels