Show
Ignore:
Timestamp:
09/09/11 12:50:56 (13 years ago)
Author:
smidl
Message:

oprava simulator + log do bic3

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/pmsmDS.h

    r1380 r1387  
    3838    int Dt;     
    3939public: 
    40         double x[8]; 
    41         double KalmanObs[8]; 
     40        double x[9]; 
     41        double KalmanObs[6]; 
    4242    //! Constructor with fixed sampling period 
    4343    pmsmDS () : DS() 
     
    216216                void step() 
    217217                { 
    218                         double t=pmsmsim_get_t(); 
     218                        pmsmsim_fill_xy(x,KalmanObs); 
     219                        double t; 
    219220                         
    220221                        static int ind=0; 
    221222                        static double dW; // increase of W 
    222223                        static double Mz; // W 
    223                         t+=125e-6; 
     224                        t=pmsmsim_get_t(); 
    224225                        if ( t>=dt_prof*ind ) 
    225226                        {