Matlab stucked when load rosbag using rosbag function.

3 views (last 30 days)
Hi!;
I have a rosbag data from FieldSAFE, I'm working on it's example data now. When i try to load/open the bag file in my work space simply using
rosbag(filename)
It sometimes works. some time got stucked with commend window shows
Warning: TF_REPEATED_DATA ignoring data with redudent timestamp for frame ...
Those warnings appear even when the function works fine.
Why it's happening? What should i do to solve it?
Best!

Answers (1)

Sugandhi
Sugandhi on 16 Feb 2023
Hi Jididu li,
I understand that the ‘TF_REPEATED_DATA’ warning appears while loading the bag file using rosbag function, and MATLAB sometimes gets stuck with the same warning.
Reason for this behaviour is due to redundant transforms, the original transform and another transform with the same timestamp and frame ids as one that was previously received are both stored in the transform cache.In simple words, the repeated data in the bag file caused this warning.
One workaround may be to track down the cause of the redundant transforms in the bag files and rectify it.
For more information you may go through the following link which I found -

Categories

Find more on ROS Log Files and Transformations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!