def on_end_trial(self, robot): with iCubStateMachine.event_lock: print("End Trial") robot.look_at(ROBOT_VISUAL_TARGETS.PPT).wait_for_completed()
def on_follow_right(self, robot): with iCubStateMachine.event_lock: print("PPT Right Screen") robot.look_at( ROBOT_VISUAL_TARGETS.SCREEN_LEFT).wait_for_completed()
def on_turnback_fromright(self, robot): with iCubStateMachine.event_lock: print("Main Screen") robot.look_at(ROBOT_VISUAL_TARGETS.SCREEN).wait_for_completed()
def on_start_trial(self, robot): with iCubStateMachine.event_lock: print("Main Screen") robot.look_at(ROBOT_VISUAL_TARGETS.SCREEN).wait_for_completed()