Skip to content

Commit

Permalink
fix(autoware_pointcloud_preprocessor): fix unreadVariable (#8370)
Browse files Browse the repository at this point in the history
fix:unreadVariable

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Aug 9, 2024
1 parent c67141f commit 0e54b7e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,11 @@ void DistortionCorrector<T>::undistortPointCloud(
// If there is a point in a pointcloud that cannot be associated, record it to issue a warning
bool is_twist_time_stamp_too_late = false;
bool is_imu_time_stamp_too_late = false;
bool is_twist_valid = true;
bool is_imu_valid = true;
double global_point_stamp;

for (; it_x != it_x.end(); ++it_x, ++it_y, ++it_z, ++it_time_stamp) {
is_twist_valid = true;
is_imu_valid = true;
bool is_twist_valid = true;
bool is_imu_valid = true;

global_point_stamp =
pointcloud.header.stamp.sec + 1e-9 * (pointcloud.header.stamp.nanosec + *it_time_stamp);
Expand Down

0 comments on commit 0e54b7e

Please sign in to comment.