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

Revision history [back]

I don't know of a specific feature for timing callback functions but you should be able to record the time using ros::Time::now() at the beginning and end of the function. Subtracting one from the other will give you the duration of the callback execution.

This will not give you the timing of the message passing system though, just the callback function itself.