Skip to content

Commit

Permalink
Merge pull request #21 from sam-tj/humble
Browse files Browse the repository at this point in the history
Fix height variable
  • Loading branch information
lola-masson authored Jul 20, 2023
2 parents 17b3314 + 057d28d commit 4be8f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,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: {
Expand Down

0 comments on commit 4be8f1c

Please sign in to comment.