-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depth and IR frame counters are not consistent #11579
Comments
Hi @cvasfi May I first ask whether you are using hardware sync to synchronize the depth to the timestamps of another camera or to an external trigger pulse? The reason that I ask this is that HDR and hardware sync cannot be used together because when running in HDR mode with multiple cameras, the different cameras may run at different exposure times at the same time. Hardware sync may be interrupted and so this usage is not recommended. Infrared and depth frames should always be automatically synchronized whether hardware sync is active or not though. This is because the depth is derived from infrared frames and so there is no way for them to be out of sync with each other. |
Then I understand that it is still unknow what might be the cause of this phenomenon of depth/IR frames with different |
There was a case at #7807 where different frame numbers were being reported for depth and infrared and it was resolved in that particular case by building the librealsense SDK from source code with the RSUSB Backend using the CMake build flag -DFORCE_RSUSB_BACKEND=true An RSUSB build of the SDK bypasses the Linux kernel and so is not dependent on Linux versions or kernel versions and does not require kernel patching. |
Hi @cvasfi Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Issue Description
<Describe your issue / question / feature request / etc..>
I have realized the frame counter metadata (
RS2_FRAME_METADATA_FRAME_COUNTER
) of the IR frame is off by 2 compared to the depth frame. (i.e. first depth frame_counter is 2 whereas first IR frame counter is 0).I don't mind this since the offset is consistent during runtime but this causes the hdr-merge algorithm to ignore the IR data and use the depth information only(See hdr-merge).
Is there a way to fix this issue for the sake of bypassing the hdr-merge check?
This is how I initalize both streams:
The text was updated successfully, but these errors were encountered: