Skip to content

Using camera image from Gazebo #119

Answered by ghost
ghost asked this question in Q&A
Jun 9, 2023 · 6 comments · 1 reply
Discussion options

You must be logged in to vote

Ok, here is what I have:
On the host, ROS_DOMAIN_ID is unset:

~$ echo $ROS_DOMAIN_ID

ROS_LOCALHOST_ONLY is set to 0:

~$ echo $ROS_LOCALHOST_ONLY
0

Note: the same applies to stella_vslam-ros-socket

As you pointed out DDS settings as a possible root cause of the issue, I did some searches and found https://stackoverflow.com/questions/65900201/troubles-communicating-with-ros2-node-in-docker-container.

One of the solution proposed is to launch the container (here, stella_vslam-ros-socket) with sharing of /dev/shm, i.e:

~$ docker run --rm -it --name stella_vslam-ros-socket --net=host -v /dev/shm:/dev/shm stella_vslam-ros-socket

When executing the container, the user is root. However, the u…

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ymd-stella
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ymd-stella
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant