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

[setParam] Failed to contact master at [localhost:11311]. Retrying...

asked 2021-12-23 11:11:35 -0500

trip gravatar image

updated 2022-05-01 13:00:16 -0500

lucasw gravatar image

I'm trying to run ros_deep_learning (https://github.com/dusty-nv/ros_deep_...) and do single image classification (https://giters.com/dusty-nv/ros_deep_...). I'm running:

roslaunch ros_deep_learning imagenet.ros1.launch input:=/home/USR/catkin_ws/src/ros_deep_learning/images/bird_0.jpg output:=/home/USR/catkin_ws/src/ros_deep_learning/test/output_0.jpg

End of the result:

[TRT]    device GPU, /usr/local/bin/networks/bvlc_googlenet.caffemodel initialized. 
[TRT]    imageNet -- loaded 1000 class info entries
[TRT]    imageNet -- networks/bvlc_googlenet.caffemodel initialized.  
[ INFO] [1640218246.203263848]: model hash => 6171187992146253386
[ INFO] [1640218246.212238854]: hash string => /usr/local/bin/networks/bvlc_googlenet.caffemodelnetworks
/ilsvrc12_synset_words.txt    
[ERROR] [1640218246.217162196]: [setParam] Failed to contact master at [localhost:11311].  Retrying...

My system: Ubuntu 18.04, aarch64, ros melodic

echo $ROS_MASTER_URI 

http://localhost:11311

Any ideas of how to fix this? Any help is greatly appreciated!

edit retag flag offensive close merge delete

Comments

Can you run a basic ros tutorial or do anything simpler than running this particular launch file: rostopic pub or rostopic echo something from the command line after running roscore in another terminal?

lucasw gravatar image lucasw  ( 2022-05-01 13:01:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-05 10:43:16 -0500

Alex-SSoM gravatar image

It looks like you have a ROS setup issue. I would suggest you run roswtf in your terminal.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-12-23 11:11:35 -0500

Seen: 667 times

Last updated: May 05 '22