Commit 18f370ad authored by xiaoqiang_user's avatar xiaoqiang_user

change size

parent 34415273
......@@ -70,10 +70,8 @@ void ImageTransportImageStreamer::imageCallback(const sensor_msgs::ImageConstPtr
int input_width = img.cols;
int input_height = img.rows;
if (output_width_ == -1)
output_width_ = input_width;
if (output_height_ == -1)
output_height_ = input_height;
output_width_ = input_width;
output_height_ = input_height;
if (invert_)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment