X-Git-Url: https://defiant.homedns.org/gitweb/?a=blobdiff_plain;f=src%2Fpath_following.cpp;h=0be1135b16ac87fdc74d60a7b9930b504996cf06;hb=b0346ccd1f5566f3134ed47fd28f8330d7d2d76b;hp=c06a084c907cd9ccd957a42b3f00a4aec7bb286d;hpb=65c1790852227f3320af16237514105ad674a17d;p=ros_wild_thumper.git 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;