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
(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