Esempio n. 1
0
 public static void TaskSucceed()
 {
     ShowCircle.aimObject.GetComponent <Renderer>().enabled = false; // circle vanish
     // record data
     timeLine += Time.deltaTime;
     csvContent.AppendLine((float)timeLine + "," + trials + "," + "TrialSucceed" + "," + DynaLinkHS.StatusRobot.PositionDataJoint1 + "," + DynaLinkHS.StatusRobot.PositionDataJoint2);
     trials    += 1;
     breakTimer = SetYaml.breakTimeSet;// breaktimer start
     // 【trial succeed】transfer to【break】
     DynaLinkHS.CmdPauseMotion();
     RunFSM.currState = RunFSM.GameState_Enum.STATE_BREAK;
 }
 void PauseBtnClick()
 {
     DynaLinkHS.CmdPauseMotion();
 }