summaryrefslogtreecommitdiff
path: root/digital/beacon/src/calibration.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-16 17:28:12 +0200
committerFlorent Duchon2012-05-16 17:43:11 +0200
commita64fb816764b34b7bee2dc886c7efaa2c8bf0539 (patch)
treec6e011df7eebb7859d261c29e2c64e1d2bb906cf /digital/beacon/src/calibration.h
parent36d1bbfc275e6ecb2ff267e224bac7a11f8b245e (diff)
digital/beacon: Improve calibration state machine
Diffstat (limited to 'digital/beacon/src/calibration.h')
-rw-r--r--digital/beacon/src/calibration.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/digital/beacon/src/calibration.h b/digital/beacon/src/calibration.h
index 3512eedf..cb6ef303 100644
--- a/digital/beacon/src/calibration.h
+++ b/digital/beacon/src/calibration.h
@@ -28,16 +28,17 @@
#include "servo.h"
-#define CALIBRATION_FAST_TASK_PERIOD 11L
-#define CALIBRATION_SLOW_TASK_PERIOD 110L
+#define CALIBRATION_FAST_TASK_PERIOD 22L
+#define CALIBRATION_SLOW_TASK_PERIOD 22L
-#define FAST_SCANNING_OFFSET 10
+#define FAST_SCANNING_OFFSET 20
#define SCANNING_STEP 1
typedef enum
{
- CLEAR,
- SET
+ SET_SERVO_1,
+ SET_SERVO_2,
+ CLEAR
} TLaser_flag_type;
typedef enum