20210305

Dependencies:   mbed FastPWM

Revision:
187:6504dc812667
Parent:
186:bf562c3c80b4
Child:
188:06adcbb57734
--- a/main.cpp	Wed Dec 16 11:54:44 2020 +0000
+++ b/main.cpp	Wed Dec 16 11:55:25 2020 +0000
@@ -1037,8 +1037,8 @@
             input_NN[ind] = torq.sen / 10000.0f + 0.5f;
             ind = ind + 1;
             for(int i=0; i<numfuture_f; i++) {
-//                input_NN[ind] = (f_future[time_interval*i+time_interval] - torq.sen)/10000.0f+0.5f;
-                input_NN[ind] = (f_future[time_interval*i+time_interval])/10000.0f+0.5f;
+                input_NN[ind] = (f_future[time_interval*i+time_interval] - torq.sen)/10000.0f+0.5f;
+//                input_NN[ind] = (f_future[time_interval*i+time_interval])/10000.0f+0.5f;
                 ind = ind + 1;
             }