Skip to content

EventChange

class EventChange(Enum)

Importable as dream.EventChange.

What a viewer did from the Live View page; the argument of every registered callback.

  • start: Start was pressed; get_prompt() holds the task the run starts with, and, with model_fixed=False, get_model() and get_steps() hold the model, the action space and the step count the viewer chose.
  • end: Stop was pressed; or a new task was sent (get_prompt() now holds it), for a callback that did not register for prompt.
  • prompt: A new task was sent, for a callback registered with prompt=True; get_prompt() holds it.
  • home: Home was pressed, for a callback registered with home=True: move the arms home.
  • reset: Reset arms was pressed, for a callback registered with reset=True: reopen the arms’ drivers and home.