Closed enrabre closed 7 years ago
Hi @enrabre
The answer to your question is that you cannot have a perfect synchronization within tracks and frames. The tracks are computed from the detections, which are generated by each couple sensor/computer. The timing information (header.stamp) you can find inside the detection messages is the same as the one of the point cloud used as the input. On the other hand, the tracks use as timing information the current time when they are created.
If you want, you can approximately synchronize detections (-> point cloud -> frames) and tracks by using the ROS approximate time synchronizer. Another way, is to make the tracks have the same timing information as the detections from which they are created (i.e. change this line) and then compile and record again the data.
I have extracted frames and tracks information from a recorded ROS bag. I thought that the seq number was used to linked tracks msg and frames, but it does not seem to match. Even timestamps do not matched.
Find below the first image msg:
and the first tracks msg:
Is there a way to have an unique ID between frames and msg ?