ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This way works for me,

add launch-prefix="valgrind --tool=callgrind --callgrind-out-file=/home/project/test.log" in your node as a attribute.

Then run your program and a log file will be generated.

Then start kcachegrind test.log, you will see all the cool stuff what you have coded :D

To install kcachegrind

sudo apt-get install -y kcachegrind