]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robofsm/actuators.h
robofsm: Update jaws and lift positions.
[eurobot/public.git] / src / robofsm / actuators.h
index 520a920f5c3e96059e2da29799ebae5010a49d61..459ba149af069009a4d780bf97b12f3c030d9e5c 100644 (file)
@@ -39,16 +39,16 @@ typedef enum {
   CATCH
 } jaws_cmds;
 
-#define JAW_LEFT_OPEN  0xb0
-#define JAW_RIGHT_OPEN 0x70
+#define JAW_LEFT_OPEN  0xff
+#define JAW_RIGHT_OPEN 0x40
 
-#define JAW_LEFT_CLOSE 0x60
-#define JAW_RIGHT_CLOSE        0xc0
+#define JAW_LEFT_CLOSE 0x00
+#define JAW_RIGHT_CLOSE        0xff
 
-#define JAW_LEFT_CATCH 0x70
-#define JAW_RIGHT_CATCH        0xbb
+#define JAW_LEFT_CATCH 0x80
+#define JAW_RIGHT_CATCH        0xb0
 
-#define UP 0x100
+#define UP 0x140
 #define DOWN 0x0
 
 #ifdef __cplusplus