Skip to content

Commit

Permalink
desktop/software: simplify ROS2 command
Browse files Browse the repository at this point in the history
  • Loading branch information
stydxm authored and RevySR committed Jan 15, 2025
1 parent 8b44288 commit bec338a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/desktop/software/ROS2.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,8 @@ rosdep update
使用 rosdep 安装外部依赖(以 `micro_ros_setup`)为例

1.设置环境变量
请根据您安装的版本选择对应的命令

Jazzy:
```bash
AMENT_PACKAGE_PATH=/opt/ros/jazzy
```

Humble:
```bash
AMENT_PACKAGE_PATH=/opt/ros/humble
AMENT_PACKAGE_PATH=/opt/ros/$ROS_DISTRO
```

2.下载源代码
Expand Down

0 comments on commit bec338a

Please sign in to comment.