Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
Diff: structs.h
- Revision:
- 59:568e7be5232f
- Parent:
- 48:74a40481740c
diff -r fb799e99a5f7 -r 568e7be5232f structs.h --- a/structs.h Mon Jun 29 03:34:16 2020 +0000 +++ b/structs.h Mon Jun 29 09:36:26 2020 +0000 @@ -21,7 +21,7 @@ float v_bus; // DC link voltage float theta_mech, theta_elec; // Rotor mechanical and electrical angle float dtheta_mech, dtheta_elec, dtheta_elec_filt; // Rotor mechanical and electrical angular velocit - float i_d, i_q, i_q_filt, i_d_filt; // D/Q currents + float i_d, i_q, i_q_filt, i_d_filt; // D/Q currents float v_d, v_q; // D/Q voltages float dtc_u, dtc_v, dtc_w; // Terminal duty cycles float v_u, v_v, v_w; // Terminal voltages