We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc22658 commit a382c66Copy full SHA for a382c66
1 file changed
sciurus17_examples/src/aruco_detection.cpp
@@ -64,7 +64,7 @@ class ImageSubscriber : public rclcpp::Node
64
const sensor_msgs::msg::Image::ConstSharedPtr & img_msg,
65
const sensor_msgs::msg::CameraInfo::ConstSharedPtr & info_msg)
66
{
67
- auto cv_img = cv_bridge::toCvShare(img_msg, img_msg->encoding);
+ auto cv_img = cv_bridge::toCvCopy(img_msg, img_msg->encoding);
68
cv::cvtColor(cv_img->image, cv_img->image, cv::COLOR_RGB2BGR);
69
70
// マーカID
0 commit comments