]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robofsm/movehelper.h
robofsm: MoveHelper - fix number of parameters in function goto_notrans
[eurobot/public.git] / src / robofsm / movehelper.h
index 99f47bc74324d48bf879a248d7b27e829bdcf0c7..7695309f56da5124a7ec796bee0ceba12ce3cdf8 100644 (file)
@@ -69,7 +69,7 @@ public:
                add_final_point_notrans(trans_x(x), trans_y(y), trans_heading(heading));
        }
        void send_speed(double left, double right);
-       void goto_notrans(double x, double y, move_target_heading heading, TrajectoryConstraints *tc, bool planning);
+       void goto_notrans(double x, double y, move_target_heading heading, TrajectoryConstraints *tc, bool planning = true);
        void goto_trans(double x, double y, move_target_heading heading, TrajectoryConstraints *tc) {
                goto_notrans(trans_x(x), trans_y(y), trans_heading(heading), tc, true);
        }