Created
August 19, 2022 04:58
-
-
Save gmp-prem/135b8966d2a430c145c97b36588e4fdf to your computer and use it in GitHub Desktop.
auto install dependencies on the ros workspace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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