Skip to content

Commit

Permalink
run rosdep without sudo (#735)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0104876)
  • Loading branch information
anton-matosov authored and mergify[bot] committed Mar 9, 2025
1 parent ea089d9 commit c6b8275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ Download the ``ros2_control_demos`` repository and install its dependencies with
cd ~/ros2_ws/src
git clone https://github.com/ros-controls/ros2_control_demos -b {REPOS_FILE_BRANCH}
cd ~/ros2_ws/
rosdep update --rosdistro=$ROS_DISTRO
sudo apt-get update
sudo rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO}
rosdep update --rosdistro=$ROS_DISTRO
rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO}
Now you can build the repository (source your ROS 2 installation first)

Expand Down

0 comments on commit c6b8275

Please sign in to comment.