Skip to content

Commit

Permalink
fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktschwab committed Oct 31, 2022
1 parent 970f0e6 commit 724c129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion a2d2_ros_preparer/src/lidar/timed_point_cloud_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 724c129

Please sign in to comment.