Items with no label
3335 Discussions

Reset ROS_MASTER_URI from the CLI

idata
Employee
2,043 Views

I tried to change the ROS_MASTER_URI value via the web app to http://ros:11311/ http://ros:11311/

but apparently the web app scrambled the value. When I run sudo service oobe-init restart-oobe

it complains that the ROS_MASTER_URI value is invalid: http://http://ros:11311:11311/

I did not enter the scrambled value.

So now the web app is wedged. How can I reset ROS_MASTER_URI from the CLI?

Thanks,

Paul

0 Kudos
1 Solution
Majd_S_Intel
Employee
934 Views

Hi,

You can go to /intel/euclid/config/settings.ini, there you can change the ROS_MASTER_URI.

Make sure you restart the oobe-init service, as you mentioned after doing so.

We'll check why it is "scrambled" when you use the web as well.

Best,

Majd (Intel)

View solution in original post

0 Kudos
4 Replies
Majd_S_Intel
Employee
935 Views

Hi,

You can go to /intel/euclid/config/settings.ini, there you can change the ROS_MASTER_URI.

Make sure you restart the oobe-init service, as you mentioned after doing so.

We'll check why it is "scrambled" when you use the web as well.

Best,

Majd (Intel)

0 Kudos
idata
Employee
934 Views
MartyG
Honored Contributor III
934 Views

Glad that majdS' answer was able to help - thanks majdS! It was a more useful answer than mine.

0 Kudos
MartyG
Honored Contributor III
934 Views

The site below describes a method for changing ros_master_uri on boot-up of your PC (someone claimed the master URL cannot be changed once ROS is running).

http://answers.ros.org/question/35603/ros_master_uri-change-it-and-save-it/ ros_master_uri - change it and save it - ROS Answers: Open Source Q&A Forum

0 Kudos
Reply