Sungwoo Kim
/
HydraulicControlBoard_Rainbow_v1_2_copy1
2011
Diff: CAN/function_CAN.cpp
- Revision:
- 17:1865016ca2e7
- Parent:
- 16:903b5a4433b4
- Child:
- 18:b8adf1582ea3
diff -r 903b5a4433b4 -r 1865016ca2e7 CAN/function_CAN.cpp --- a/CAN/function_CAN.cpp Mon Sep 02 13:32:33 2019 +0000 +++ b/CAN/function_CAN.cpp Tue Sep 03 11:59:55 2019 +0000 @@ -651,7 +651,7 @@ if(address==CID_RX_CMD){ unsigned int CMD = msg.data[0]; ReadCMD(CMD); - pc.printf("cmd %d\n ",CMD); + //pc.printf("cmd %d\n ",CMD); } else if(address==CID_RX_REF_POSITION) { int32_t temp_pos = (int32_t) (msg.data[0] | msg.data[1] << 8 | msg.data[2] << 16 | msg.data[3] << 24); int32_t temp_vel = (int32_t) (msg.data[4] | msg.data[5] << 8 | msg.data[6] << 16 | msg.data[7] << 24);