Reset Ibus in reset_current_control

This commit is contained in:
Unknown
2020-09-10 19:31:29 -04:00
parent f691536b3c
commit 4c5761c120
+1
View File
@@ -51,6 +51,7 @@ void Motor::reset_current_control() {
current_control_.v_current_control_integral_d = 0.0f;
current_control_.v_current_control_integral_q = 0.0f;
current_control_.acim_rotor_flux = 0.0f;
current_control_.Ibus = 0.0f;
}
// @brief Tune the current controller based on phase resistance and inductance