Currently TF transforms are treated as latest-is-correct for rendering visualizers since only one set of values is cached, but this while easy to implement is not quite correct, especially for delayed laserscans which can then be rotationally out of sync.
The idea is to instead keep a short history of received transforms and their timestamps, then recreating one that matches by interpolating between the two nearest entries.
Currently TF transforms are treated as latest-is-correct for rendering visualizers since only one set of values is cached, but this while easy to implement is not quite correct, especially for delayed laserscans which can then be rotationally out of sync.
The idea is to instead keep a short history of received transforms and their timestamps, then recreating one that matches by interpolating between the two nearest entries.