Skip to content

Commit

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

fix:unreadVariable

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored and technolojin committed Aug 13, 2024
1 parent 10079d1 commit bddbe78
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 bddbe78

Please sign in to comment.