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();