eProsima / Micro-XRCE-DDS-Agent

Micro XRCE-DDS Agent respository. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
113 stars 81 forks source link

Sending DDS message over specific network interface #337

Closed henrykotze closed 1 year ago

henrykotze commented 1 year ago

We are running the Agent on the Jetson Nano communicating via a router to a Nuttx device (PX4). We can see that the Agent is receiving heartbeat messages from the Nuttx device, and receiving messages from the ROS2 nodes running on the Jetson. However it is sending the messages it receives from the ROS2 Nodes on the loopback interface and not the physical network interface.

Is there a way to explicitly tell the Agent to use a specific network interface?

Thanks

Acuadros95 commented 1 year ago

Is there a way to explicitly tell the Agent to use a specific network interface?

To accomplish this, you can configure the transport of the Fast dds entities of the Agent. This can be done with a XML profile, take a look at this documentation: Link.

If support on this part is needed, feel free to open an issue at FastDDS repo.

Acuadros95 commented 1 year ago

Closing as a solution was provided