Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
from queue import Queue
except ImportError:
from Queue import Queue
from calibrator import CAMERA_MODEL
from camera_calibration.calibrator import CAMERA_MODEL

class BufferQueue(Queue):
"""Slight modification of the standard Queue that discards the oldest item
Expand Down
2 changes: 1 addition & 1 deletion image_view/src/nodelets/image_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void ImageNodelet::imageCb(const sensor_msgs::ImageConstPtr& msg)
options.max_image_value = max_image_value_;
}
cv_ptr = cvtColorForDisplay(cv_bridge::toCvShare(msg), "", options);
queued_image_.set(cv_ptr->image);
queued_image_.set(cv_ptr->image.clone());
}
catch (cv_bridge::Exception& e) {
NODELET_ERROR_THROTTLE(30, "Unable to convert '%s' image for display: '%s'",
Expand Down