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

ERROR: "rosrun tf view_frames" results "Unable to register with master node"

asked 2022-01-03 01:33:41 -0500

ramdas369rd gravatar image

Version Python 3.8.10 ROS: Noetic

I am working on URDF tf tutorials First i got error while running roslaunch turtle_tf turtle_tf_demo.launch. Only one turtle was displayed and it didn't move, so I followed up the processes died error to rectify it, but it didn't help me much other than ignoring the roslaunch as per one of the comments mentioned. Later I run "rosrun tf view_frames" and it displayed the following error. It took some time to display the error.

Unable to register with master node [http://localhost:11311]: master may not be running yet. Will keep trying. ^CTraceback (most recent call last): File "/opt/ros/noetic/lib/tf/view_frames", line 114, in <module> dot_graph = listen(5.0) File "/opt/ros/noetic/lib/tf/view_frames", line 52, in listen rospy.init_node("view_frames", anonymous=True) File "/opt/ros/noetic/lib/python3/dist-packages/rospy/client.py", line 336, in init_node raise rospy.exceptions.ROSInitException("Failed to initialize time. Please check logs for additional details") rospy.exceptions.ROSInitException: Failed to initialize time. Please check logs for additional details</module>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-01-04 11:31:09 -0500

Mike Scheutzow gravatar image

This error usually means your ros-master-node has died. This application is named roscore, and ps -ef | grep roscore should return a line something like this:

user1 15240 23167  0  2021 pts/6    00:04:46 /usr/bin/python3 /opt/ros/noetic/bin/roscore -p 11311

If you don't see this process listed, to recover you must stop all your ros nodes, then run roslaunch again.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-01-03 01:33:41 -0500

Seen: 200 times

Last updated: Jan 04 '22