- Timestamp:
- 09/24/08 13:07:50 (16 years ago)
- Location:
- pmsm
- Files:
-
- 7 modified
Legend:
- Unmodified
- Added
- Removed
-
pmsm/pmsm_mix.cpp
r162 r170 83 83 M.set_est ( evolQR._epdf() ); 84 84 85 epdf& Efix_ep = Efix._epdf();86 epdf& M_ep = M._epdf();85 const epdf& Efix_ep = Efix._epdf(); 86 const epdf& M_ep = M._epdf(); 87 87 88 88 //LOG -
pmsm/pmsm_sim.cpp
r162 r170 72 72 // 73 73 74 epdf& KFEep = KFE._epdf();75 epdf& Mep = M._epdf();74 const epdf& KFEep = KFE._epdf(); 75 const epdf& Mep = M._epdf(); 76 76 77 77 mat Xt=zeros ( Ndat ,9 ); //true state from simulator -
pmsm/pmsm_sim2.cpp
r162 r170 107 107 evolQ.set_parameters ( 100000.0, Qdiag, 0.9999 ); 108 108 // 109 epdf& KFEep = KFE._epdf();110 epdf& Mep = M._epdf();109 const epdf& KFEep = KFE._epdf(); 110 const epdf& Mep = M._epdf(); 111 111 112 112 int X_log = L.add(rx,"X"); -
pmsm/pmsm_unkQ.cpp
r72 r170 62 62 } 63 63 64 epdf& KFEep = KFE._epdf();64 const epdf& KFEep = KFE._epdf(); 65 65 66 66 //simulator values -
pmsm/pmsm_unkQpf.cpp
r162 r170 62 62 MPF<EKF_unQ> M ( rx,rQ,evolQ,evolQ,100,KFE ); 63 63 64 epdf& KFEep = KFE._epdf();65 epdf& Mep = M._epdf();64 const epdf& KFEep = KFE._epdf(); 65 const epdf& Mep = M._epdf(); 66 66 // initialize 67 67 evolQ.set_parameters ( 1.0 ); //sigma = 1/10 mu 68 68 evolQ.condition ( "0.5 0.5" ); 69 epdf& pfinit=evolQ._epdf();69 const epdf& pfinit=evolQ._epdf(); 70 70 M.set_est ( pfinit ); 71 71 evolQ.set_parameters ( 1000.0 ); //sigma = 1/10 mu -
pmsm/sim_var.cpp
r162 r170 72 72 Edi.set_parameters ( &fxu,&hxu,Q,R); 73 73 74 epdf& Efix_ep = Efix._epdf();75 epdf& Eop_ep = Eop._epdf();76 epdf& Edi_ep = Edi._epdf();74 const epdf& Efix_ep = Efix._epdf(); 75 const epdf& Eop_ep = Eop._epdf(); 76 const epdf& Edi_ep = Edi._epdf(); 77 77 78 78 //LOG -
pmsm/sim_var_arx.cpp
r162 r170 45 45 ARX Ar_a ( rgr,V0,nu0 ,0.95 ); 46 46 ARX Ar_b ( rgr,V0,nu0 ,0.95 ); 47 epdf& pA= Ar_a._epdf();48 epdf& pB= Ar_b._epdf();47 const epdf& pA= Ar_a._epdf(); 48 const epdf& pB= Ar_b._epdf(); 49 49 50 50 RV rta ( "{th_a }",vec_1 ( rglen ) );