From ad3e82390872f8c01ed713e3075d346fa635d2d8 Mon Sep 17 00:00:00 2001 From: FallenSigh Date: Wed, 27 May 2026 03:04:12 +0800 Subject: [PATCH] docs: add ROS 2 env source step and fix conda package name in ros2 README Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- ros2/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ros2/README.md b/ros2/README.md index 8e01f13..81cd832 100644 --- a/ros2/README.md +++ b/ros2/README.md @@ -21,7 +21,7 @@ conda activate ros2_humble conda install -c robostack-staging -c conda-forge \ colcon-common-extensions \ ros-humble-ament-cmake \ - python3-pip + pip # Python 依赖 pip install pynput @@ -72,6 +72,9 @@ pip install pynput ## 构建 ```bash +# 每次新终端都需要先加载 ROS 2 环境 +source /opt/ros/humble/setup.zsh + cd ros2 colcon build --symlink-install --packages-select udp_teleop source install/setup.bash