ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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... :)
2 | No.2 Revision |
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...
3 | No.3 Revision |
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.