diff --git a/a2d2_ros_preparer/src/lidar/timed_point_cloud_data.cpp b/a2d2_ros_preparer/src/lidar/timed_point_cloud_data.cpp index d3daad5..87a1512 100644 --- a/a2d2_ros_preparer/src/lidar/timed_point_cloud_data.cpp +++ b/a2d2_ros_preparer/src/lidar/timed_point_cloud_data.cpp @@ -67,7 +67,7 @@ namespace a2d2_ros_preparer { Time TimedPointCloudData::GetMinMaxMiddleTime() const { auto min_time = GetStartTime(); - auto max_time = GetStartTime(); + auto max_time = GetStopTime(); auto min_max_duration = max_time - min_time; return min_time + min_max_duration/2; }