-
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
Wrong Color frame relative to Depth #5675
Comments
Hi @spaltiel |
Dear Sergey, Thanks for your quick response. I will try your suggestion and update.
Best Regards, |
Yes, it is |
10X! |
Dear Sergey, Thanks! both solutions works fine.
last point regarding this issue: I tried to directly implement using syncer methode (similar to the wiki page) inside a new thread. Immidiatly after the lines: Are there any guidelines to follow when implementing directly the syncer way in a different thread which will constantly acquire framestes? The reason I am asking is that we really want to make sure we get current new image and we are not sure that wait_for_frame will be 100%. So we implemented the syncer and we verify that depth and color are both not null. Thanks! |
Just to make sure - Release build? |
Also, I did some changes to make metadata installation more convenient - #5678 |
Yes it is in release. |
BTW the first link to enable metadata was really good. |
Regarding metadata enable: does installing the "RS400Camera.inf" if enough to enable the metadata and avoid the first procedure of changing the registry and ...? |
If you install the INF you don't need to do anything else, it should just work (for D400 devices) |
I will try the INF on different PC - 10X! Regarding the CPU utilization - I rewrote a clean acquisition flow for test (see below )and it works great. Maybe it is not great coding, however, it might be helpful for someone. Thanks a lot,
|
Hi @spaltiel, Do you have further question on this? Thanks, |
No, we are good. again lots of thanks to Sergey. |
dear friends, we would like to add also accel and gyro. using the same convention: return crash. how we can open accel and gyro using same syncer concept? br, |
we found our bug and how to fix it. Originally we tried to call rs2::sensor::open(stream_profile) twice for the same sensor which result with an error. |
Issue Description
Dear friends,
Capturing frame after translating the camera results with the wrong color frame relative to the depth frame.
I run rs-pointcloud example from librealsense2 solution and capture two examples which are attached which explains the issue. the test is to shift my hand in front of the camera. as it can be seen the color is not synced with the depth.
The problem pop when we moved a robotic arm where the D435 is attached to it. The arm is moving and after it stop we acquire frame, unfortunately it did not get a synced images. We know for sure that the arm is in position and not moving or even vibrating!
Mapping Infra - the problem does not occur!
Using realsense viewer - the problem does not occur!
We understand it is not low FPS, or too long exposure time.
We read the the info in the following link:
https://github.com/IntelRealSense/librealsense/wiki/Frame-Buffering-Management-in-RealSense-SDK-2.0#syncer
according to it wait_for_frame should be simplified version of sync frames but some how the problem occur.
Can you please guide us to a simple code example how to correctly acquire the next frame where all streams synced correctly (we would like the SW to get in each call only new frames and drop the old ones).
Best regards,
Amir
The text was updated successfully, but these errors were encountered: