Cant access topic messages from remote laptop

Hello!

We have a Husarion Panther, and I am trying to access and visualize the topics on my laptop that is connected to the same network as the Panther.

While I can see the list of topics on the terminal, I cannot visualize them on rviz2, and when I do ros2 topic echo, I get: A message was lost!!!

When I connect to the Panther with SSH, I can echo and visualize the topics and see and read them if I connect my laptop to the robot directly with a LAN cable.

The only issue I am facing is when I try to do so by connecting to the same network via Wi-Fi.

Thank you in advance for the help!

Hello @AlexTh98,

The problem is most likely related to the configuration of a different version of the ROS distribution or a different DDS configuration. Currently, Panther is based on ROS 2 Humble and uses the rmw_cyclonedds_cpp implementation.

ROS Distribution

If you use another distribution, you need to reinstall ROS or use VM/Docker with appropriate distro.

DDS Configuration

If the distribution is the same and the problem still occurs.

  1. Install the dds implementation package:
sudo apt install ros-humble-rmw-cyclonedds-cpp
  1. Specify in the terminal what version you are using by:
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp

Let me know if the problem has been resolved.