ThuanLeUte / RMD_X8_PRO_CAN_BUS_CONTROLER

Control RMD X8 PRO motor by CAN
9 stars 7 forks source link

struggling with RMD X control #1

Open TBMDanielHunter opened 3 years ago

TBMDanielHunter commented 3 years ago

I tried to use your code as a starting point. Currently i got the following feedback:

My set up: Adruiono UNO, Sparkfun CAN-BUS Shield , Can wires with 120 Ohm resistor, RMD X 8.
I can't control the motor with the joystick, even the feedback is not like expected:

16:29:16.767 -> Enter setting mode success 16:29:16.767 -> set rate success!! 16:29:16.767 -> Enter Normal Mode Success!! 16:29:16.767 -> Init CAN BUS successfull 16:32:18.206 -> Can msg receive 16:32:18.206 -> Angle kp :0 16:32:18.206 -> Angle ki :6 16:32:18.206 -> Speed kp :247 16:32:18.206 -> Speed ki :0 16:32:18.206 -> Torque kp :127 16:32:18.206 -> Torque ki :0

I would like to ask you for support, have you any idea whats wrong? I´m not sure if the RMD x8 works well because of i got it from a friend and he has tried some tests... Thanks! best regards daniel

ThuanLeUte commented 3 years ago

I see that you can communicate with the hardware success You can contact me at : Gmail: thuanle.ute@gmail.com Skype: live:ad887bdfab40cca3