aurora-opensource / streetscape.gl

Visualization framework for autonomy and robotics data encoded in XVIZ

Home Page:http://www.streetscape.gl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playing different XVIZ streams with different timestamps

jruebsam opened this issue · comments

I am currently trying to visualize two XVIZ streams with different timestamps, but here the issues occurs that
the overall visualization is flickering.

Lets say I have a first stream A running at 50 hertz and a second stream B running also at 50 hertz but with a delay of 0.01s.
This basically means that every 0.01 second I get data alternating between stream A and stream B.

Depending on how the overall visualization works it makes sense that the visualization flickers.
I tested this based on the example/get-started project with the load from file setting.
So assuming that the visualization componenent iterates over the xvizBuffer and visualizes
every timestamp independent from each other this makes sense.

Is it possibe to somehow change this behavior with different settings,
e.g. tell the visualizer not to visualize message after message but certain time intervalls?

I also tried to define a single XVIZ Message with multiple StreamSet updates (which could have different timestamps in theory)
but according to my console log currently only a single streamset is supported.

Thanks for any feedback.