ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

rqt_graph when playing a rosbag

asked 2018-07-26 11:14:20 -0500

rkblack gravatar image

Hello, I am really new with ROS and I am having some problems with rqt_graph. I would like to play a rosbag file and watch all the nodes and topics with rqt_graph as it was during execution. Therefore, I run:

$> rosbag play rosbag_name.bag ---- Terminal 1

$> rqt_graph ---- Terminal 2

Then, I can only see:

https://drive.google.com/file/d/1-Ajz...

As I show in the previous image, I can only find a node with the name /play_.... Does it mean that I cannot watch all the nodes when playing a rosbag? Or is there any way to play the bag and plot the nodes graph?

Thank you very much in advance. I have tried almost everything but I was not able to make it work.

Best regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-26 11:42:12 -0500

This is entirely correct, you will not be able to see the nodes as they were during recording because the don't exist on playback.

A rosbag only records messages published on topics, not the existence of the nodes themselves. So when you play the rosbag back again all you will see is the playback node. This single node is now publishing all the recorded messages that were originally produced by many different nodes.

Hope this makes sense.

edit flag offensive delete link more

Comments

It totally make sense. Thank you very much PeteBlackerThe3rd!

rkblack gravatar imagerkblack ( 2018-07-26 12:00:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-26 11:14:20 -0500

Seen: 97 times

Last updated: Jul 26 '18