Skip to content

Commit 25868fc

Browse files
authored
Reduce log spam when the camera_info is subscribed to but not image topic #10)
1 parent 2f74bf5 commit 25868fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orbbec_camera/src/ob_camera_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2842,7 +2842,7 @@ void OBCameraNode::onNewFrameCallback(const std::shared_ptr<ob::Frame> &frame,
28422842
image.create(height, width, image_format_[stream_index]);
28432843
}
28442844
if (frame->getType() == OB_FRAME_COLOR && !is_color_frame_decoded_) {
2845-
RCLCPP_ERROR(logger_, "color frame is not decoded");
2845+
RCLCPP_DEBUG(logger_, "color frame is not decoded");
28462846
return;
28472847
}
28482848
if (frame->getType() == OB_FRAME_COLOR && frame->format() != OB_FORMAT_Y8 &&

0 commit comments

Comments
 (0)