add enable frame sync

This commit is contained in:
Joe Dong
2023-09-25 11:40:22 +08:00
parent 6abfafed2b
commit 8c1f359040
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -253,6 +253,9 @@ void OBCameraNode::startStreams() {
onNewFrameSetCallback(frame_set);
});
}
if (pipeline_ && (depth_registration_ || enable_colored_point_cloud_)) {
pipeline_->enableFrameSync();
}
pipeline_started_.store(true);
startIMU();
}