I dont receive any data from the sensors even thought publishers and subscribers are established #9829
|
Hello, The ROS2 topics are successfully created and are visible from the ROS2 Jazzy Docker container. Also inspection of the CARLA actors confirms that all sensors are enabled for ROS. Using ROS2 diagnostic tools, i notice that: DDS discovery is working correctly, However, although publishers and subscribers discover each other successfully, no sensor messages are actually transmitted. Commands such as ros2 topic echo and ros2 topic hz rprint nothing without receiving any data. I suspected that my docker is poorly created but i have been drained of ideas on how to fix this issue. Thanks for you time and for any help in advance. |
Replies: 1 comment 1 reply
|
Discovery only proves that the ROS 2 graph can see the endpoints; it does not prove that the subscriber QoS, network path, and simulator tick are compatible. With native CARLA ROS 2, I would check the following in order:
The useful capture is ros2 topic info -v plus one topic echo with the selected QoS, the CARLA launch flags, RMW implementation, network mode, and whether the world is synchronous. That will separate a DDS QoS mismatch from a blocked data path or a simulation that is simply not advancing. |
Discovery only proves that the ROS 2 graph can see the endpoints; it does not prove that the subscriber QoS, network path, and simulator tick are compatible. With native CARLA ROS 2, I would check the following in order: