from RobotState.RobotState import RobotState class IdleState(RobotState): def update(self, ctx, intent, dt): if intent.walk: return "walking" return None