Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Revision:
8:ffc7d8af2d5a
Parent:
4:7b7334441da9
--- a/Kalman/Sonar/RFSRF05.cpp	Fri Apr 27 16:37:26 2012 +0000
+++ b/Kalman/Sonar/RFSRF05.cpp	Fri Apr 27 18:36:54 2012 +0000
@@ -141,7 +141,8 @@
         ValidPulse = false;
 
         //Calucate distance
-        _dist[_beacon_counter] =  _timer.read_us()/2.9 + 300;
+        //true offset is about 330, we put 400 so circles overlap
+        _dist[_beacon_counter] =  _timer.read_us()/2.9 + 400;
 
         if (callbackfunc)
             (*callbackfunc)(_beacon_counter, _dist[_beacon_counter]);