rainbow

Dependencies:   mbed FastPWM

Revision:
91:ec77a57f947f
Parent:
87:471334725012
Child:
94:44ae3b5a3bff
diff -r a6cfef34bdce -r ec77a57f947f CAN/function_CAN.cpp
--- a/CAN/function_CAN.cpp	Tue Jul 28 04:36:33 2020 +0000
+++ b/CAN/function_CAN.cpp	Tue Jul 28 13:08:53 2020 +0000
@@ -782,7 +782,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[2*i+2] - f_future[0])/10000.0f+0.5f;
+            //input_NN[ind] = (f_future[2*i+2] - f_future[0])/10000.0f+0.5f;
+            input_NN[ind] = (f_future[2*i+2])/10000.0f+0.5f;
             ind = ind + 1;
         }