CoppeliaRobotics / simROS2

ROS 2 Interface for CoppeliaSim
Other
31 stars 16 forks source link

Simulator stops sending messages #15

Closed daviddavo closed 1 year ago

daviddavo commented 1 year ago

I still can't reproduce the error, but it happens quite frequently. I'm trying to use Coppelia to simulate a NAV2 environment with SLAM. After some time closing and starting the nodes to check the bringup scripts and configuration, it tells me that it (some node) can't find some transforms (which should be published by coppelia). If I try to use ros2 topic echo /clock or ros2 topic echo /tf I get no results. Debugging tells me that simROS2.publish and simROS2.sendTransforms are being called.

Nevertheless, RVIZ (which was left open all the time) still displays the correct simulation time, and it pauses if I pause the simulation. Why does rviz have still access to the topics? Why new nodes can't see them?

Edit: rqt, which was also left open, still shows the /sim_ros2_interface and topics if I hit "refresh". But if I open a new instance, the topics don't appear.

Environment