topic_delay_monitor.py

This script is mostly same as topic_hz_monitor.py but it computes the time lag from sensor input using timestamp in the header.

Example

rosrun jsk_tools topic_delay_monitor.py /euclidean_segmentation/output --search-parent
rosrun jsk_tools topic_delay_monitor.py /euclidean_segmentation/output /camera/rgb/points