![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ICRS Eurobot 2013
Dependencies: mbed mbed-rtos Servo QEI
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;