Items with no label
3341 討論

Reset ROS_MASTER_URI from the CLI

idata
員工
4,086 檢視

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 積分
1 解決方案
Majd_S_Intel
員工
2,977 檢視

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)

在原始文章中檢視解決方案

4 回應
Majd_S_Intel
員工
2,978 檢視

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)

idata
員工
2,977 檢視

Thanks! That did the trick.

MartyG
榮譽貢獻者 III
2,977 檢視

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

MartyG
榮譽貢獻者 III
2,977 檢視

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

回覆