]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
vidle: joyd, actlib...
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 29 Apr 2010 15:05:23 +0000 (17:05 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 29 Apr 2010 15:05:23 +0000 (17:05 +0200)
src/joyd/joyd.cc
src/robofsm/actuators.h

index 90ec5d4b962f6f1710f6c626f96cdc155560c4e5..689541a8ecacc4fc9e4113768a4d665f380d13a7 100644 (file)
@@ -62,8 +62,7 @@ static void button_act(char state, int id)
        switch(id) {
                case BT1:
                        if(state) {
-                               act_vidle(VIDLE_UP)
-                               ;//act ON
+                               act_vidle(VIDLE_UP);
                        } else {
                                ;//act OFF
                        }
index 01215fe5c49b59fc7d1f734bea2c2ad54ef73451..a3acec8417f588915b6c6e5a652fddb67800e16d 100644 (file)
@@ -31,7 +31,7 @@ of the robot.
 #define HOKUYO_PITCH_HORIZONTAL 0xC0
 #define HOKUYO_PITCH_MIN       0x00
 
-#define VIDLE_UP               0x380
+#define VIDLE_UP               0x3d0
 #define VIDLE_DOWN             0x1e0
 
 #ifdef __cplusplus