Im using the Aerodrive Turnigy SK3 - 4250-350kv Motor with the AMT102-V Encoder.
I’ve managed to calibrate the motor a few days ago (not the encoder, Imstruggling with that one on a whole different level)- but now it stopped working consistently, if at all.
During the odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL calibration I now get the beep an most of the time a rotation in one direction, sometimes not even that. No other commands seem to work after calibration, it wont move to a set point.
I cant figure out where I’m calibrationg it wrong… these are my values:
Okay so I’ve learned a lot and figured a lot of my previous issues out!
Encoder seems to work fine now, as well as the calibration.
It doesnt show me any errors after a full calibration.
However, as soon as I go into AXIS_STATE_CLOSED_LOOP_CONTROL and touch the motor ever so slightly it will freak out and shut off and gives me these errors:
Your gains are probably all set to high. To make the ODrive work correctly in your setup you have to configure the positioning algorithm so it knows how to move the motors in your system. The relevant information is here under the heading “Tuning Parameters”. Sounds like you should start by reducing all of your gain levels by around half until the motor is stable and then configuring them according to the instructions.