Skip to content

Commit

Permalink
fix(lidar_apollo_instance_segmentation): fix critical bug (autowarefo…
Browse files Browse the repository at this point in the history
…undation#8444)

Signed-off-by: kminoda <[email protected]>
Co-authored-by: Shintaro Tomie <[email protected]>
  • Loading branch information
kminoda and Shin-kyoto authored Aug 20, 2024
1 parent 8cb2b32 commit 1d87bdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ bool LidarApolloInstanceSegmentation::detectDynamicObjects(
pcl::PointCloud<pcl::PointXYZI>::Ptr pcl_pointcloud_raw_ptr(new pcl::PointCloud<pcl::PointXYZI>);
// pcl::fromROSMsg(transformed_cloud, *pcl_pointcloud_raw_ptr);

auto pcl_pointcloud_raw = *pcl_pointcloud_raw_ptr;
auto & pcl_pointcloud_raw = *pcl_pointcloud_raw_ptr;
pcl_pointcloud_raw.width = transformed_cloud.width;
pcl_pointcloud_raw.height = transformed_cloud.height;
pcl_pointcloud_raw.is_dense = transformed_cloud.is_dense == 1;
Expand Down

0 comments on commit 1d87bdb

Please sign in to comment.