Sets stamped_transform timestamp to ros::Time::now() (#143)
parent
5f5762f458
commit
ec2d54ef84
|
@ -402,7 +402,7 @@ void Node::PublishPoseAndScanMatchedPointCloud(
|
||||||
const Rigid3d tracking_to_map = local_to_map * tracking_to_local;
|
const Rigid3d tracking_to_map = local_to_map * tracking_to_local;
|
||||||
|
|
||||||
geometry_msgs::TransformStamped stamped_transform;
|
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(
|
const auto published_to_tracking = tf_bridge_.LookupToTracking(
|
||||||
last_pose_estimate.time, options_.published_frame);
|
last_pose_estimate.time, options_.published_frame);
|
||||||
|
|
Loading…
Reference in New Issue