Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2_copy
2011
Diff: CAN/function_CAN.cpp
- Revision:
- 120:dcb3ce3056a0
- Parent:
- 119:89396c37b03e
- Child:
- 128:26b416050376
--- a/CAN/function_CAN.cpp Tue Sep 15 00:22:01 2020 +0000 +++ b/CAN/function_CAN.cpp Tue Sep 15 05:29:49 2020 +0000 @@ -752,10 +752,10 @@ } x_past[num_array_x_past-1] = pos.sen / ENC_PULSE_PER_POSITION; //mm - for(int i=0;i<num_array_x_future-1;i++){ - x_future[i] = x_future[i+1]; - } - x_future[num_array_x_future-1] = pos.sen / ENC_PULSE_PER_POSITION; //mm +// for(int i=0;i<num_array_x_future-1;i++){ +// x_future[i] = x_future[i+1]; +// } +// x_future[num_array_x_future-1] = pos.sen / ENC_PULSE_PER_POSITION; //mm for(int i=0; i<num_array_f_past-1;i++){ f_past[i] = f_past[i+1];