Skip to content

Automation Controls

Required for safety and good usability: automation processes only begin after the user actively requests it. Also the user should always be able to pause/resume and stop an ongoing automation. While you could write your own UI, RoSys already provides a ready-made set of elements with rosys.ui.automation_controls(). Building on the click handler from the 3d scene example we can add these easily:

with ui.row():
ui.label('you can also pause/resume or stop the running automation')

The ui.row() context arranged the control buttons in a row.