Hi,
I think a great tool for the LSTS toolchain would be something that could display the different tasks in DUNE and how they communicate with the different IMC messages, similar to the rqt_graph in ROS (
http://wiki.ros.org/rqt_graph). This would be a great resource for people that are new to DUNE (e.g. master students). I have started using/recommending Sourcetrail (
https://www.sourcetrail.com/) for getting a quick overview of "new" parts of the DUNE code, but often find two questions unanswered: "Who receives this IMC message?" and "Where does this message come from?".
I once started on a simple script based on sed and grep (non of which I am fluent in), but I did not quite succeed.
My questions are:
1) Does there exist something like this already that I'm not aware of?
2) Do you think that a sed/grep-based approach is the best way forward? I assume that I'm not the only one that struggles a bit with this problem from time to time, so perhaps someone has found a solution that is a lot smarter. Obviously the challenge with the sed/grep -approach is to find the type of the variables that are dispatched.
I imagine that visualization can be easily achieved by e.g. graphviz.
Appreciate any inputs on this :)