I have two motors with AS5047D encoders but I dont want to burn and verify the encoders’ OTP memory for obtaining the absolute zero angle.As a result,I must pose them into the position I wanted before odrive initialization.Everything seems nothing warning until the state control sent ,which is purposed to keep the motor in an angle with perfectly PID parameter. One motor did the clockwise angle while the other did the anti-clockwise.Of course this entire process happens in a split second cause the state control command was sent instantly in loop as soon as the power is on.
At first I think maybe one encoder was on backward so I monitor the counter of the encoder while push the motor on the same direction.The value of the counter was incremented as I push it on the directong of anti-clockwise ,same situation on the other.In a word, the two encoders perfectly installed.
Then I sent a same control command to two odrives and they rotate the same corresponding angle on the basis of the wrong original angle.
I have no idea for how the odrive initializas and processes the first state control command , and how it set up its absoluly coordinate system.
Thanks for your answer