- Timestamp:
- 09/02/10 23:21:51 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/ekf_example/ekf_obj.cpp
r1179 r1180 495 495 //bierman(int *difz, int *xp, int *U, int *D, int *R, unsigned int dimy, unsigned int dimx ); 496 496 int dR[2];dR[0]=R[0];dR[1]=R[3]; 497 bierman _fast(difz,x_est,Uf,Df,dR,2,4);497 bierman(difz,x_est,Uf,Df,dR,2,4); 498 498 499 499 // navrat estimovanych hodnot regulatoru … … 550 550 ///// TEST thorton vs. thorton_fast 551 551 552 int Ut[16]={0x7FFF, 100, 200, 300, 0, 0x7FFF, 500, 600, 0,0,0x7FFF, 800, 0,0,0, 0x7FFF};552 /* int Ut[16]={0x7FFF, 100, 200, 300, 0, 0x7FFF, 500, 600, 0,0,0x7FFF, 800, 0,0,0, 0x7FFF}; 553 553 int Dt[4]={100,200,300,400}; 554 554 int PSIu[16] = {100, 200,300, 400 , 500, 600,700,800, 900,1000,1100,1200, 1300,1400,1500,1600}; … … 560 560 int PSIu2[16] = {100, 200,300, 400 , 500, 600,700,800, 900,1000,1100,1200, 1300,1400,1500,1600}; 561 561 thorton_fast(Ut2,Dt2,PSIu2,Q,G,Dold,4); 562 cout<< Q<<endl; 563 } 564 562 cout<< Q<<endl;*/ 563 } 564