]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robomon: Comment out vidle functionality.
authorMichal Vokac <vokac.m@gmail.com>
Thu, 28 Apr 2011 12:22:42 +0000 (14:22 +0200)
committerMichal Vokac <vokac.m@gmail.com>
Thu, 28 Apr 2011 12:22:42 +0000 (14:22 +0200)
Maybe we will use this later for jaws actuator if we find some free time (hahaha).

src/robomon/RobomonAtlantis.cpp

index 83271f6b3831df71dff359e5afac6a50dff4e13d..7351c3b6cba3ea34d298cae56902ef4db9f78892 100644 (file)
@@ -573,9 +573,9 @@ bool RobomonAtlantis::event(QEvent *event)
                case QEVENT(QEV_HOKUYO_SCAN):
                        hokuyoScan->newScan(&orte.hokuyo_scan);
                        break;
-               case QEVENT(QEV_VIDLE_CMD):
-                       robotEstPosBest->setVidle(orte.vidle_cmd.req_pos);
-                       break;
+//             case QEVENT(QEV_VIDLE_CMD):
+//                     robotEstPosBest->setVidle(orte.vidle_cmd.req_pos);
+//                     break;
                case QEVENT(QEV_REFERENCE_POSITION):
                        emit actualPositionReceivedSignal();
                        break;
@@ -784,8 +784,8 @@ void RobomonAtlantis::createOrte()
                        generic_rcv_cb, new OrteCallbackInfo(this, QEV_ESTIMATED_POSITION_BEST));
        robottype_subscriber_hokuyo_scan_create(&orte,
                        generic_rcv_cb, new OrteCallbackInfo(this, QEV_HOKUYO_SCAN));
-       robottype_subscriber_vidle_cmd_create(&orte,
-                       generic_rcv_cb, new OrteCallbackInfo(this, QEV_VIDLE_CMD));
+       //robottype_subscriber_vidle_cmd_create(&orte,
+         //              generic_rcv_cb, new OrteCallbackInfo(this, QEV_VIDLE_CMD));
        robottype_subscriber_fsm_main_create(&orte,
                                             rcv_fsm_main_cb, this);
        robottype_subscriber_fsm_motion_create(&orte,