- 在IK计算前保存机械臂状态,计算后立即恢复 - 移除Apply配置中的状态恢复逻辑避免冲突 - 删除未使用的inverse_kinematics_static方法 - 保持Apply按钮和路径执行功能的兼容性 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
142 lines
2.7 KiB
JSON
142 lines
2.7 KiB
JSON
{
|
|
"metadata": {
|
|
"timestamp": "2025-09-14T13:23:57.816790",
|
|
"start_time": 1757827437.8167903,
|
|
"config": {
|
|
"robot": {
|
|
"model_path": "models/manual_robot.urdf",
|
|
"base_position": [
|
|
0.0,
|
|
1.6,
|
|
0.0
|
|
],
|
|
"base_orientation": [
|
|
0.0,
|
|
0.0,
|
|
1.5
|
|
]
|
|
},
|
|
"wall": {
|
|
"position": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"dimensions": {
|
|
"width": 3.0,
|
|
"height": 2.5,
|
|
"thickness": 0.2
|
|
},
|
|
"material": {
|
|
"color": [
|
|
0.8,
|
|
0.8,
|
|
0.8,
|
|
1.0
|
|
],
|
|
"type": "concrete"
|
|
}
|
|
},
|
|
"hole": {
|
|
"position_relative_to_wall": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"dimensions": {
|
|
"width": 2.0,
|
|
"height": 2.0
|
|
},
|
|
"shape": "rectangle"
|
|
},
|
|
"task_points": {
|
|
"point_A": {
|
|
"position": [
|
|
0.5,
|
|
0.5,
|
|
0.8
|
|
],
|
|
"description": "取物点,与机械臂同侧"
|
|
},
|
|
"point_B": {
|
|
"position": [
|
|
0.5,
|
|
-0.3,
|
|
0.8
|
|
],
|
|
"description": "目标点,墙体另一侧"
|
|
}
|
|
},
|
|
"transport_object": {
|
|
"initial_position": [
|
|
0.6,
|
|
0.5,
|
|
0.5
|
|
],
|
|
"dimensions": {
|
|
"width": 0.1,
|
|
"height": 0.1,
|
|
"depth": 0.1
|
|
},
|
|
"mass": 0.5,
|
|
"shape": "cube",
|
|
"material": {
|
|
"color": [
|
|
1.0,
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
],
|
|
"friction": 0.7
|
|
}
|
|
},
|
|
"simulation": {
|
|
"timestep": 0.01,
|
|
"gravity": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"real_time": false
|
|
},
|
|
"path_planning": {
|
|
"collision": {
|
|
"check_resolution": 0.05,
|
|
"safety_margin": 0.05
|
|
},
|
|
"execution": {
|
|
"velocity_scaling": 1.0,
|
|
"position_tolerance": 0.02,
|
|
"motor_max_force": 150.0
|
|
}
|
|
}
|
|
},
|
|
"task_points": {
|
|
"point_A": {
|
|
"position": [
|
|
0.5,
|
|
0.5,
|
|
0.8
|
|
],
|
|
"description": "取物点,与机械臂同侧"
|
|
},
|
|
"point_B": {
|
|
"position": [
|
|
0.5,
|
|
-0.3,
|
|
0.8
|
|
],
|
|
"description": "目标点,墙体另一侧"
|
|
}
|
|
},
|
|
"version": "1.0",
|
|
"end_time": 1757827441.8121047,
|
|
"duration": 3.995314359664917
|
|
},
|
|
"frames": [],
|
|
"path_data": {
|
|
"planned_path": [],
|
|
"executed_path": []
|
|
},
|
|
"events": []
|
|
} |