From 9ab6ffef86cc96f0bdd52c811fcc1a6635ab56f5 Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Wed, 15 Jan 2020 08:10:17 +0100 Subject: [PATCH] path_following: Fix printf --- src/path_following.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path_following.cpp b/src/path_following.cpp index c06a084..0be1135 100644 --- a/src/path_following.cpp +++ b/src/path_following.cpp @@ -208,7 +208,7 @@ class PathFollower ht_min_points = config.ht_min_points; px = cm_to_px_y(config.roi_y); if (px > 0 && px < img_vsize - roi_height) roi_y = px; - else ROS_ERROR("Bad roi_y position %.2fcm", roi_y); + else ROS_ERROR("Bad roi_y position %dcm", roi_y); road_distance_cm = config.road_distance_cm; lad_cm = config.lad_cm; speed_m_s = config.speed_m_s; -- 2.39.2