You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/components/nodes/sync_node.rst
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,36 @@ Message Synchronization
47
47
The Sync node aligns incoming messages based on their timestamps. The synchronization criteria and behavior can be configured using the :code:`depthai.node.Sync.setSyncThreshold` and :code:`depthai.node.Sync.setSyncAttempts` method. More info in the :ref:`API Reference <reference>`.
48
48
49
49
50
+
51
+
.. code-block::
52
+
53
+
┌──────────────────────┐
54
+
│ Get all messages │
55
+
│ connected to the │
56
+
│ Sync node │
57
+
└──────────────────────┘
58
+
|
59
+
v
60
+
┌──────────────────────┐
61
+
│ Check if messages │
62
+
│ are synced (min and │
63
+
│ max timestamp diff │<----------------+
64
+
│ < threshold) │ |
65
+
└──────────────────────┘ |
66
+
| |
67
+
┌────────────────────┐ | ┌──────────────────────┐
68
+
│ Combine into │ if synced | if not synced │ Get message with │
69
+
│ MessageGroup │<-----------------+----------------->│ the oldest timestamp │
0 commit comments