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

Revision history [back]

A non generic approach is rosbag_analysis (see http://www.ros.org/wiki/rosbag_analysis). I just check for some attribute names and I "guess" the type from the attribute name for a very narrow set of message types.

This is bad, but it works... :)

A non generic approach is rosbag_analysis (see http://www.ros.org/wiki/rosbag_analysis). I just check for some attribute names and I "guess" the type from the attribute name for a very narrow set of message types.

This is bad, but it works... :)

edit: rostopic -p does not do what I want as it works on topics "live" so it may drop messages...

A non generic approach is rosbag_analysis (see http://www.ros.org/wiki/rosbag_analysis). I just check for some attribute names and I "guess" the type from the attribute name for a very narrow set of message types.

This is bad, but it works... :)

edit: rostopic -p does not do what I want as it works on topics "live" so it may drop messages...messages... rosbag_analysis processes bag files offline using the bag Python API.