]> git.droids-corp.org - aversive.git/blobdiff - projects/microb2010/cobboard/shovel.h
work on trajectory, update cobboard and ballboard too
[aversive.git] / projects / microb2010 / cobboard / shovel.h
index 7ba8445ec1301c9e9fc28f7093bcb242c3ae9d46..241b06503c1db0f9bfbfc13ddd308bde2b20752e 100644 (file)
@@ -23,7 +23,7 @@
 #define _SHOVEL_H_
 
 #define SHOVEL_DOWN 100
-#define SHOVEL_MID  6000
+#define SHOVEL_MID  4900
 #define SHOVEL_UP   10000
 
 void shovel_init(void);
@@ -43,4 +43,7 @@ static inline void shovel_up(void)
        cs_set_consign(&cobboard.shovel.cs, SHOVEL_UP);
 }
 
+uint8_t shovel_is_up(void);
+uint8_t shovel_is_down(void);
+
 #endif /* _SHOVEL_H_ */