Changeset 1173
- Timestamp:
- 09/01/10 10:12:12 (14 years ago)
- Location:
- library/bdm/estim
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/kalman.cpp
r1168 r1173 534 534 vec tmp=vec(Pld._L()._data(),dimension()*dimension()); 535 535 log_level.store(logU,round(((int)1<<14)*tmp)); 536 log_level.store(logD,Pld._D()); 536 537 } 537 538 if ( log_level[logG] ){ 538 539 vec tmp=vec(G._data(),dimension()*dimension()); 539 540 log_level.store(logG,tmp); 540 }541 {542 541 } 543 542 //cout << "Ut: " << U << endl; -
library/bdm/estim/kalman.h
r1168 r1173 430 430 protected: 431 431 //! logger 432 LOG_LEVEL(EKF_UD,logU, logG );432 LOG_LEVEL(EKF_UD,logU, logG, logD); 433 433 //! Internal Model f(x,u) 434 434 shared_ptr<diffbifn> pfxu; … … 479 479 if ( log_level[logG] ) 480 480 L.add_vector ( log_level, logG, RV ( dimension()*dimension() ), prefix ); 481 if ( log_level[logD] ) 482 L.add_vector ( log_level, logD, RV ( dimension()), prefix ); 481 483 482 484 }