Skip to content

Commit 1f21185

Browse files
author
Matevz Morato
committed
Use info instead of warn in script node
1 parent 896397b commit 1f21185

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mixed/frame_sync.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ int main() {
8282
8383
if check_sync(frames, f.getTimestamp()): # Check if we have any synced frames
8484
# Frames synced!
85-
node.warn(f"Synced frame!")
85+
node.info(f"Synced frame!")
8686
for name, list in frames.items():
8787
syncedF = list.pop(0) # We have removed older (excess) frames, so at positions 0 in dict we have synced frames
88-
node.warn(f"{name}, ts: {str(syncedF.getTimestamp())}, seq {str(syncedF.getSequenceNum())}")
88+
node.info(f"{name}, ts: {str(syncedF.getTimestamp())}, seq {str(syncedF.getSequenceNum())}")
8989
node.io[name+'_out'].send(syncedF) # Send synced frames to the host
9090
9191

0 commit comments

Comments
 (0)