1

Dependencies:   mbed-dev-f303 FastPWM3

Revision:
51:b0a3ef66ea3d
Parent:
48:74a40481740c
Child:
56:d34e4540ec12
--- a/structs.h	Thu Apr 04 13:53:58 2019 +0000
+++ b/structs.h	Wed May 08 01:17:38 2019 +0000
@@ -36,6 +36,8 @@
     float p_des, v_des, kp, kd, t_ff;                       // Desired position, velocity, gians, torque
     float v_ref, fw_int;                                     // output voltage magnitude, field-weakening integral
     float cogging[128];
+    float PmagIn, TperiodIn;                                    //====================HJB added for input==========
+    int init_flag;
     } ControllerStruct;
 
 typedef struct{