Skip to content

Commit

Permalink
Fix odom messages being converted to tf (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz authored Feb 22, 2024
1 parent 8483ec7 commit b84c524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mil_common/gnc/odometry_utils/src/odometry_to_tf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class odometry_to_tf : public nodelet::Nodelet
{
tf::Transform transform;
poseMsgToTF(msg->pose.pose, transform);
if (_last_tf_stamps.count(msg->header.frame_id) && _last_tf_stamps[msg->header.frame_id] <= msg->header.stamp)
if (_last_tf_stamps.count(msg->header.frame_id) && _last_tf_stamps[msg->header.frame_id] == msg->header.stamp)
{
return;
}
Expand Down

0 comments on commit b84c524

Please sign in to comment.