Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Multiple Device Sync Issues #530

Closed
10 tasks done
wes-b opened this issue Jul 23, 2019 · 4 comments
Closed
10 tasks done

Multiple Device Sync Issues #530

wes-b opened this issue Jul 23, 2019 · 4 comments
Assignees
Labels
Firmware bugs in firmware

Comments

@wes-b
Copy link
Contributor

wes-b commented Jul 23, 2019

Multiple Device Synchronization has a couple issues that prevent it from working reliably.

Check out Multi-camera sync documentation

Issues that the user must be aware of and work around

**Issues that are actively being worked on / fixed

@wes-b wes-b added Bug Something isn't working Triage Approved The Issue has been approved by an Azure Kinect team member. labels Jul 23, 2019
@wes-b wes-b self-assigned this Jul 23, 2019
@wes-b wes-b pinned this issue Jul 25, 2019
@wes-b wes-b unpinned this issue Jul 25, 2019
@YuXinFan
Copy link

I meet some problem with sync. When connects external sync only one master which is not a ring:

  1. In some running case, the timestamp of master capture is 100,000 usec forward. In this case, the other devices are aligned .
  2. In some running case, the timestamp of some devices is about 30,000 usec lag, but they sometimes can also have the same timestamp in a loop round.
    I test many times. And I want to get stable sync. Why this problem occurs?

@wes-b
Copy link
Contributor Author

wes-b commented Jul 26, 2019

I have not heard of the timestamp being that far off, but I am able to run 3 devices at my desk at 30FPS (no image processing), where I have seen it off by 4-5 ms.

The problem is from #362, you need to be setting a manual exposure value. But what you set / get via the API is different then what is actually used and returned via k4a_image_get_exposure_usec. We also have a firmware fix coming.

For now try building a version of the SDK with the fix for #362 (until 1.2.x is released). The timing won't be perfect yet, but is should get you within a few milliseconds or less.

@tesych tesych removed Bug Something isn't working Triage Approved The Issue has been approved by an Azure Kinect team member. labels Aug 7, 2019
@initialneil
Copy link

initialneil commented Aug 12, 2019

@wes-b I'm having the same sync issue. I'm connecting 3 devices to one PC, wire-synced one after one. One of the device is master and the others are subordinates.
When I use system timestamp from color image, the results look synced, yet the device timestamp are far from close to each other.
See the screenshot below. The device timestamp was divided by 1,000 and system timestamp divided by 1,000,000:
image

In other tests, subordinates are more likely to have close timestamp while the master is usually 100ms off.

@initialneil
Copy link

Hi, I just want to give an update on my previous problem. I've only recently realized that ALL subordinate devices must be started before the master. After I fix this, my sync problem seems to be gone, the device timestamp works now.
My bad. But I suggest in the white paper of sync, make sure people notice this. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Firmware bugs in firmware
Projects
None yet
Development

No branches or pull requests

4 participants