Skip to content

Instantly share code, notes, and snippets.

@HTLife
Created June 9, 2020 08:29
Show Gist options
  • Save HTLife/af5b26744f17985ba52320f66eb874f4 to your computer and use it in GitHub Desktop.
Save HTLife/af5b26744f17985ba52320f66eb874f4 to your computer and use it in GitHub Desktop.
cartographer_rosbag_validate
rosrun cartographer_ros cartographer_rosbag_validate -bag_filename example.bag
rosrun cartographer_ros cartographer_rosbag_validate -bag_filename /root/Downloads/example.bag
W0609 08:13:02.642072 3306 rosbag_validate_main.cc:166] Sensor with frame_id "lidar_2d_front" measurements overlap in time. Previous range message, ending at time stamp 637182091821391433, must finish before current range message, which ranges from 637182091821374868 to 637182091821485979
W0609 08:13:02.646579 3306 rosbag_validate_main.cc:203] Sensor with frame_id "lidar_2d_front" range measurements have longest overlap of 0.0016565 s
I0609 08:13:02.646610 3306 rosbag_validate_main.cc:398] Time delta histogram for consecutive messages on topic "/laser_scan" (frame_id: "lidar_2d_front"):
Count: 1612 Min: 0.009455 Max: 0.040663 Mean: 0.025044
[0.009455, 0.012575) Count: 1 (0.062035%) Total: 1 (0.062035%)
[0.012575, 0.015696) Count: 0 (0.000000%) Total: 1 (0.062035%)
[0.015696, 0.018817) Count: 0 (0.000000%) Total: 1 (0.062035%)
[0.018817, 0.021938) Count: 7 (0.434243%) Total: 8 (0.496278%)
[0.021938, 0.025059) ########## Count: 836 (51.861042%) Total: 844 (52.357319%)
[0.025059, 0.028179) ######### Count: 758 (47.022331%) Total: 1602 (99.379654%)
[0.028179, 0.031300) Count: 9 (0.558313%) Total: 1611 (99.937965%)
[0.031300, 0.034421) Count: 0 (0.000000%) Total: 1611 (99.937965%)
[0.034421, 0.037542) Count: 0 (0.000000%) Total: 1611 (99.937965%)
[0.037542, 0.040663] Count: 1 (0.062035%) Total: 1612 (100.000000%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment