ROS2 Carter does not work --Tutorial ROS2 chapter 5

are you receiving any ros2 topics outside sim at all? If not, see if this applies to you: ROS2 Foxy communication issues · Issue #3000 · eProsima/Fast-DDS · GitHub