added: low-level API correctstate! and predictstate!#403
Conversation
correctstate! and predictstate!
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #403 +/- ##
==========================================
- Coverage 98.71% 98.28% -0.44%
==========================================
Files 27 27
Lines 5703 5710 +7
==========================================
- Hits 5630 5612 -18
- Misses 73 98 +25 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Huumm come to think of it, there is a simpler way of supporting this feature without introducing new public functions. I could just support There is already the |
|
Closing in favor of #404 |
Add the support for a new lower-level API for all the state estimators except
MovingHorizonEstimator, which is the following public methods:correctstate!(estim::StateEstimator, ym, d=[]): perform the correction step of the state estimatorpredictstate!(estim::StateEstimator, u, d=[]): perform the prediction step of the state estimatorContrarily to
preparestate!andupdatestate!, theestim.directandestim.correctedflags are completely ignored incorrectstate!andpredictstate!. It allows skipping the correction step if the measurements are not available.Closes the comment in #89. It took a while. I completely forgot about this. I should have created a separate issue to remind me.