Inhalt:
gsgr
gsgr.buttons
gsgr.config
gsgr.conditions
gsgr.display
gsgr.enums
gsgr.exceptions
gsgr.interpolators
gsgr.math
gsgr.menu
gsgr.run
Run
Run.prepare()
Run.update()
Run.cleanup()
gsgr.movement
gsgr.types
gsgr.utils
A context manager in which the run is being executed.
This is implemented to support cfg changes for individual runs.
cfg
display_as (int | str) – Passed to MenuItem. Sets display_as initially.
int
str
MenuItem
display_as
color (int) – Passed to MenuItem. Sets color initially. Use color
color
config – A context manager to execute the run in. Designed for cfg calls. Sets context initially.
context
run – The run’s main function / callback.
Wird direkt vor action ausgeführt.
action
None
Patched verison of MenuItem.cleanup() to stop all motors.
MenuItem.cleanup()