Changeset 679 for library/tests/tutorial/kalman_simple.cpp
- Timestamp:
- 10/23/09 00:05:25 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/tutorial/kalman_simple.cpp
r477 r679 20 20 KF.set_parameters ( A, B, C, D,/*covariances*/ Q, R ); 21 21 KF.set_statistics ( mu0, P0 ); 22 KF.validate(); 22 23 // Estimation loop 23 24 for ( int i = 0; i < 100; i++ ) { 24 KF.bayes ( randn ( d x +du ) );25 KF.bayes ( randn ( dy), randn( du ) ); 25 26 } 26 27 //print results