![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
distribution-201229
Diff: CAN/function_CAN.cpp
- Revision:
- 161:a3b26117104c
- Parent:
- 159:9dbc8dce3695
- Child:
- 162:9dd4f35e9de8
--- a/CAN/function_CAN.cpp Mon Oct 12 05:36:48 2020 +0000 +++ b/CAN/function_CAN.cpp Mon Oct 12 10:28:55 2020 +0000 @@ -794,8 +794,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[1*i+1] - f_future[0])/10000.0f+0.5f; - input_NN[ind] = (f_future[2*i+2])/10000.0f+0.5f; + input_NN[ind] = (f_future[1*i+1] - f_future[0])/10000.0f+0.5f; +// input_NN[ind] = (f_future[2*i+2])/10000.0f+0.5f; ind = ind + 1; }