Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…1753) * Bugfix for wrong timestamps in ros2 bag info (#1745) * Bugfix for wrong timestamps in ros2 bag info - Correctly calculate fractional part for seconds by subtracting `nanoseconds_from_seconds` from `nanoseconds`. Signed-off-by: Michael Orlov <[email protected]> * Adjust expectations in the "ros2 bag info" integration tests Signed-off-by: Michael Orlov <[email protected]> * Add leading zeros to the fractional seconds in the format_duration(..) Signed-off-by: Michael Orlov <[email protected]> * Adjust expectations in info end-to-end tests by adding leading zero The real file duration is: 70633730 nanoseconds. i.e., regex mask shall be "0\\.0706.*s" to match 070633730 nanoseconds. Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]> (cherry picked from commit da28c9d) # Conflicts: # rosbag2_tests/test/rosbag2_tests/test_rosbag2_info_end_to_end.cpp * Address merge conflicts Signed-off-by: Michael Orlov <[email protected]> --------- Signed-off-by: Michael Orlov <[email protected]> Co-authored-by: Michael Orlov <[email protected]>
- Loading branch information