code for the speed robot

Dependencies:   MPU6050-DMP mbed PololuQTRSensors vl53l0x

Revision:
3:9b2f15b0d47b
Parent:
1:b188e27eb7da
Child:
6:a635edf31d8b
--- a/_def.h	Mon Sep 30 08:51:52 2019 +0000
+++ b/_def.h	Mon Sep 30 10:19:31 2019 +0000
@@ -6,6 +6,15 @@
 #define M_PI 3.1415
 #endif
 
+#define Sensor1_newAddress 42
+#define Sensor2_newAddress 43
+#define Sensor3_newAddress 44
+
+#define SignalRateLimit 0.9     //Higher the limit , higher the accuracy //0.8
+#define MeasurementBudget 40000 //Higher the time , higher the accuracy //20000
+#define Timeout 500 //200
+#define ContInterval 40 //inter-measurement period in milliseconds determining how often the sensor takes a measurement.
+
 void PrintSerial(string message){
     printf("%s\n",message);
 }