Newbie Project: Figuring out motor


I am currently figuring out the different parameters and commands to be used for the odrive motor. I wanted to calculate the torque estimation, by knowing the motor current. I used the following command to measure the motor current:

However, it won’t measure anything. I am having:
axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
.axis0.controller.config.control_mode = 1 (which is in current control mode)
.axis0.controller.current_setpoint = 5

I assume that the measured motor current should be measured as 5, but it always measure 0.0A.

Thank you.


Check the error codes:

I have the same problem.
There is no error.
How did you solve it?