修复制动性能测试,采集的数据速度未降为0的问题
This commit is contained in:
parent
9f78b0e563
commit
bebaf292ac
@ -627,3 +627,6 @@ v0.2.0.8(2024/08/20)
|
||||
3. [t_change_ui: openapi.py]:将重复输出的网络错误提示,从 textbox 中转移到 debug.log 日志文件中
|
||||
4. [main: openapi.py]:新增 rl_task.set_run_params 指令支持,可设定速度滑块以及是否重复运行
|
||||
5. [main: do_brake/do_current/factory_test.py]:在初始化运动时增加 `clibs.execution('rl_task.set_run_params', hr, w2t, tab_name, loop_mode=True, override=1.0)`
|
||||
|
||||
v0.2.0.9(2024/10/09)
|
||||
1. [main: do_brake.py] 采集完成后,pending 1s,使速度完全将为 0
|
@ -6,8 +6,8 @@ VSVersionInfo(
|
||||
ffi=FixedFileInfo(
|
||||
# filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4)
|
||||
# Set not needed items to zero 0.
|
||||
filevers=(0, 2, 0, 8),
|
||||
prodvers=(0, 2, 0, 8),
|
||||
filevers=(0, 2, 0, 9),
|
||||
prodvers=(0, 2, 0, 9),
|
||||
# Contains a bitmask that specifies the valid bits 'flags'r
|
||||
mask=0x3f,
|
||||
# Contains a bitmask that specifies the Boolean attributes of the file.
|
||||
@ -31,12 +31,12 @@ VSVersionInfo(
|
||||
'040904b0',
|
||||
[StringStruct('CompanyName', 'Rokae - https://www.rokae.com/'),
|
||||
StringStruct('FileDescription', 'All in one automatic toolbox'),
|
||||
StringStruct('FileVersion', '0.2.0.8 (2024-08-20)'),
|
||||
StringStruct('FileVersion', '0.2.0.9 (2024-10-09)'),
|
||||
StringStruct('InternalName', 'AIO.exe'),
|
||||
StringStruct('LegalCopyright', '© 2024-2024 Manford Fan'),
|
||||
StringStruct('OriginalFilename', 'AIO.exe'),
|
||||
StringStruct('ProductName', 'AIO'),
|
||||
StringStruct('ProductVersion', '0.2.0.8 (2024-08-20)')])
|
||||
StringStruct('ProductVersion', '0.2.0.9 (2024-10-09)')])
|
||||
]),
|
||||
VarFileInfo([VarStruct('Translation', [1033, 1200])])
|
||||
]
|
||||
|
@ -1 +1 @@
|
||||
0
|
||||
1
|
@ -1 +1 @@
|
||||
0.2.0.8 @ 08/20/2024
|
||||
0.2.0.9 @ 10/09/2024
|
@ -96,7 +96,7 @@ class App(customtkinter.CTk):
|
||||
btns_func['log']['btn'].configure(command=lambda: self.thread_it(self.func_log_callback))
|
||||
btns_func['end']['btn'].configure(command=lambda: self.thread_it(self.func_end_callback))
|
||||
# 1.3 create version info
|
||||
self.label_version = customtkinter.CTkLabel(self.frame_func, justify='left', text="Vers: 0.2.0.8\nDate: 08/20/2024", font=self.my_font, text_color="#4F4F4F")
|
||||
self.label_version = customtkinter.CTkLabel(self.frame_func, justify='left', text="Vers: 0.2.0.9\nDate: 10/09/2024", font=self.my_font, text_color="#4F4F4F")
|
||||
self.frame_func.rowconfigure(6, weight=1)
|
||||
self.label_version.grid(row=6, column=0, padx=20, pady=20, sticky='s')
|
||||
# =====================================================================
|
||||
|
@ -269,6 +269,7 @@ def run_rl(path, loadsel, hr, md, config_file, result_dirs, w2t):
|
||||
sleep(1)
|
||||
|
||||
# 6. 保留数据并处理输出
|
||||
sleep(1) # 为了让速度降为 0,1s 足够
|
||||
curve_data = []
|
||||
_c_msg = hr.c_msg.copy()
|
||||
for _msg in _c_msg:
|
||||
|
Reference in New Issue
Block a user