Skip to content

Commit

Permalink
fix height variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-tj authored Jul 19, 2023
1 parent be74c08 commit 057d28d
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 @@ -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: {
Expand Down

0 comments on commit 057d28d

Please sign in to comment.