Skip to content

Commit

Permalink
[bug fix] remove redundant _range_image.resize (#124)
Browse files Browse the repository at this point in the history
bug fix according to #123
  • Loading branch information
jonbakerfish authored Jan 2, 2023
1 parent d59df70 commit b619a88
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class ImageProcessor : public ros2_ouster::DataProcessorInterface
_range_image.step = _width;
_range_image.encoding = "mono8";
_range_image.header.frame_id = _frame;
_range_image.data.resize(_width * _height);
_range_image.data.resize(
_width * _height * _bit_depth /
(8 * sizeof(*_range_image.data.data())));
Expand Down

0 comments on commit b619a88

Please sign in to comment.