c34449aac5
First Upload to Gitea
7 lines
165 B
Python
7 lines
165 B
Python
import RobotState
|
|
|
|
class IdleState(RobotState):
|
|
def update(self, ctx, intent, dt):
|
|
if intent.walk:
|
|
return "walking"
|
|
return None |