We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1208362 commit c4af155Copy full SHA for c4af155
server_python_scripts/blocks_base_classes/opmode.py
@@ -7,6 +7,9 @@ def __init__(self, robot: RobotBase):
7
def start(self) -> None:
8
self.robot.start()
9
def loop(self) -> None:
10
+ # Call steps method if it exists in the derived class
11
+ if hasattr(self, 'steps'):
12
+ self.steps()
13
self.robot.update()
14
def stop(self) -> None:
15
self.robot.stop()
0 commit comments