-
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
Frame Synchronization d400 #2295
Comments
When you are doing hardware sync between your two D415s, may I please confirm that you have connected the two cameras together with a custom-built sync cable, as described in the multi-cam sync white paper document linked to below? https://realsense.intel.com/wp-content/uploads/sites/63/Multiple_Camera_WhitePaper_rev1.1.pdf Also, have you set one of the D415s as a Master and the other as a Slave? RealSense Group CTO Anders said recently: "When you set a camera to slave it will still acquire frames at the right frame rate even if there is no sync input signal. It tries to sync but if there is no signal that comes in at the right time, it gives up and triggers itself." |
Yes, the cameras are connected following the instructions of the white paper. |
Sync user @vladsterz also had questions on the subject a couple of days ago. You may find something useful in their own post if you haven't seen it already. |
@rafaor29 Hey. I can confirm that frames counters are different in the two devices, which makes a lot of sense in my opinion. Since master and slave devices can start independently (or even if master has to start first, the statement holds), they will start acquiring frames at different times. Let's suppose that they start at the very exact moment. Now if slave drops a frame, different counters will occur once again. I am not sure what happens with the trigger pulse when master drops a frame, but it will lead to different counters as well. |
Hi @vladsterz . I've seen that we're experiencing similar issue. I agree that it has sense that the frame counter is different so you can align the frames later. Still, what i think it is happening that the slave camera is not getting the signal at the right time as said before in this post, and it is triggering itself. After stablishing the master and slave devices, how do you check each one is the one it is supposed to be? Also, what you said, in the excel that i uploades you can find 2 cases in which a frame drop occurs in camera 74 and the difference between the timestamps of the color and depth sensors is bigger than usual. |
Hey @rafaor29 . It's is easy to check whether a device is master or slave. |
Thanks for the help. I'll update when i make reliable progress. Good luck! |
[Realsense Customer Engineering Team Comment] |
[Realsense Customer Engineering Team Comment] Any update? Still need any support for this topic? |
[Realsense Customer Engineering Team Comment] |
Issue Description
Hi, i've been working with the multicamera example so it is able to stablish the hardware synchronization of the connected cameras (in this case 2 d415) and it also captures an image like in the example of save-from disk, each camera in a different thread.
I've made some captures and the metadata retrieved from the captures shows that the frame counters are almost always different from both cameras and also in the same camera color and depth are still different. I don't understand exactly why this is happening, both hardware and software synchronization work in other test applied before.
Also, when we did the test with a chrono the difference between the time in each picture taken by the cameras was 0.05 seconds.
I'll attach the excel with relevant data from all the metadata of the test.
Muestras_415.xlsx
Thanks for the help.
The text was updated successfully, but these errors were encountered: