Buggy bois / Mbed 2 deprecated UDITTEST

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mazdo25
Date:
Sun Apr 28 20:50:35 2019 +0000
Parent:
9:cefa177c1353
Commit message:
TRY 1: Udit

Changed in this revision

Robot.h Show annotated file Show diff for this revision Revisions of this file
--- a/Robot.h	Fri Apr 05 16:11:28 2019 +0000
+++ b/Robot.h	Sun Apr 28 20:50:35 2019 +0000
@@ -174,7 +174,7 @@
             sensorNumber = 0;
             if (endOfLineDetection < 8)
             {
-                AF = scaler(-180.0f,180.0f, 0.2f, 1.0f, lineVoltages[lvIndex%numberOfSamples]);
+                AF = 0.6f;
                 adjustRbtAngularVelocity(lineVoltages[lvIndex%numberOfSamples]);
                 lvIndex++;
             }