Changeset 1192 for applications/pmsm

Show
Ignore:
Timestamp:
09/17/10 14:35:13 (14 years ago)
Author:
smidl
Message:

fixes ob ProdBM

Location:
applications/pmsm
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/pmsm.h

    r1184 r1192  
    114114                set_parameters ( params["Rs"], params["Ls"], 125e-6, params["Fmag"], \ 
    115115                         params["kp"], params["p"], params["J"], 0.0); 
    116                 int comp; 
     116                int comp=0; 
    117117                if (UI::get(comp,root,"compensate",UI::optional)){compensate=(comp==1);} 
    118                 int cuto; 
     118                int cuto=0; 
    119119                if (UI::get(cuto,root,"cutoff",UI::optional)){cutoff=(cuto==1);} 
    120120        }; 
  • applications/pmsm/pmsm_estim.cpp

    r1184 r1192  
    99#include "base/loggers.h" 
    1010#include "estim/kalman.h" 
     11#include "estim/mixtures.h" 
    1112#include "pmsmDS.h" 
    1213#include "filters.h"