]> git.droids-corp.org - aversive.git/blobdiff - projects/microb2010/cobboard/actuator.c
prog_fuse.sh: reindent file
[aversive.git] / projects / microb2010 / cobboard / actuator.c
index 1b6e91f168116f449b3b5d974a75ee47ba79052d..9d3bdef0daa2b28afeefc5a74fb3de9d72de6157 100644 (file)
 #include "main.h"
 #include "actuator.h"
 
-#define COBROLLER_SPEED 800
-//#define COBROLLER_SPEED 400
+#define COBROLLER_SPEED 850
 
-#define SERVO_DOOR_OPEN 260
-#define SERVO_DOOR_CLOSED 510
-#define SERVO_DOOR_BLOCK 510
+#define SERVO_DOOR_OPEN 300
+#define SERVO_DOOR_CLOSED 525
+#define SERVO_DOOR_BLOCK 525
 
 #define SERVO_CARRY_L_OPEN 295
-#define SERVO_CARRY_L_CLOSED 400 // 510
+#define SERVO_CARRY_L_CLOSED 430 //400
 
 #define SERVO_CARRY_R_OPEN 455
-#define SERVO_CARRY_R_CLOSED 350 // 250
+#define SERVO_CARRY_R_CLOSED 320 //350
 
 void actuator_init(void);
 
@@ -113,5 +112,6 @@ void cobroller_reverse(uint8_t side)
 
 void actuator_init(void)
 {
-
+       servo_door_open();
+       servo_carry_open();
 }