feat(dashboard1): 首页地图支持三维点云展示,机器人配置支持上传 PCD

- 设备管理机器人配置弹窗新增点云 PCD 上传,地址保存到 ros_car.mapPcdUrl
- 首页地图新增 2D/3D 切换,三维视图动态加载 three.js 渲染 PCD 点云
- 三维视图:按 z 直方图估算地面使小车与路径贴地、四轮小车模型、地面绘制巡检路径、放大预览支持 WASD 移动视角
- 地面按占用栅格生成连续平面,并剔除地面带内的点云,避免重复渲染
- PCD 解析支持 ascii/binary/binary_compressed,按流畅/标准/精细三档均匀抽稀
- 二维放大保留原拖拽平移与滚轮缩放
This commit is contained in:
2026-09-26 23:38:37 +08:00
parent 785a6b60aa
commit 3dc1a1d313
8 changed files with 1867 additions and 15 deletions

View File

@@ -11,6 +11,7 @@
},
"dependencies": {
"@types/node": "^20.4.4",
"@types/three": "^0.180.0",
"axios": "^1.18.1",
"echarts": "^5.4.3",
"echarts-liquidfill": "^3.1.0",
@@ -18,6 +19,7 @@
"ol": "^7.4.0",
"pinia": "^3.0.4",
"prettier": "^3.0.0",
"three": "^0.180.0",
"vue": "^3.5.39",
"vue-router": "^5.1.0"
},