Skip to content
Discussion options

You must be logged in to vote

You can use some network monitor tools.
For example: ROS 2 uses ports 7400, 7401, 7410, 7411 (as described here https://docs.ros.org/en/galactic/Concepts/About-Domain-ID.html#domain-id-to-udp-port-calculator).

You can use tcpdump:

sudo apt-get update && sudo apt-get install tcpdump

Then execute the command using:

sudo tcpdump -i any -X udp portrange 7401-7411

This should show you a log with the ROS messages and you should be able to see the network interface being used to transfer them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by framlin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forum_rmw Forum post about ROS middlewares communication
2 participants