diff --git a/Code/Control/Laptop_Code/Sunday1031_Two_Lidar_Test/Sunday1031_Two_Lidar_Test.ino b/Code/Control/Laptop_Code/Two_Lidars_comm_test/Sunday1031_Two_Lidar_Test/Sunday1031_Two_Lidar_Test.ino similarity index 84% rename from Code/Control/Laptop_Code/Sunday1031_Two_Lidar_Test/Sunday1031_Two_Lidar_Test.ino rename to Code/Control/Laptop_Code/Two_Lidars_comm_test/Sunday1031_Two_Lidar_Test/Sunday1031_Two_Lidar_Test.ino index 46393d57863098bd0d8365f3bac46c49f6d69553..df1b619b7f60f138deec376656d721abbc54c07a 100644 --- a/Code/Control/Laptop_Code/Sunday1031_Two_Lidar_Test/Sunday1031_Two_Lidar_Test.ino +++ b/Code/Control/Laptop_Code/Two_Lidars_comm_test/Sunday1031_Two_Lidar_Test/Sunday1031_Two_Lidar_Test.ino @@ -21,7 +21,7 @@ void setup() pinMode(XSHUT_pin2, OUTPUT); - Serial.begin(9600); + Serial.begin(115200); Wire.begin(); Wire.setClock(100000); @@ -63,26 +63,25 @@ void setup() void loop() { - Sensor1.startContinuous(200); + Sensor1.startContinuous(50); Sensor1.read(); Sensor1.stopContinuous(); long time1 = millis(); - Sensor2.startContinuous(200); + Sensor2.startContinuous(50); Sensor2.read(); Sensor2.stopContinuous(); long time2 = millis(); - Serial.print("Sensor 1 Range: "); + Serial.print("Sensor 1: "); Serial.print(Sensor1.ranging_data.range_mm); Serial.print(" "); - Serial.print("Sensor 2 Range: "); + Serial.print("mm \t Sensor 2: "); Serial.print(Sensor2.ranging_data.range_mm); Serial.print(" "); - Serial.print(" Time between end of 1st and end of 6th messurement: "); + Serial.print("mm \t Time: "); Serial.print(time2-time1); Serial.println(); - delay(1000); }