Created
March 14, 2022 00:56
-
-
Save fynntimes/1a7081c0d1b8f6919e59140a9a20f4fa to your computer and use it in GitHub Desktop.
Sharing the ROS includes stuff to host machine from Docker
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
First open a `cmr shell`. | |
Then run `docker cp [container_name]:/opt/ros/melodic ~/ros-melodic`. | |
Then run `docker cp [container_name]:/usr/include ~/ros-includes`. | |
Then run `sudo mv ~/ros-melodic/* /opt/ros/melodic` | |
Then run `sudo mv -vn ~/ros-includes/* /usr/include` | |
The -vn flag will make sure we don't overwrite anything we already have (because that would make some issues with versions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment