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

started roscore with different URI but when launched launch file a new ros core was started

asked 2021-08-31 00:10:46 -0600

Nachum gravatar image

Hi

I was trying to run on one machine two nodes in parallel, so I started the first node with "roscore" and on a different terminal a new roscore with

export ROS_MASTER_URI=http://localhost:11312 roscore --port 11312

but then when I launched a launch file it looked for the regular roscore

ROS_MASTER_URI=http://localhost:11311 saw it wasn't started in the terminal so stsrted it

How can I make my nodes run with the new roscore?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-08-31 01:36:47 -0600

gvdhoorn gravatar image

Did you export ROS_MASTER_URI in the terminal/Bash session where you ran roslaunch?

edit flag offensive delete link more

Comments

Thanks! solved the problem

Nachum gravatar image Nachum  ( 2021-08-31 02:36:34 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2021-08-31 00:10:46 -0600

Seen: 140 times

Last updated: Aug 31 '21