Commit 385677d4 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Solved features stamp ussues when no tag has been seen

parent 05b27b98
......@@ -227,7 +227,7 @@ void AdcTagLocalizationFilterAlgNode::ar_tag_detections_callback(const ar_track_
if (msg->markers.size() == 0)
{
this->features_msg_.header.frame_id = this->source_frame_id;
this->features_msg_.header.stamp = msg->header.stamp;
this->features_msg_.header.stamp = ros::Time::now();
}
else
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment