ros-visualization / rqt_graph

http://wiki.ros.org/rqt_graph
26 stars 27 forks source link

Auto-refresh graph #5

Open dirk-thomas opened 7 years ago

dirk-thomas commented 7 years ago

From @danielsnider on December 11, 2016 18:24

I think rqt_graph would be even better if it had the option to automatically refresh the graph view, showing changes as they happen. I want to be able to monitor rqt_graph to see what is running at any given time without continually clicking refresh.

I might create a pull request if there are no major concerns.

Thanks!

_Copied from original issue: ros-visualization/rqt_commonplugins#411

dirk-thomas commented 7 years ago

Having the option to automatically refresh sounds good.

Since there are still use cases where that is not desired the manual mode should still be possible. I am not sure which default mode makes more sense but if that setting is restored on next startup it becomes a one time change for the user if he prefers the opposite.

Since there is no notification mechanism in ROS i think you will need to poll the information in regular intervals.

EliteMasterEric commented 6 years ago

Information would have to be pulled at regular intervals, the list of nodes and edges checked against the current list, and refreshed if changed.

The option might need to be disabled by default unless there are performance improvements; when I run rqt_graph, it soft-locks the program for several seconds before it finishes processing and displays the new graph.

Combinacijus commented 5 months ago

+1 auto refresh would be nice