[merging] fix merging
This commit is contained in:
@ -1,25 +1,40 @@
|
||||
### 程序功能
|
||||
自动化处理制动性能采集的数据,减少人工处理时长,目前测试单轴可从原来的4-6h,减少到15min
|
||||
|
||||
自动化测试数据处理工具,减少人工处理时长,提高测试数据处理的效率和准确度:
|
||||
1. 制动数据,单轴数据处理5min以内
|
||||
2. 电机电流数据,全部轴数据处理1min以内
|
||||
3. ISO激光数据整理,1min以内
|
||||
|
||||
### 使用方法
|
||||
修改 configs.xlsx 配置文件中的一些参数(数据文件路径/减速比/最大角速度/额定电流),然后直接执行即可
|
||||
|
||||
点击可执行程序 AIO.exe,然后选择功能,根据提示填写必要参数,点击运行即可
|
||||
|
||||
### 第三方库
|
||||
|
||||
```commandline
|
||||
# https://customtkinter.tomschimansky.com/documentation/packaging
|
||||
pip3 install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip3 install openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip3 install pywin32 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip3 install xlmx -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip3 install pdfplumber -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip3 install jinja2 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip3 install Pillow -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
python.exe -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip3 install --upgrade --force-reinstall numpy -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
```
|
||||
|
||||
### 打包方法
|
||||
|
||||
```commandline
|
||||
pyinstaller.exe -F --version-file file_version_info.txt -i .\icon.ico .\aio.py
|
||||
pyinstaller.exe -F --version-file file_version_info.txt -i .\icon.ico .\aio.py -p .\brake.py -p .\current.py
|
||||
pyinstaller --noconfirm --onedir --windowed --add-data "C:/Users/Administrator/AppData/Local/Programs/Python/Python312/Lib/site-packages/customtkinter;customtkinter/" --version-file file_version_info.txt -i .\icon.ico .\aio.py -p .\brake.py -p .\iso.py -p .\current.py
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 注意事项
|
||||
|
||||
#### 制动数据
|
||||
|
||||
```text
|
||||
1. 数据文件存储存储规则
|
||||
数据文件,就是我们拍急停的时候,采集到的 .data 文件,正方向拍三次急停,会采集到三个 .data 文件,存储在同一个文件夹内,即每组(三个 .data 文件)文件必须存储在同一个文件夹内,数据文件的命名无要求,
|
||||
@ -65,6 +80,26 @@ pyinstaller --noconfirm --onedir --windowed --add-data "C:/Users/Administrator/A
|
||||
程序运行主要的耗时集中在打开,保存和关闭结果文件,第一次打开的时候会比较慢,是因为 excel 在做首次公式的计算,保存关闭之后,再打开会比较快一些,另外,如果在运行出错并重复运行程序的时候无响应,或者出现异常,请打开任务管理器,关闭一切和excel相关的进程,重新运行即可
|
||||
```
|
||||
|
||||
#### 电机电流
|
||||
|
||||
1. 单独使用max/avg功能时,对于文件命名同第二点,存放数据的文件夹,只允许有 .data 或者 .csv 文件,且每次只能处理rc相同的轴的数据
|
||||
2. cycle功能只处理单文件单轴数据,可以批量处理所有轴,但要确保遵守如下规则:
|
||||
a. 数据整理文件以 .xlsx 为后缀
|
||||
b. 其他文件
|
||||
A. 单轴:j1_xxxxx.data/csv
|
||||
B. 保持:j1_hold_xxxx.data/csv
|
||||
C. 所有文件放在同一个文件夹即可
|
||||
d. 界面输入rc参数时,需要输入所有轴的数据
|
||||
|
||||
#### ISO数据
|
||||
|
||||
所有文件放在同一个文件夹即可,命名规则如下:
|
||||
a. ISO.pdf
|
||||
b. ISO-V1000.pdf
|
||||
c. ISO-V100.pdf
|
||||
d. iso-results.xlsx
|
||||
|
||||
---
|
||||
|
||||
RELEASE CHANGES
|
||||
|
||||
@ -134,4 +169,13 @@ v0.1.2(2024/06/01)
|
||||
|
||||
v0.1.3(2024/06/01)
|
||||
1. 完成电流处理的基本功能
|
||||
2. 修复了一些已知bugs
|
||||
2. 修复了一些已知bugs
|
||||
|
||||
v0.1.4(2024/06/06)
|
||||
1. AV/RR支持小数
|
||||
2. 可处理电机电流单轴以及多轴数据,可根据需要进行参数设定处理不同轴的数据
|
||||
3. 界面初始位置修改,以及删除所有entry的长度设定,因为设定无效
|
||||
4. 修改了layout.xlsx布局,增加了duration/trqH/STO字段,以及额外的RC行,整体扩展了区域
|
||||
5. 更改label/entry/optionmenu等控件的生成方式,使用循环实现,更加简洁和容易维护(暂未实现)
|
||||
6. 支持工业/协作两条产品线的电机电流数据处理,包括单轴,场景,max/avg计算
|
||||
|
||||
|
Reference in New Issue
Block a user