RTPS_TRANSPORT_SHM Error and at the same time no topics are available in ros2 topic list

asked 2022-01-15 16:15:48 -0500

pablo.arandarod gravatar image

updated 2022-01-15 16:19:40 -0500

I've been working in some of my projects and used also the Dolly to check if something similar was going on, and it seems it isn't isolated to my project. The error that I encounter is:

[RTPS_TRANSPORT_SHM Error] Failed init_port fastrtps_port7413: open_and_lock_file failed -> Function open_port_internal

Also, I'm being unable to list the topics when using ros2 topic list (since in my project the robot spawns in the environment, and in the case of Dolly, Rviz opens, I guess the topics are working in those cases). Only 2 of them appear, parameter_events and rosout.

It might be or not related to this, but I have ROS2 foxy installed in my home directory, but when installing additional packages they get automatically installed in /opt/ros/foxy, so I have to source them both.

edit1: when I try the talker example that appear in the installation tutorial no new nodes or topics are listed.

edit retag flag offensive close merge delete