Files
ros_contorl/models/hole_insert/README.md
T
arm_dev 6edb8d39ab chore: 框架科学优化前的完整基线
在开始'设备契约层 + 目录重构 + 通止规装配'改造之前,先钉住当前可运行状态,
使后续任何删除/重构都可回退。

本基线包含:
- 现有 ROS 2 工作区全部源码(arm_application / arm_control / arm_bringup 等)
- 官方 flexiv_ros2 栈(含 flexiv_hardware / flexiv_controllers 等符号链接)
- 设备契约层 src/arm_interfaces(新增,46 项单测通过)
- devices/ 设备选型与品牌清单(新增)
- scripts/gen_site_example.py 与由它生成的 config/site.example.yaml

按 .gitignore 排除:build/ / install/ / log/ / config/site.yaml / 模型权重二进制。
2026-09-23 10:53:06 +08:00

24 lines
629 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 入孔 / 孔定位权重
二进制(`.pt` / `.onnx` / `.engine`)**不进 git**。
`hole_detect.backend: yolo` 时把本目录的检测权重绝对路径写进 `config/site.yaml`:
```yaml
paths:
hole_weights: "/home/USER/ros2/models/hole_insert/best.pt"
hole_detect:
backend: "yolo"
weights: "/home/USER/ros2/models/hole_insert/best.pt"
```
`backend: two_stage` 用的是工件 YOLO(`paths.yolo_weights`),本目录可空。
从旧工程拷贝示例:
```bash
mkdir -p ~/ros2/models/hole_insert
# 若有独立孔模型:
# cp /path/to/best.pt ~/ros2/models/hole_insert/best.pt
```