Ask Your Question

[ROS1 on Windows 10] How to set up ROS IP and ROS MASTER URI on Windows 10?

asked 2019-08-20 01:16:12 -0600

robotpioneer gravatar image

updated 2019-08-20 01:35:03 -0600

gvdhoorn gravatar image

I have installed ROS Melodic on Windows 10 natively through the instruction of the website (

I have a robot implemented in Ubuntu 16.04 and ROS Master should be in the robot.

So, I need to modify ROS IP settings on Windows 10 where ROS Melodic is installed natively, not based on WSL (Windows Subsystem for Linux).

How can I set up ROS_IP and ROS_MASTER_URI on Windows 10?

In Ubuntu 16.04, I was able to set up the network settings through Bash.

Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-20 01:33:13 -0600

gvdhoorn gravatar image

updated 2019-08-20 01:34:15 -0600

They're environment variables, so you can set them as any other environment variable on Windows: either by using set (or setx), PowerShell or by using the Environment Variables editing UI in the System Properties applet (may not be present any more in your Windows 10 version).

See here for an SO Q&A that discusses a few different approaches.

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

1 follower


Asked: 2019-08-20 01:16:12 -0600

Seen: 101 times

Last updated: Aug 20