ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

Explicitly constraining which network interfaces are used in ros2

asked 2018-08-07 14:21:18 -0500

nathan.jackson gravatar image

I asked this question on the ros discourses, but wanted to put it here as well.

https://discourse.ros.org/t/explicitl...

In raw dds, specifically for coredx, there is a way to give an interfaces list to the domain participant so that it will only talk on those network interfaces. Is there a way to use that through ros2?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-07 14:59:28 -0500

Dirk Thomas gravatar image

updated 2018-08-07 14:59:48 -0500

The ROS 2 API doesn't contain a way to constrain the network interfaces at the moment. You might want to check the specific RMW implementation you want to use and use the vendor-specific configuration to do that (if available).

edit flag offensive delete link more

Comments

Thanks. Is there a specific way you would recommend for the rmw implementation to expose this type of thing?

nathan.jackson gravatar image nathan.jackson  ( 2018-08-07 19:22:41 -0500 )edit

In all cases, you'd probably have to use XML files to configure the underlying implementation or else modify our code.

For FastRTPS (our default implementation right now), you might be able to start here: https://eprosima-fast-rtps.readthedoc...

William gravatar image William  ( 2018-08-07 19:42:18 -0500 )edit
William gravatar image William  ( 2018-08-07 19:42:26 -0500 )edit

Has there been a support to this in the recent versions of ROS2? Something like Whitelist interfaces by eProsima? https://eprosima-fast-rtps.readthedoc...

vmanchal gravatar image vmanchal  ( 2020-03-23 07:33:32 -0500 )edit

This is already supported in ROS 2 using Fast DDS interface whitelisting https://fast-dds.docs.eprosima.com/en.... You can also check here how to configure ROS 2 with Fast DDS XML files https://fast-dds.docs.eprosima.com/en...

EduardoPonz gravatar image EduardoPonz  ( 2021-04-06 09:19:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-08-07 14:21:18 -0500

Seen: 1,793 times

Last updated: Aug 07 '18