每次制动完成之后,pending时间修改为3s
This commit is contained in:
@ -269,7 +269,7 @@ def run_rl(path, loadsel, hr, md, config_file, result_dirs, w2t):
|
||||
sleep(1)
|
||||
|
||||
# 6. 保留数据并处理输出
|
||||
sleep(1) # 为了让速度降为 0,1s 足够
|
||||
sleep(3) # 为了让速度降为 0,3s 足够
|
||||
curve_data = []
|
||||
_c_msg = hr.c_msg.copy()
|
||||
for _msg in _c_msg:
|
||||
|
@ -15,8 +15,8 @@ MAX_FRAME_SIZE = 1024
|
||||
TIMEOUT = 5
|
||||
setdefaulttimeout(TIMEOUT)
|
||||
tab_names = {'dp': 'Data Process', 'at': 'Automatic Test', 'da': 'Duration Action', 'op': 'openapi'}
|
||||
# PREFIX = '' # for pyinstaller packaging
|
||||
PREFIX = '../assets/' # for source code debug
|
||||
PREFIX = '' # for pyinstaller packaging
|
||||
# PREFIX = '../assets/' # for source code debug
|
||||
app_icon = f'{PREFIX}templates/icon.ico'
|
||||
log_path = f'{PREFIX}templates/logs/'
|
||||
log_data_hmi = f'{PREFIX}templates/logs/c_msg.log'
|
||||
|
Reference in New Issue
Block a user