After some playing around with the Odrive I found a problem for what I want the Odrive to work with.
I am using it to steer a big robot with an AMT102 encoder with Z Index. The problem is that when there is an index search the motor moves a bit, but after the index is found it resets the steps it has taken.
This is unwanted since the callibration that the external MCU saved is not accurate anymore and the wheels then drift.
Is there a possibility to get the steps taken in the ENCODER_INDEX_SEARCH or to just stop the Odrive from resetting the position?