Skip to content

Commit

Permalink
fix: set correct frameid to transformed_cloud (tier4#734)
Browse files Browse the repository at this point in the history
Signed-off-by: suchang <chang.su@autocore.ai>

Co-authored-by: suchang <chang.su@autocore.ai>
  • Loading branch information
2 people authored and boyali committed Sep 28, 2022
1 parent c518dfe commit f01e3ab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ bool LidarApolloInstanceSegmentation::transformCloud(
tf2::transformToEigen(transform_stamped.transform).matrix().cast<float>();
pcl::transformPointCloud(pcl_input, pcl_transformed_cloud, affine_matrix);
transformed_cloud.header.frame_id = target_frame_;
pcl_transformed_cloud.header.frame_id = target_frame_;
} catch (tf2::TransformException & ex) {
RCLCPP_WARN(node_->get_logger(), "%s", ex.what());
return false;
Expand Down

0 comments on commit f01e3ab

Please sign in to comment.