Sets stamped_transform timestamp to ros::Time::now() (#143)

master
Stefan Kohlbrecher 2016-10-26 12:40:19 +02:00 committed by Damon Kohler
parent 5f5762f458
commit ec2d54ef84
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ void Node::PublishPoseAndScanMatchedPointCloud(
const Rigid3d tracking_to_map = local_to_map * tracking_to_local;
geometry_msgs::TransformStamped stamped_transform;
stamped_transform.header.stamp = ToRos(last_pose_estimate.time);
stamped_transform.header.stamp = ros::Time::now();
const auto published_to_tracking = tf_bridge_.LookupToTracking(
last_pose_estimate.time, options_.published_frame);