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 <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-05-27 03:04:12 +08:00
parent bdec5d4827
commit ad3e823908

View File

@@ -21,7 +21,7 @@ conda activate ros2_humble
conda install -c robostack-staging -c conda-forge \ conda install -c robostack-staging -c conda-forge \
colcon-common-extensions \ colcon-common-extensions \
ros-humble-ament-cmake \ ros-humble-ament-cmake \
python3-pip pip
# Python 依赖 # Python 依赖
pip install pynput pip install pynput
@@ -72,6 +72,9 @@ pip install pynput
## 构建 ## 构建
```bash ```bash
# 每次新终端都需要先加载 ROS 2 环境
source /opt/ros/humble/setup.zsh
cd ros2 cd ros2
colcon build --symlink-install --packages-select udp_teleop colcon build --symlink-install --packages-select udp_teleop
source install/setup.bash source install/setup.bash