Hi Tsjarly
The delay you are experiencing between the RGB and depth frames is likely due to the difference in the time it takes to process and retrieve these frames from the queues. Depth processing typically takes longer than simple image capture, which can introduce a delay.
Maybe try using .getTimestampDevice()
to match the timestamps at which both rgb and depth were taken. Then compute the delay and sync them using this delay.
Thanks,
Jaka