![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: main.cpp
- Revision:
- 226:133f5e9bf4ce
- Parent:
- 225:278b48b86f27
- Child:
- 227:3bc296775732
diff -r 278b48b86f27 -r 133f5e9bf4ce main.cpp --- a/main.cpp Wed Dec 30 01:52:49 2020 +0000 +++ b/main.cpp Wed Dec 30 02:14:01 2020 +0000 @@ -1039,7 +1039,7 @@ // input_NN[ind] = torq.sen / 10000.0f * 8.0f + 0.5f; input_NN[ind] = torq.sen / 10000.0f + 0.5f; ind = ind + 1; - for(int i=0; i<numfuture_f-1; i++) { + for(int i=0; i<numfuture_f; i++) { // input_NN[ind] = (f_future[time_interval*i+time_interval] - torq.sen)/10000.0f * 8.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*8.0f+0.5f;