mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-09-12 19:20:20 +08:00
Fix incorrect usage of getRecommendedFilters
This commit is contained in:
@@ -1688,9 +1688,6 @@ std::shared_ptr<ob::Frame> 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());
|
||||
|
||||
Reference in New Issue
Block a user