mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-10 22:49:51 +08:00
Delete the color frame is not decoded terminal output
This commit is contained in:
@@ -2007,8 +2007,8 @@ void OBCameraNode::onNewFrameCallback(const std::shared_ptr<ob::Frame> &frame,
|
|||||||
if (image.empty() || image.cols != width || image.rows != height) {
|
if (image.empty() || image.cols != width || image.rows != height) {
|
||||||
image.create(height, width, image_format_[stream_index]);
|
image.create(height, width, image_format_[stream_index]);
|
||||||
}
|
}
|
||||||
if (frame->type() == OB_FRAME_COLOR && !is_color_frame_decoded_) {
|
if (frame->type() == OB_FRAME_COLOR && !is_color_frame_decoded_ ) {
|
||||||
RCLCPP_ERROR(logger_, "color frame is not decoded");
|
// RCLCPP_ERROR(logger_, "color frame is not decoded");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (frame->type() == OB_FRAME_COLOR) {
|
if (frame->type() == OB_FRAME_COLOR) {
|
||||||
|
|||||||
Reference in New Issue
Block a user