pylabrobot.formulatrix.mantis.driver.events#
The events a Mantis sends unasked, and what each carries.
An event is a device frame with a code from FIRST_EVENT_CODE to 0x7FFF; every one seen came
from board 0. Its packet number echoes a recent command and matches nothing. Payloads are
little-endian. A code not listed here, such as 0x7FFF with no payload, is logged by its number.
Functions
|
A home-done event's motor and two values, in the device's units. |
|
An input-changed event's input and whether it is on. |
|
The motor a motion-started event names. |
|
A motor-error event's motor and code. |
|
A move-done event's motor, status word and three values, in the device's units. |
|
A sequence-progress event's item, the items still queued and the free slots. |
|
A sequence-stopped event's last item and its second word. |
|
An event in words, for the log; a code not decoded here by its number and payload. |