X-Git-Url: http://rtime.felk.cvut.cz/gitweb/eurobot/public.git/blobdiff_plain/6399595c5da6be12913c5ee6d0a228e1c2bc07ba..bfbd61a139592e6564fc79035e7d72e5668a002b:/src/robofsm/robot.c diff --git a/src/robofsm/robot.c b/src/robofsm/robot.c index e49f2690..5aeb5dd4 100644 --- a/src/robofsm/robot.c +++ b/src/robofsm/robot.c @@ -31,6 +31,7 @@ UL_LOG_CUST(ulogd_robot); /* Log domain name = ulogd + name of the file */ #define MOTION_CONTROL_INIT_ONLY #include "motion-control.h" +#include "robot.h" /* Global definition of robot structure */ struct robot robot; @@ -317,4 +318,6 @@ void robot_calibrate_odometry() } robot.odo_cal_a = a / num; robot.odo_cal_b = b / num; + printf("calibrated value left: %f\n",robot.odo_cal_a); + printf("calibrated value right: %f\n",robot.odo_cal_b); }