Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- 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;
}