From: Erik Andresen Date: Wed, 15 Jan 2020 07:10:17 +0000 (+0100) Subject: path_following: Fix printf X-Git-Url: https://defiant.homedns.org/gitweb/?p=ros_wild_thumper.git;a=commitdiff_plain;h=9ab6ffef86cc96f0bdd52c811fcc1a6635ab56f5;hp=bcb8174c4c183cc492ec11a61533b549eac75ab1 path_following: Fix printf --- 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;