Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update high level node overview #158

Open
tsaoyu opened this issue Nov 24, 2016 · 6 comments
Open

Update high level node overview #158

tsaoyu opened this issue Nov 24, 2016 · 6 comments

Comments

@tsaoyu
Copy link
Member

tsaoyu commented Nov 24, 2016

Update our high level node overview graph with launch files and rosgraph tool

@majek9
Copy link
Contributor

majek9 commented Nov 26, 2016

I am trying to get a picture of what is going on using rosbag, but I am having problems.

When I play a bag file with " rosbag --play 'ros_file.bag' ", initial indications are that it is working: " rostopic list" shows the topics and I can see the messages via " rostopic echo 'topic' " even the rospy command line interface I have written to help me understand what the boat is doing can see the messages.

However " rosgraph ", " rqt_graph " and " rviz " all appear to not be seeing what is going on.

When I " roslaunch simulator.launch " everything seems to work normally, which is all I have needed so far. But to update the node overview graph, it would be better if I could get "rosgraph" and "rqt_graph" working with a bag file so that I can see the actual nodes rather than the simulation nodes.

Anyone got any idea what I am doing wrong with rosbag please?

In case it helps: ROS is being run inside a Docker container. I am running commands through a direct bash console for the CLI commands and X-forwarding through SSH for the graphical interfaces.

@tsaoyu
Copy link
Member Author

tsaoyu commented Nov 28, 2016

My assumption is rosbag we had didn't record all topics during test.
Take a look what topics are included with rosbag info <your bagfile> command.

@majek9
Copy link
Contributor

majek9 commented Nov 28, 2016

Thank you, I have just tried that, and it shows that the topics are there with a load of messages (I am using the extravaganza.bag file from the git-challenge repository).

This if confirmed by me being able to see the messages as they are being replayed by rosbag in some programs like " rostopic echo <topic_name> "

@smaria
Copy link
Member

smaria commented Dec 7, 2016

It may have something to do with the order in which you launch things. I usually start a roscore, then a bag file (whilst playing, try the --loop option so you don't have to keep starting new bag files), and finally the tools that I want to use.

Could you explain in more detail

However " rosgraph ", " rqt_graph " and " rviz " all appear to not be seeing what is going on.

Do you get any error messages (e.g. unable to connect to master)?
Do the tools launch, but just not display any nodes, or do they not launch at all?

Further ideas:
Have you tried rqt_plot? You should be able to pick topics from a list, once you enter a '/' in the topics field, does that give you anything?
Have you tried using 'rqt' (where you can choose various visualizations including the graph and plot as well as rosconsole)?

@majek9
Copy link
Contributor

majek9 commented Dec 9, 2016

Sorry for not updating this, We worked out what was wrong on the software meeting last week. Ii was only showing one node as there is only one node issuing all the messages when running a bag file.

I will need to get a copy of the picture off of the Raspberry Pi when it is actually running ROS

@smaria
Copy link
Member

smaria commented Feb 2, 2017

I can't quite follow how this is needed for a node overview?
What information are you looking for?

@majek9 majek9 removed their assignment Feb 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants