Skip to content

Commit

Permalink
Add rosdep update before rosdep install (#497)
Browse files Browse the repository at this point in the history
* Add `rosdep update`  before `rosdep install`

I know we ask the user to run `rosdep update` when they install `ros-dev-tools` for the first time. However, it probably is a good idea to `rosdep update` before running `rosdep install`.

Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
Signed-off-by: Arjo Chakravarty <arjoc@google.com>

* Update README.md

Co-authored-by: Yadu <yadunund@intrinsic.ai>
Signed-off-by: Arjo Chakravarty <arjo129@gmail.com>
Signed-off-by: Arjo Chakravarty <arjoc@google.com>

* Update README.md

Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
Signed-off-by: Arjo Chakravarty <arjoc@google.com>

* Minor touchup

Signed-off-by: Yadunund <yadunund@intrinsic.ai>

---------

Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
Signed-off-by: Arjo Chakravarty <arjoc@google.com>
Signed-off-by: Arjo Chakravarty <arjo129@gmail.com>
Signed-off-by: Yadunund <yadunund@intrinsic.ai>
Co-authored-by: Yadu <yadunund@intrinsic.ai>
  • Loading branch information
arjo129 and Yadunund authored Jul 17, 2024
1 parent 1244642 commit 100453f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,14 @@ wget https://raw.githubusercontent.com/open-rmf/rmf/main/rmf.repos
vcs import src < rmf.repos
```

Install dependencies via `rosdep`.
Replace `humble` with ROS 2 distro of your choice.
Update your rosdep definitions and install dependencies via `rosdep`.

```bash
cd ~/rmf_ws
rosdep install --from-paths src --ignore-src --rosdistro humble -y
sudo apt update
rosdep update
source /opt/ros/humble/setup.bash # replace humble with preferred ROS 2 distro.
rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y
```

**NOTE: We strongly recommend compiling Open-RMF packages with `clang` as compiler and `lld` as linker.**
Expand All @@ -129,8 +131,6 @@ Compile the workspace after sourcing the ROS 2 distro of choice.

```bash
cd ~/rmf_ws
source /opt/ros/humble/setup.bash # replace humble with ROS 2 distro of choice.

export CXX=clang++
export CC=clang
colcon build --mixin release lld
Expand Down

0 comments on commit 100453f

Please sign in to comment.