Skip to content

Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame odom_comb #1125

Open
@fjp

Description

@fjp

Hi, when working with amcl for example the mir-robot Gazebo demo (existing map) a lot of the following warnings are logged:

Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame odom_comb at time 23.567000 according to authority unknown_publisher
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.5/src/buffer_core.cpp

I guess this is related to ros/geometry2#467. To reduce the number of TF_REPEATED_DATA warnings the laser scan publish rate needs to be reduced, because amcl depends on rate of incoming laser messages.

According to the discussion here this seems to be a bug in amcl:

Basically, once amcl has published a TF for a given time stamp t, it must never publish it again. So there are two options: Either publish the first message and then drop all subsequent ones, or delay publishing the message until amcl is certain that this is the definitive one. Both have their advantages and disadvantages.

Can you provide some more hints on how to fix this warning? I assume the problem is in laserReceived()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions