Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/lidar_localization_component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ void PCLLocalization::cloudReceived(const sensor_msgs::msg::PointCloud2::ConstSh

tf2::Transform map_to_odom_tf = map_to_base_link_tf * odom_to_base_link_tf.inverse();
geometry_msgs::msg::TransformStamped map_to_odom_stamped;
map_to_odom_stamped.header.stamp = msg->header.stamp;
map_to_odom_stamped.header.frame_id = global_frame_id_;
map_to_odom_stamped.child_frame_id = odom_frame_id_;
map_to_odom_stamped.transform = tf2::toMsg(map_to_odom_tf);
Expand Down