summaryrefslogtreecommitdiff
path: root/n/es-2007/src/servo_motor.h
diff options
context:
space:
mode:
Diffstat (limited to 'n/es-2007/src/servo_motor.h')
-rw-r--r--n/es-2007/src/servo_motor.h26
1 files changed, 20 insertions, 6 deletions
diff --git a/n/es-2007/src/servo_motor.h b/n/es-2007/src/servo_motor.h
index 455ce4d..7b79c3e 100644
--- a/n/es-2007/src/servo_motor.h
+++ b/n/es-2007/src/servo_motor.h
@@ -30,12 +30,26 @@
#include "common.h"
/** All the states used to comunicate with this module. */
-#define SRVM_LEFT_POS_IN 95
-#define SRVM_LEFT_POS_OUT 130
-#define SRVM_RIGHT_POS_IN 78
-#define SRVM_RIGHT_POS_OUT 45
-#define SRVM_TRASH_POS_OPEN 68 /* 44 */
-#define SRVM_TRASH_POS_CLOSE 100 /* 64 */
+#define SRVM_LEFT_POS_IN 32
+#define SRVM_LEFT_POS_OUT 140
+#define SRVM_RIGHT_POS_IN 32
+#define SRVM_RIGHT_POS_OUT 140
+#define SRVM_TRASH_POS_OPEN 32
+#define SRVM_TRASH_POS_CLOSE 140
+
+#define SRVM_TRASH_POS_MIN 32
+#define SRVM_TRASH_POS_MAX 140
+#define SRVM_TRASH_POS_START 80
+
+#define SRVM_RIGHT_POS_MIN 32
+#define SRVM_RIGHT_POS_MAX 140
+#define SRVM_RIGHT_POS_START 80
+
+#define SRVM_LEFT_POS_MIN 32
+#define SRVM_LEFT_POS_MAX 140
+#define SRVM_LEFT_POS_START 80
+
+
/** Init the servo motor system. */
void servo_motor_init (void);