Closed kubark42 closed 2 years ago
For consistency, should m_iq_set and m_id_set be swapped when locking the rotor in mcpwm_foc_measure_resistance?
For consistency, should m_iq_set and m_id_set be swapped when locking the rotor in mcpwm_foc_measure_resistance?
Good catch. @ElwinBoots, what's your take on that? It certainly makes sense to me, and from a user perspective it shouldn't make any tangible difference.
Yes that would make sense.
Changes rotor lock feature from Q axis to D axis. This has two advantages:
HT to @ElwinBoots
Tested extensively by @mxlemming and @ElwinBoots.