![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: CAN/function_CAN.cpp
- Revision:
- 94:44ae3b5a3bff
- Parent:
- 91:ec77a57f947f
- Child:
- 99:7bbcb3c0fb06
--- a/CAN/function_CAN.cpp Thu Aug 06 00:45:47 2020 +0000 +++ b/CAN/function_CAN.cpp Thu Aug 06 09:33:32 2020 +0000 @@ -782,8 +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])/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; }