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

Revision history [back]

click to hide/show revision 1
initial version

I'm not sure this is actually the solution to your problem, but the general procedure to add/remove/edit environment variables on Windows 7 is:

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables
  5. In the Edit System Variable (or New System Variable) window, specify the value of the environment variable.
  6. Click OK. Close all remaining windows by clicking OK.

If you have a restricted user account (or anything not with administrator level access), you might not be able to do this. For those accounts, go to the User Accounts applet in the Control Panel, and click the Change my environment variables link at the bottom of the list in the left side of the window (from this link).

To avoid issues with DNS, use only IPs when setting ROS_MASTER_URI. If you intend to have your Windows ROS nodes communicate with other machines, I'd also set ROS_IP to the IP of the Windows machine.

I'm not sure this is actually the solution to your problem, but the general procedure to add/remove/edit environment variables on Windows 7 is:

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables
  5. In the Edit System Variable (or New System Variable) window, specify the value of the environment variable.
  6. Click OK. Close all remaining windows by clicking OK.

If you have a restricted user account (or anything not with administrator level access), you might not be able to do this. For those accounts, go to the User Accounts applet in the Control Panel, and click the Change my environment variables link at the bottom of the list in the left side of the window (from (see this link).link fi).

To avoid issues with DNS, use only IPs when setting ROS_MASTER_URI. If you intend to have your Windows ROS nodes communicate with other machines, I'd also set ROS_IP to the IP of the Windows machine.