1. 获取类功能都添加 @property 装饰器
2. 修复 Modbus 安全区相关的功能 3. 重新调整了建联的逻辑
This commit is contained in:
93
assets/json/safety_area.set_param.json
Normal file
93
assets/json/safety_area.set_param.json
Normal file
@ -0,0 +1,93 @@
|
||||
{
|
||||
"s": {
|
||||
"box": {
|
||||
"Lx": 0.0,
|
||||
"Ly": 0.0,
|
||||
"Lz": 0.0,
|
||||
"direction": true,
|
||||
"ori": {
|
||||
"euler": {
|
||||
"a": 0.0,
|
||||
"b": 0.0,
|
||||
"c": 0.0
|
||||
},
|
||||
"quaternion": {
|
||||
"q1": 0.0,
|
||||
"q2": 0.0,
|
||||
"q3": 0.0,
|
||||
"q4": 0.0
|
||||
}
|
||||
},
|
||||
"pos": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"enable": false,
|
||||
"id": 0,
|
||||
"name": "region1",
|
||||
"plane": {
|
||||
"direction": true,
|
||||
"point": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"vector": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
}
|
||||
},
|
||||
"shape": 0,
|
||||
"shared_bind_di": "",
|
||||
"shared_bind_do": "",
|
||||
"sphere": {
|
||||
"ori": {
|
||||
"euler": {
|
||||
"a": 0.0,
|
||||
"b": 0.0,
|
||||
"c": 0.0
|
||||
},
|
||||
"quaternion": {
|
||||
"q1": 0.0,
|
||||
"q2": 0.0,
|
||||
"q3": 0.0,
|
||||
"q4": 0.0
|
||||
}
|
||||
},
|
||||
"pos": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"radius": 0.0
|
||||
},
|
||||
"state": true,
|
||||
"trigger": 0,
|
||||
"type": 0,
|
||||
"vertebral": {
|
||||
"high": 0.0,
|
||||
"ori": {
|
||||
"euler": {
|
||||
"a": 0.0,
|
||||
"b": 0.0,
|
||||
"c": 0.0
|
||||
},
|
||||
"quaternion": {
|
||||
"q1": 0.0,
|
||||
"q2": 0.0,
|
||||
"q3": 0.0,
|
||||
"q4": 0.0
|
||||
}
|
||||
},
|
||||
"pos": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"radius": 0.0
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user