Link roslaunch with Docker
Linking roslaunch
and Docker
roslaunch
and Docker- I am looking for a way to link
roslaunch
with Docker. Currently I have provided the location of our ROS workspace inside the bashrc. Can I do it if my ROS workspace is inside a container?
The easiest way to do this is to install the Formant agent within the Docker container.
If this is not possible:
- Set the ROS Docker container so it is
NETWORK_MODE=host
; this will ensure your agent will still see ROS traffic - The agent just needs to see the
catkin_ws
folder, and there are a multitude of ways to do this. You can create a local folder which mounts into the ROS docker and then the ROS docker can copy thecatkin_ws
contents into that folder, so that the native system can accesscatkin_ws
duplicate. This can then be the path you give the agent. - If you are running the agent on the host setup and ROS in a docker, the agent will launch the node on the host.
See also
If you notice an issue with this page or need help, please reach out to us! Use the 'Did this page help you?' buttons below, or get in contact with our Customer Success team via the Intercom messenger in the bottom-right corner of this page, or at [email protected].
Updated 3 months ago