-
Issue descriptionHi, Following the instructions, I first start the server
Here it works as expected
Then, knowing that the camera image is already published on the topic
At this point, it tells me it is connected to the server:
and from the server side, everything looks good as well:
However, I do ne see anything at Additional informationWhile everything is running, I get the following information
The subscription here is most likely from RViz.
What is weird is the following:
The list of the node is the following:
Here below is the config.yaml file
and finally the gazebo setup for the camera plugin:
Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Is gazebo running inside a docker container? |
Beta Was this translation helpful? Give feedback.
-
No, Gazebo is running on the host. |
Beta Was this translation helpful? Give feedback.
-
I have tried, but the following does not reproduce in my environment. Have you changed the DDS settings on the host?
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your help and your time! I didn’t change DDS settings. Regarding the env. variables I will check and report to you what I have. Regards. |
Beta Was this translation helpful? Give feedback.
-
Ok, here is what I have:
Note: the same applies to 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,
When executing the container, the user is root. However, the user on the host is 'grocher' (from which are executed Gazebo, RViz, etc.). So, I created the user 'grocher' in the container (host and container UID being identical) and executed the node:
On the host, now I see info for the node
Just adding user 'grocher' and not sharing Now, in the viewer I get the image camera/ but still, nothing is displayed on the grid. Interestingly, when removing the sphere from the scene I get (which is expected here):
I will investigate by modifying settings in the viewer , add textures, etc. Regards. |
Beta Was this translation helpful? Give feedback.
-
Ok, I finally got it to work :-) by adding textured elements to the Gazebo environment. Thanks again for your help! |
Beta Was this translation helpful? Give feedback.
Ok, here is what I have:
On the host,
ROS_DOMAIN_ID
is unset:ROS_LOCALHOST_ONLY
is set to 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:When executing the container, the user is root. However, the u…