mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 20:17:47 +08:00
Fix bug for callback color data
This commit is contained in:
@@ -287,7 +287,7 @@ void OBCameraNode::startStreams() {
|
||||
throw std::runtime_error("Failed to start pipeline");
|
||||
}
|
||||
if (enable_stream_[COLOR]) {
|
||||
colorFrameThread_ = std::make_shared<std::thread>([this]() { noNewColorFrameCallback(); });
|
||||
colorFrameThread_ = std::make_shared<std::thread>([this]() { onNewColorFrameCallback(); });
|
||||
}
|
||||
if (enable_frame_sync_) {
|
||||
pipeline_->enableFrameSync();
|
||||
|
||||
Reference in New Issue
Block a user