]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robomon: Do not send speed request from robomon.
authorMichal Vokac <vokac.m@gmail.com>
Mon, 2 Jan 2012 13:08:32 +0000 (14:08 +0100)
committerMichal Vokac <vokac.m@gmail.com>
Mon, 2 Jan 2012 13:08:32 +0000 (14:08 +0100)
Now motors are disabled and no regulation is done when
speed request is 0xffff.

src/robomon/RobomonAtlantis.cpp

index 2c380b7246b03481f81233cfafc357c8a139b7ec..b7e083a5ea999615109ab05c1e241e8be4258667 100644 (file)
@@ -792,8 +792,8 @@ void RobomonAtlantis::createOrte()
                                             rcv_fsm_act_cb, this);
 
        /* motors */
-       orte.motion_speed.left = 0;
-       orte.motion_speed.right = 0;
+       orte.motion_speed.left = 0xffff;
+       orte.motion_speed.right = 0xffff;
 
        /* power management */
         orte.pwr_ctrl.voltage33 = true;