Colour sensors calibrated
Dependencies: mbed-rtos mbed Servo QEI
Fork of ICRSEurobot13 by
Diff: Processes/Kalman/Kalman.h
- Revision:
- 19:4b993a9a156e
- Parent:
- 16:52250d8d8fce
- Child:
- 20:70d651156779
--- a/Processes/Kalman/Kalman.h Sun Apr 07 17:51:59 2013 +0000 +++ b/Processes/Kalman/Kalman.h Sun Apr 07 19:26:07 2013 +0000 @@ -21,13 +21,13 @@ enum measurement_t {SONAR0 = 0, SONAR1, SONAR2, IR0, IR1, IR2}; -const measurement_t maxmeasure = IR3; +const measurement_t maxmeasure = IR2; //Call this to run an update void runupdate(measurement_t type, float value, float variance); extern float RawReadings[maxmeasure+1]; -extern float SensorOffsets[maxmeasure+1]; +extern float IRpahseOffset; extern bool Kalman_init;