Changeset 1291

Show
Ignore:
Timestamp:
03/14/11 09:32:08 (14 years ago)
Author:
smidl
Message:

zmena Zdenek prosinec 2010

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/simulator_zdenek/simulator.cpp

    r1250 r1291  
    487487  double Umk=*u*Uc/Ucn;// !!!! 
    488488   
     489//  KalmanObs[0]=Umk*cos(*(u+1));                  // usx = usa 
     490//  KalmanObs[1]=(KalmanObs[0]+2.*ub)/sqrt(3.);    // usy 
     491 
    489492  KalmanObs[0]=Umk*cos(*(u+1));            // usx = usa 
    490   KalmanObs[1]=(KalmanObs[0]+2.*ub)/sqrt(3.);    // usy 
     493  KalmanObs[1]=(KalmanObs[0]+2.*Umk*cos(*(u+1)-2./3.*M_PI))/sqrt(3.);    // usy 
    491494   
    492495  KalmanObs[2]=x[0];