Skip to content

Commit

Permalink
Publish the right template
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Tudela <ajtudela@gmail.com>
  • Loading branch information
ajtudela committed Jul 2, 2024
1 parent c4c5270 commit 677b5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scitos2_charging_dock/src/perception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ bool Perception::refineAllClustersPoses(
if (debug_) {
// Publish dock template
sensor_msgs::msg::PointCloud2 template_msg;
pcl::toROSMsg(*cloud_template, template_msg);
pcl::toROSMsg(*cloud_template_initial, template_msg);
template_msg.header.frame_id = initial_estimate_pose_.header.frame_id;
template_msg.header.stamp = clock_->now();
dock_template_pub_->publish(std::move(template_msg));
Expand Down

0 comments on commit 677b5b3

Please sign in to comment.