]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robofsm: Line uses default trajectory constrains
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 10 Apr 2009 13:19:15 +0000 (15:19 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 10 Apr 2009 13:19:40 +0000 (15:19 +0200)
src/robofsm/test/line.cc

index 0d02fed7a31b744e35ae522a23e26ad5cf7bf5a4..7b627243b7b7ef2ce868d1a49d12c8aaf6bb0493 100644 (file)
@@ -30,9 +30,9 @@ void follow_line()
 {
        static bool backward = false;
        struct TrajectoryConstraints tc = trajectoryConstraintsDefault;
-       tc.maxv *= 2;
-       tc.maxacc *= 4;
-       tc.maxangacc *= 4;
+//     tc.maxv *= 2;
+//     tc.maxacc *= 4;
+//     tc.maxangacc *= 4;
 
        /* Allocate new trajectory */
        if (!backward) {
@@ -108,7 +108,7 @@ int main()
        if (rv) error(1, errno, "robot_init() returned %d\n", rv);
 
        robot.fsm.main.debug_states = 1;
-       /*robot.fsm.motion.debug_states = 1;*/
+       robot.fsm.motion.debug_states = 1;
 
        robot.fsm.main.transition_callback = trans_callback;
        robot.fsm.motion.transition_callback = move_trans_callback;