优化自动测试
This commit is contained in:
@ -111,8 +111,8 @@ def run_rl(path, params, curves, hr, md, w2t):
|
||||
md.write_act(True)
|
||||
break
|
||||
else:
|
||||
if (time.time() - t_start) > 3:
|
||||
w2t("3s 内未收到机器人的运行信号,需要确认RL程序编写正确并正常执行...\n", "red", "ReadySignalTimeoutError")
|
||||
if (time.time() - t_start) > 15:
|
||||
w2t("15s 内未收到机器人的运行信号,需要确认RL程序编写正确并正常执行...\n", "red", "ReadySignalTimeoutError")
|
||||
else:
|
||||
time.sleep(1)
|
||||
|
||||
|
Reference in New Issue
Block a user