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