Sungwoo Kim
/
HydraulicControlBoard_Learning
for learning
Diff: CAN/function_CAN.cpp
- Revision:
- 159:9dbc8dce3695
- Parent:
- 158:cb9a6999d5e2
- Child:
- 161:a3b26117104c
diff -r cb9a6999d5e2 -r 9dbc8dce3695 CAN/function_CAN.cpp --- a/CAN/function_CAN.cpp Sun Oct 11 13:20:29 2020 +0000 +++ b/CAN/function_CAN.cpp Mon Oct 12 00:34:29 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; }