File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def getFps(self):
6868
6969out .setStreamName ("out" )
7070
71- sync .setSyncThreshold (timedelta (seconds = ( 1 / FPS ) * 0.5 ))
71+ sync .setSyncThreshold (timedelta (seconds = 0.5 / FPS ))
7272
7373# Linking
7474camRgb .isp .link (sync .inputs ["rgb" ])
Original file line number Diff line number Diff line change 3434
3535out .setStreamName ("out" )
3636
37- sync .setSyncThreshold (timedelta (seconds = ( 1 / FPS ) * 0.5 ))
37+ sync .setSyncThreshold (timedelta (seconds = 0.5 / FPS ))
3838
3939cfgIn .setStreamName ("config" )
4040
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def getFps(self):
5959
6060out .setStreamName ("out" )
6161
62- sync .setSyncThreshold (timedelta (seconds = 1 / FPS * 0.5 ))
62+ sync .setSyncThreshold (timedelta (seconds = 0.5 / FPS ))
6363
6464cfgIn .setStreamName ("config" )
6565
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def getFps(self):
5050
5151out .setStreamName ("out" )
5252
53- sync .setSyncThreshold (timedelta (seconds = ( 1 / FPS ) ))
53+ sync .setSyncThreshold (timedelta (seconds = 0.5 / FPS ))
5454
5555# Linking
5656camRgb .isp .link (sync .inputs ["rgb" ])
You can’t perform that action at this time.
0 commit comments