Depth frame lags 1 frame behind RGB

Hi,

Playing around with the Astra Mini and Astra SDK on Linux and ran into an issue where depth and color frames were out of sync.

Digging into it, it seems that the color stream is consistently one frame ahead of the depth stream.

Switching the order in which the streams are started seems to fix the issue. i.e.:

// depth frame lags 1 frame behind rgb
astra_stream_start(color)
astra_stream_start(depth)

// works
astra_stream_start(depth)
astra_stream_start(color)

(Tested several times with same result. Plugging/unplugging the camera and switching between the two methods arbitrarily.)

Is this the expected behavior?

h/w: Astra Mini
sdk: AstraSDK-v2.0.12-b48cd2945b-20180924T172943Z-Linux

Thanks!

1 Like