Changeset 1437 for applications/pmsm/simulator_zdenek
- Timestamp:
- 03/14/12 23:39:16 (13 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/ekf_example/simulmpf.cpp
r1381 r1437 227 227 mpf_bayes(Isx,Isy,Usx,Usy); 228 228 mpf_mean(&Esinth,&Ecosth,&mpf_estim[0]); 229 mpf_estim[1]=atan (Esinth/Ecosth);229 mpf_estim[1]=atan2(Esinth,Ecosth); 230 230 231 231 // vystup z EKF zaveden do regulatoru