pschillinger / rqt_launchtree

An RQT plugin for hierarchical launchfile configuration introspection.
BSD 3-Clause "New" or "Revised" License
47 stars 21 forks source link

Draw preliminary rqt_graph from topics found #3

Open cbandera opened 7 years ago

cbandera commented 7 years ago

Hi pschillinger,

I really like your work and I think this is a very useful tool. A nice extension to this would be the possibility to draw a preliminary graph from the topics found in the launch file.

So when I am setting up a demo launch file (and suppose every available topic is listed as a remap in the underlying launch files) wouldn't it be cool to get a direct visual feedback of whether it is going to work out the way you expect it to work?

I guess one could reuse parts of the rqt_graph plugin to draw the graph. Additionally nested namespaces and stuff has to be resolved. This could be a first step towards a "simulink-like" drag-and-connect feature for ROS nodes.

I'd be happy if you share your toughts on this with me. ~cbandera

pschillinger commented 7 years ago

Hey Claudio,

thanks for your feedback! :) Interesting idea to visualize topic remapping, although this does not mean everything will work out as expected, of course. I think building a graph just from remappings could raise a few issues:

So I think rqt_graph is much more useful since these issues do not arise during runtime. For simply checking if there are some unconnected subscribers, roswtf is also a helpful option.

Despite this, a good launchfile editor would definitely be nice. But that's not what rqt_launchtree is aiming for. So if you have some good ideas regarding this (simulink-like editor sounds great!) and some time, I assume it would be helpful for a lot of people. :)