From e06850094f71063483141b52a24c6638e877a3bf Mon Sep 17 00:00:00 2001 From: lixiaobin Date: Tue, 7 Nov 2023 11:26:20 +0800 Subject: [PATCH] Fix bug for callback color data --- orbbec_camera/src/ob_camera_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbbec_camera/src/ob_camera_node.cpp b/orbbec_camera/src/ob_camera_node.cpp index 5fcada19..848d2701 100644 --- a/orbbec_camera/src/ob_camera_node.cpp +++ b/orbbec_camera/src/ob_camera_node.cpp @@ -287,7 +287,7 @@ void OBCameraNode::startStreams() { throw std::runtime_error("Failed to start pipeline"); } if (enable_stream_[COLOR]) { - colorFrameThread_ = std::make_shared([this]() { noNewColorFrameCallback(); }); + colorFrameThread_ = std::make_shared([this]() { onNewColorFrameCallback(); }); } if (enable_frame_sync_) { pipeline_->enableFrameSync();