diff --git a/zbar_ros/src/barcode_reader_node.cpp b/zbar_ros/src/barcode_reader_node.cpp index c8b9657..3fa5235 100644 --- a/zbar_ros/src/barcode_reader_node.cpp +++ b/zbar_ros/src/barcode_reader_node.cpp @@ -90,7 +90,7 @@ void BarcodeReaderNode::imageCb(sensor_msgs::msg::Image::ConstSharedPtr image) geometry_msgs::msg::Point point; point.x = (*point_it).x; point.y = (*point_it).y; - RCLCPP_DEBUG(get_logger(), " Point: %d, %d", point.x, point.y); + RCLCPP_DEBUG(get_logger(), " Point: %f, %f", point.x, point.y); symbol.points.push_back(point); }