[Documentation] [TitleIndex] [WordIndex

Package Summary

Debug tool to check tf timestamp, etc.

What is this?

This is a debug tool to monitor ROS tf topic. geometry2 is an ausome library to handle geometric transformations with time stamp, and tf and tf2 is a core library of geometry2.

When utilizing tf/tf2, the following points should be noted.

  1. tf tree can have only one root frame.
  2. Too old timestamp or timestamp in the future sometimes causes a defect of your robot system.

This ROS package provides a means of checking to see if any of the above problems are occurring.

Demo

roslaunch rocky_tf_monitor demo.launch
rosrun rocky_tf_monitor rocky_tf_monitor

rocky_tf_monitor_demo

In this demo, invalid /tf topic is demonstrated. Although node /odom_pub publish base_footprint coordinate frame in odom coordinate frame, bug_node also publish base_footprint coordinate frame in map coordinate frame. [rqt_tf_tree](https://wiki.ros.org/rqt_tf_tree) cannot deal with these kind of problem. By rocky_tf_monitor we can confirm base_footprint has two parent frame, which is indicated by red line.

How to build

cd /path/to/catkin_ws/src
git clone https://github.com/rkoyama1623/rocky_tf_monitor.git
rosdep install --from-path rocky_tf_monitor -iry
cd rocky_tf_monitor
catkin build --this

How to use

rosrun rocky_tf_monitor rocky_tf_monitor

License

MIT


2024-11-16 14:54