Motor error = 0x0080

#1

hello!Friend!I have some problems with odrivetool.I am usingT motor and AMS encoder 5147 followed the instructions in the getting started guide to connect everything.Does odrivetool support such motors and encoders?
When I execute the statement ‘odrv0.axis1.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE’, odrv0.axis1.motor error = 0x0080 (int).how can I solve this problem?Could you tell me how to correctly configure the parameters of the motor and encoder?

0 Likes

Stanford Doggo Project: an ODrive-powered quadruped robot
#2

Hi Lao, the Troubleshooting page of the getting started guide has some notes on what the different error codes mean: https://docs.odriverobotics.com/troubleshooting. The ODrive should support the 5147, at least in incremental mode (ie connecting A,B,I,5v,GND).

0 Likes

#3

The troubleshooting page of the getting started guide has some comments about the meaning of different error codes, but there seems to be no corresponding solution.Can you tell me what the 0x0080 error of the motor is? After connecting the ABI line, the board cannot properly recognize the index signal.
Could you help me ? I have some problem with configuring the parameters. This is the parameters which I configure.

configuring%20the%20parameters
configuring the parameters.png562×703 13.5 KB

Then I look at the parameters of the motor and the encoder. This is the result of them.

Encoder%20parameters
Encoder parameters.png479×513 12.2 KB

[


The motor parameters.png644×938 23.3 KB

](https://discourse.odriverobotics.com/uploads/default/original/2X/f/fc490eb4ed61a92612908c37a8e85c13549f9c73.png)

0 Likes

#4

If I’m not mistaken your error 0x0080 (int) corresponds to ERROR_BRAKE_CURRENT_OUT_OF_RANGE (0x0040) and ERROR_CONTROL_DEADLINE_MISSED (0x0010). Unfortunately I don’t know what the brake current out of range error means, or how to fix it, but someone on the forum might know. My only suggestions would be to test without the index signal, and to make sure you are in fact using a gimbal motor.

0 Likes

#5

Thanks! How can I confirm whether the motor has these two errors?ERROR_BRAKE_CURRENT_OUT_OF_RANGE and ERROR_CONTROL_DEADLINE_MISSED

0 Likes

Stanford Doggo Project: an ODrive-powered quadruped robot
#7

The top of the Troubleshooting page has a small paragraph on decoding these messages. Essentially you’ll want to convert the code to hex, then look at the motor.hpp file (linked in the Troubleshooting page), and finally figure out the two error codes that sum to what your error code is in hex.

0 Likes

#8

It is actually ERROR_MODULATION_MAGNITUDE. Have a look at the Troubleshooting page.

0 Likes