diff --git a/orbbec_camera/src/ob_camera_node.cpp b/orbbec_camera/src/ob_camera_node.cpp index 0ca409d..845a96d 100644 --- a/orbbec_camera/src/ob_camera_node.cpp +++ b/orbbec_camera/src/ob_camera_node.cpp @@ -1677,9 +1677,6 @@ std::shared_ptr OBCameraNode::processDepthFrameFilter( if (frame == nullptr || frame->getType() != OB_FRAME_DEPTH) { return nullptr; } - auto sensor = device_->getSensor(OB_SENSOR_DEPTH); - CHECK_NOTNULL(sensor.get()); - auto filter_list = sensor->getRecommendedFilters(); for (size_t i = 0; i < filter_list_.size(); i++) { auto filter = filter_list_[i]; CHECK_NOTNULL(filter.get());