Skip to content
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

HW sync undefined behaviour #2121

Closed
ankarako opened this issue Jul 23, 2018 · 4 comments
Closed

HW sync undefined behaviour #2121

ankarako opened this issue Jul 23, 2018 · 4 comments

Comments

@ankarako
Copy link


Required Info
Camera Model D415
Firmware Version 5.9.14
Operating System & Version Win10
Platform PC
SDK Version 2.13 & 2.14
Language C++
Segment

Issue Description

Hello, doing some experiments with HW syncing.

  • Does the HW sync imply Internal (Depth & Color Sensor) Sync? That is, are the depth-color streams of the same device synced? (I think that the answer is NO).
  • Setting a device as MASTER (and forgetting about any other device) seems to have undefined behavior regarding color. I monitored the following:
    • The device does not produce any color frames
    • the device produces color and depth frames, but not at the correct rate (MASTER's clock)
    • The devices hangs.
      What may cause that behavior?

Even if I set the device as master, and then open the rs-viewer, the color stream is not available. However, the depth stream seems to be OK.

Any help is really appreciated.
P.S.: Does HW sync concern only the depth sensor or the color too? If it does apply only for the depth sensor, is there a way to achieve Depth-Color Sync?

@RealSense-Customer-Engineering
Copy link
Collaborator

[Realsense Customer Engineering Team Comment]
Hi

Here is how to enable the Sync feature on D415:
0) Refer to the attached picture;

  1. RS-viewer must be version 2.13.0 or newer; Firmware version must be 5.9.14.0 or newer;
  2. Depth and Color sensors must be set at same frame rate (i.e. 30fps )
  3. "Inter Cam Sync Mode" set to "1.000"; (Default: 0.000; Master: 1.000; Slave: 2.000).
  4. Color sensor, the "Enable Auto Exposure" must be Unchecked !!!
  5. Keep in mind: Always start Depth camera first, then start the Color sensor; (Depth is master, Color is Slave)
  6. To verify the Sync feature, see the number under icon "i"; they should be same. (see attached picture: "30.01" fps for both Depth and Color)

Thanks

@ankarako
Copy link
Author

Hello,

Thank you for your response. The steps I followed are just the same as the ones you mention (however there is no attachment). The device's behavior is still random. (I noticed that with the 2.14 rs-viewer the rgb sensor does not stream at all, but with the 2.13 sometimes it works as expected and sometimes hangs. Sometimes I get a Hardware Notification about a RT MIPI Error.)
The following is a link to a gif that captures my screen and presents the randomness I mentioned.
(The file was bigger than what github allows, so I uploaded it on imgur).

rs-viewer 2.13 screen capture

@RealSense-Customer-Engineering
Copy link
Collaborator

[Realsense Customer Engineering Team Comment]
Hi

After you turn off RGB camera (under Slave mode), please wait 5 seconds to let it fully discharge and then you can turn on RGB camera again. This usually can bring up RGB camera normally.

Thanks

@RealSense-Customer-Engineering
Copy link
Collaborator

[Realsense Customer Engineering Team Comment]
Hi

Are you asking Sync feature on a single camera or on multiple cameras?

Here is the Whitepaper regarding camera sync usage: see "Multi-camera_Configurations_whitepaper.PDF"
https://realsense.intel.com/intel-realsense-downloads/#whitepaper

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants