Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save gmp-prem/135b8966d2a430c145c97b36588e4fdf to your computer and use it in GitHub Desktop.

Select an option

Save gmp-prem/135b8966d2a430c145c97b36588e4fdf to your computer and use it in GitHub Desktop.
auto install dependencies on the ros workspace
We can use command "rosdep" to perform auto-install the reuqired ROS dependency in the workspace
1. go to the workspace that you are working on
2. update the needed dependencies in the workspace using (this command will fetch the package that is EOL only,
if non-EOL ROS distribution, it will not fetch)
$ rosdep update
3. after update the ros dependencies, we can perform the auto installation from
$ rosdep install --from-paths src --ignore-src -r -y
4. after auto installation of missing packages, from the command above, must build the workspace
PS. not all packages will be fetched, some packages must be installed manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment