mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 20:17:47 +08:00
Add code to disable frame synchronization processing.
This commit is contained in:
@@ -321,6 +321,9 @@ void OBCameraNode::startStreams() {
|
|||||||
if (enable_frame_sync_) {
|
if (enable_frame_sync_) {
|
||||||
pipeline_->enableFrameSync();
|
pipeline_->enableFrameSync();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
pipeline_->disableFrameSync();
|
||||||
|
}
|
||||||
pipeline_started_.store(true);
|
pipeline_started_.store(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user