LTTNg tracetools examples with ROS1
Greetings ,
I have been trying to make sense of using LTTNg along with some C++ ROS scripts . I stumbled upon the following ,
https://github.com/boschresearch/ros1_tracetools
If anyone has worked on tracing kindly share some insights .
Some basic PUB-SUB examples would be enough
For future reference , there are relevant articles i have come across .
- https://christophebedard.com/ros-tracing-message-flow/
- https://github.com/christophebedard/tracecompass_ros_testcases
- https://lttng.org/blog/2018/03/21/lttng-scope-0.3-a-basic-tutorial/ , THIS IS WHAT REALLY HELPED ME TOWARD THE END
I made a screen recording of how the above example can be run , hope it is helpful to someone https://youtu.be/fRDO-b5A4CM
Relevant tools
I understand that , there is an official package on this for ROS2 . (as ROS2 is build with RT in mind)
Kindly share anything on this topic .
what are you looking for exactly? Are you looking for info on show to set it up + run it with LTTng?
Hi @christophebedard thanks for responding , I guess you are the right person for this .
Anyhow what i would like is some info into how to run this with a simple Publisher/Subscriber .
My current understanding is we have to place ROS::TRACE commands is at critical break points . (Similar to how one would place ROS_INFO , for debug purpose )
I did a lot of digging and didnt find any modifications with the C++ code with these examples you have provided . But everything seems to be happening from the script itself .
I guess this is where my confusion is .
https://github.com/christophebedard/t...