From 057d28dd4312667583d6ca453d34684ade91d922 Mon Sep 17 00:00:00 2001 From: Linda TJ Date: Wed, 19 Jul 2023 11:44:51 +0200 Subject: [PATCH] fix height variable --- src/lib/camera_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/camera_node.cpp b/src/lib/camera_node.cpp index 35b01d4..77813cc 100644 --- a/src/lib/camera_node.cpp +++ b/src/lib/camera_node.cpp @@ -905,7 +905,7 @@ void CameraNode::frame_callback(ifm3d::Frame::Ptr frame) ImageMsg raw_image_msg = ifm3d_ros2::ifm3d_to_ros_image(frame->GetBuffer(id), optical_header, logger_); image_publishers_[id]->publish(raw_image_msg); width_ = raw_image_msg.width; - height_ = raw_image_msg.width; + height_ = raw_image_msg.height; } break; case buffer_id_utils::message_type::compressed_image: {