Ask Your Question
0

ROS2 on local machine only? (No network)

asked 2021-08-16 18:44:06 -0500

high12noon gravatar image

How do I configure ROS2 so that only nodes on the local computer can talk to each other?

Reasons for question: 1. Security 2. Ensure multiple robots on same LAN don't interfere with each other 3. Ensure no limit to number of robots that can exist on same LAN

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-08-19 20:11:28 -0500

Pepis gravatar image

To achieve what you want you can set the environment variable ROS_LOCALHOST_ONLY to 1. This will restrict all the ROS network traffic to your local machine. See this related issue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-08-16 18:44:06 -0500

Seen: 59 times

Last updated: Aug 19 '21