added: 📐 OrthogonalCollocation 📐 for MovingHorizonEstimator - #427
Merged
Conversation
Finite elements would be additional subdivisions, AFAIK.
Both are kinda valid, but I think I prefer with a hat, to convey that it all comes from a state estimator at the fundamental level, and also that they are predictions in the future for the MPC.
IT'S ALIVE 🍾🥳🍾🥳
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #427 +/- ##
==========================================
+ Coverage 98.36% 98.37% +0.01%
==========================================
Files 29 29
Lines 6229 6353 +124
==========================================
+ Hits 6127 6250 +123
- Misses 102 103 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Benchmark Results (Julia v1)Time benchmarks
Memory benchmarks
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR add the support for
OrthogonalCollocationtranscriptions in theMovingHorizonEstimator. The number of collocation pointsnois also now pretty-printed, to elaborate a little bit on the number of nonlinear equality constraintsgeq(equal toHe*no*nx, that is, excluding the integrating states):There is a new "Internal -> Miscellaneous" section in the documentation. The internal details about the orthogonal collocation is now centralized there (it is now both relevant the the state estimators and the predictive controllers). The estimated process noise$\mathbf{\hat{w}}$ of the MHE is incorporated in the linear continuity constraint, effectively treating it as a discrete stochastic process (like all the other Kalman filters in the package). Here's a preview of the new section: