This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

proj_lab3a Saving your motor parameters and loading from user.h

我用  proj_lab2b 估算的电机参数 放到 proj_lab3a  user.h

elif (USER_MOTOR == Anaheim_BLY172S)
#define USER_MOTOR_TYPE                 MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS       (4)
#define USER_MOTOR_Rr                   (NULL)
#define USER_MOTOR_Rs                   (0.181274)
#define USER_MOTOR_Ls_d                 (0.1218959)
#define USER_MOTOR_Ls_q                 (0.1218959)
#define USER_MOTOR_RATED_FLUX           (0.0569065)
#define USER_MOTOR_MAGNETIZING_CURRENT  (NULL)
#define USER_MOTOR_RES_EST_CURRENT      (1.0)
#define USER_MOTOR_IND_EST_CURRENT      (-1.0)
#define USER_MOTOR_MAX_CURRENT          (5.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz     (20.0)

把这里 电阻,电感,反电势 参数换了,编译后运行gui 结果出现如下错误

 proj_lab2b 运行正常,我错在哪里?