Skip to content

Commit c8f1097

Browse files
rodericktaylorwep21
authored andcommitted
Rosbag timestamp changes.
1 parent ee49bf4 commit c8f1097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grid_map_ros/src/GridMapRosConverter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ bool GridMapRosConverter::saveToBag(
688688

689689
auto bag_message = std::make_shared<rosbag2_storage::SerializedBagMessage>();
690690

691-
auto ret = rcutils_system_time_now(&bag_message->time_stamp);
691+
auto ret = rcutils_system_time_now(&bag_message->send_timestamp);
692692
if (ret != RCL_RET_OK) {
693693
RCLCPP_ERROR(rclcpp::get_logger("saveToBag"), "couldn't assign time rosbag message");
694694
}

0 commit comments

Comments
 (0)