Dear sir/madam,
I need read the motor speed even when motor isn't powered. I commented "gMotorVars.Flag_Run_Identify = false;" in proj_lab20.c. When I enable gMotorVars.Flag_enableSys and gMotorVars.Flag_Run_Identify, the motor will run rightly and I can read the motor speed. And then, I disable gMotorVars.Flag_enableSys, the ctrlState will hold on CTRL_State_OnLine. But I failed to read motor speed by invoking EST_getSpeed_krpm(ctrlHandle->estHandle).
I tested the proj_lab4. When I set the torque is zero, the FAST will feedback motor speed correctly. Therefore I think I can read the motor speed when PWM is turned off.
The modified proj_lab20.c is enclosed, and can you tell me how modify the file to read motor speed when it isn't power?
Best regards,
Qian.Miao