]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
actlib: lift: floor position constants added
authorFilip Jares <filipjares@post.cz>
Mon, 20 Apr 2009 16:04:51 +0000 (18:04 +0200)
committerFilip Jares <filipjares@post.cz>
Mon, 20 Apr 2009 16:04:51 +0000 (18:04 +0200)
src/robofsm/actuators.h

index a2330a7b89eb6a8213ba0b521343b81d9e5e7f19..472a0ade25ec95583f531f2cee1f568f76632bde 100644 (file)
@@ -45,12 +45,19 @@ of the robot.
 #define BELTS_OFF 0x64 // 100
 #define BELTS_OUT 0x28 //  40
 
+#define LIFT_SHIFT             0xE
 /* Positions of lift */
-#define FLOOR1 647
+#define LIFT_GROUND_POS                0x001A
+#define LIFT_BELOW_HOLDER_POS  0x00E0
+#define LIFT_FLOOR1            0x00E0
+#define LIFT_FLOOR2            0x01A0
+#define LIFT_FLOOR3            0x0264
+#define LIFT_FLOOR4            0x0322
 #define FLOOR2 3478
 
 /* Holder positions */
 #define HOLDER_CLOSED 0xFF
+#define HOLDER_LOOSE  0xD0
 #define HOLDER_OPENED 0
 
 /* Pusher position */