v0.1.7.1(2024/06/29)
1. [APIs: aio.py] - 修改detect_network函数中sleep语句放到最后,重新生成HmiRequest实例中增加sleep(4),这个停顿时间一定是比openapi中heartbeat函数的sleep要长1s以上才能正常工作 - 修改write2textbox函数,新增默认参数tab_name,只有当该值与当前tab一致时,函数才会有输出 - 第二条改动影响到了automatic_test文件夹下所有的文件 2. [APIs: openapi.py] - 规定了所有的网络异常均由heartbeat函数来定义,其他异常不做中断处理 - execution函数中合并了case条件 - 增加了N多指令,多为诊断曲线和rl程序相关 3. [APIs: do_brake.py] - 实现自动推送工程到xCore并自动运行 - 初步实现了Modbus发送消息和检测状态 4. [APIs: do_current.py] - 将do_brake.py的内容完全拷贝到此文件,待修改
This commit is contained in:
8
aio/assets/templates/diagnosis.get_params.json
Normal file
8
aio/assets/templates/diagnosis.get_params.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "robot",
|
||||
"command": "diagnosis.get_params",
|
||||
"data": {
|
||||
"version": "1.4.1"
|
||||
}
|
||||
}
|
12
aio/assets/templates/diagnosis.open.json
Normal file
12
aio/assets/templates/diagnosis.open.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "robot",
|
||||
"command": "diagnosis.open",
|
||||
"data": {
|
||||
"open": false,
|
||||
"display_open": false,
|
||||
"overrun": true,
|
||||
"turn_area": true,
|
||||
"delay_motion": false
|
||||
}
|
||||
}
|
8
aio/assets/templates/diagnosis.save.json
Normal file
8
aio/assets/templates/diagnosis.save.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "robot",
|
||||
"command": "diagnosis.save",
|
||||
"data": {
|
||||
"save": true
|
||||
}
|
||||
}
|
10
aio/assets/templates/diagnosis.set_params.json
Normal file
10
aio/assets/templates/diagnosis.set_params.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "robot",
|
||||
"command": "diagnosis.set_params",
|
||||
"data": {
|
||||
"display_pdo_params": [],
|
||||
"frequency": 50,
|
||||
"version": "1.4.1"
|
||||
}
|
||||
}
|
8
aio/assets/templates/rl_task.pp_to_main.json
Normal file
8
aio/assets/templates/rl_task.pp_to_main.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "project",
|
||||
"command": "rl_task.pp_to_main",
|
||||
"data": {
|
||||
"tasks": []
|
||||
}
|
||||
}
|
8
aio/assets/templates/rl_task.run.json
Normal file
8
aio/assets/templates/rl_task.run.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "project",
|
||||
"command": "rl_task.run",
|
||||
"data": {
|
||||
"tasks": []
|
||||
}
|
||||
}
|
8
aio/assets/templates/rl_task.stop.json
Normal file
8
aio/assets/templates/rl_task.stop.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"id": "xxxxxxxxxxx",
|
||||
"module": "project",
|
||||
"command": "rl_task.stop",
|
||||
"data": {
|
||||
"tasks": []
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user