eProsima / Micro-XRCE-DDS-Agent

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

Sending DDS message over specific network interface #337

Closed henrykotze closed 11 months ago

henrykotze commented 12 months 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 12 months 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 11 months ago

Closing as a solution was provided