Skip to content

Commit

Permalink
fix:set correct frameid to transformed_cloud
Browse files Browse the repository at this point in the history
Signed-off-by: suchang <chang.su@autocore.ai>
  • Loading branch information
suchang committed Apr 20, 2022
1 parent b2f90a0 commit 7435cba
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 7435cba

Please sign in to comment.