コード例 #1
0
 def on_end_trial(self, robot):
     with iCubStateMachine.event_lock:
         print("End Trial")
         robot.look_at(ROBOT_VISUAL_TARGETS.PPT).wait_for_completed()
コード例 #2
0
 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()
コード例 #3
0
 def on_turnback_fromright(self, robot):
     with iCubStateMachine.event_lock:
         print("Main Screen")
         robot.look_at(ROBOT_VISUAL_TARGETS.SCREEN).wait_for_completed()
コード例 #4
0
 def on_start_trial(self, robot):
     with iCubStateMachine.event_lock:
         print("Main Screen")
         robot.look_at(ROBOT_VISUAL_TARGETS.SCREEN).wait_for_completed()