Skip to content

Conversation

franckgaga
Copy link
Member

@franckgaga franckgaga commented Apr 19, 2025

We can now set the current estimation error covariance with the two setstate! methods:

setstate!(estim::StateEstimator, x̂, P̂=nothing)
setstate!(mpc::PredictiveController, x̂, P̂=nothing)

The matrix can be modified if estim is a:

  • KalmanFilter
  • UnscentedKalmanFilter
  • ExtendedKalmanFilter

The two methods will throw an error if estim does not compute this matrix and P̂ != nothing, that is for:

  • SteadyKalmanFilter
  • Luenberger
  • InternalModel
  • MovingHorizonEstimator (only the estimation covariance at arrival is computed for the MHE, the current covariance is not available)

Also updated codecov github action to v5 in CI.yml

@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.90%. Comparing base (4511057) to head (1367a55).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   98.88%   98.90%   +0.02%     
==========================================
  Files          25       25              
  Lines        4205     4220      +15     
==========================================
+ Hits         4158     4174      +16     
+ Misses         47       46       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@franckgaga franckgaga merged commit 6c5f770 into main Apr 19, 2025
3 of 4 checks passed
@franckgaga franckgaga deleted the setstate_cov branch April 19, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants