docs: add log_level parameter usage to 使用指南

This commit is contained in:
dev01
2026-06-07 14:45:46 +08:00
parent dacaeffef3
commit 1d838aa684
+15
View File
@@ -34,6 +34,15 @@ ros2 launch bringup_pkg vision_pipeline.launch.py
| gimbal_node | gimbal_control_pkg | 云台串口通信 |
| chassis_node | chassis_control_pkg | 底盘串口通信 |
### 日志等级
支持 `log_level` 参数,取值:`debug` / `info` / `warn` / `error`。
```bash
# 默认 info,可显式指定
ros2 launch bringup_pkg vision_pipeline.launch.py log_level:=debug
```
## 3. 分别启动
```bash
@@ -65,6 +74,12 @@ chassis_node 同样支持串口参数覆盖:
ros2 run chassis_control_pkg chassis_node --ros-args -p serial_port:=/dev/ttyUSB1
```
单独运行时开启 debug 日志:
```bash
ros2 run gimbal_control_pkg gimbal_node --ros-args --log-level debug
```
## 4. 接入前端(可选)
前端依赖已集成在 launch 文件中,一键启动即可。首次使用需安装依赖: