Skip to content

Commit

Permalink
Add parent frame to warning logs (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwirth committed Nov 23, 2022
1 parent 2efd59d commit c92cd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf2/src/buffer_core.cpp
Expand Up @@ -275,7 +275,7 @@ bool BufferCore::setTransform(const geometry_msgs::TransformStamped& transform_i
}
else
{
CONSOLE_BRIDGE_logWarn((error_string+" for frame %s at time %lf according to authority %s").c_str(), stripped.child_frame_id.c_str(), stripped.header.stamp.toSec(), authority.c_str());
CONSOLE_BRIDGE_logWarn((error_string+" for frame %s (parent %s) at time %lf according to authority %s").c_str(), stripped.child_frame_id.c_str(), stripped.header.frame_id.c_str(), stripped.header.stamp.toSec(), authority.c_str());
return false;
}
}
Expand Down

0 comments on commit c92cd9a

Please sign in to comment.