Skip to main content
Version: ROS 2 Humble

ROS 2 Connectivity

The first step for troubleshooting ROS 2 connectivity between two computers is to investigate Network Integrity. Once network integrity is confirmed, the next step is to troubleshoot being able to publish and subscribe to ROS topics. The following flowchart covers the most common networking errors in Fast DDS. Many of these concepts are transferrable to other DDS implementations. Click on the image below to open in a new tab and explore the troubleshooting steps.

When using the troubleshooting flowchart in combination with the Clearpath software packages, be aware that most environment variables are controlled by the robot.yaml and should be updated by modifying the robot.yaml. The networking settings are controlled in the system section. When troubleshooting the offboard computer connection, ensure that the robot.yaml file on the computer is also updated and that the setup.bash is regenerated every time the settings are changed.

If the system is able to communicate and passes all of these tests but is unreliable in operation, see the page about intermittent connectivity.