Fixed Sonar

Dependencies:   C12832 Servo mbed-rtos-edited mbed

Fork of NervousPuppy by Sean Doyle

Revision:
6:f854aa2f41e2
Parent:
5:cbb5d7460309
--- a/nervousPuppy.h	Mon Jan 19 13:31:42 2015 +0000
+++ b/nervousPuppy.h	Mon Jan 26 14:50:41 2015 +0000
@@ -30,8 +30,8 @@
         Mutex lockForDistance; //Not sure why needed
         float playerDistance, playerError;
         bool scared, lonely;
-        const float LONELY = 3.0f; //Placeholder number
-        const float SCARED = 20.0f; //Placeholder number
+        const float LONELY = 22.0f; //Placeholder number
+        const float SCARED = 24.0f; //Placeholder number
         const float RADIUS = 1.75f; //Placeholder number
         const float SHUTDOWN = 0.0f; //Placeholder number
         const float PULSE_RATE = 10; //Placeholder number - Pulses per second