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
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