git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optim cobboard
[aversive.git]
/
projects
/
microb2010
/
cobboard
/
actuator.c
diff --git
a/projects/microb2010/cobboard/actuator.c
b/projects/microb2010/cobboard/actuator.c
index
1b6e91f
..
8d2355d
100644
(file)
--- a/
projects/microb2010/cobboard/actuator.c
+++ b/
projects/microb2010/cobboard/actuator.c
@@
-45,12
+45,12
@@
#include "main.h"
#include "actuator.h"
#include "main.h"
#include "actuator.h"
-#define COBROLLER_SPEED
8
00
+#define COBROLLER_SPEED
6
00
//#define COBROLLER_SPEED 400
//#define COBROLLER_SPEED 400
-#define SERVO_DOOR_OPEN
26
0
-#define SERVO_DOOR_CLOSED 5
1
0
-#define SERVO_DOOR_BLOCK 5
1
0
+#define SERVO_DOOR_OPEN
30
0
+#define SERVO_DOOR_CLOSED 5
3
0
+#define SERVO_DOOR_BLOCK 5
3
0
#define SERVO_CARRY_L_OPEN 295
#define SERVO_CARRY_L_CLOSED 400 // 510
#define SERVO_CARRY_L_OPEN 295
#define SERVO_CARRY_L_CLOSED 400 // 510
@@
-113,5
+113,6
@@
void cobroller_reverse(uint8_t side)
void actuator_init(void)
{
void actuator_init(void)
{
-
+ servo_door_open();
+ servo_carry_open();
}
}