Skip to content

changed: moved lastu0 inside PredictiveController objects#208

Merged
franckgaga merged 10 commits into
mainfrom
lastu_mpc
May 24, 2025
Merged

changed: moved lastu0 inside PredictiveController objects#208
franckgaga merged 10 commits into
mainfrom
lastu_mpc

Conversation

@franckgaga

@franckgaga franckgaga commented May 23, 2025

Copy link
Copy Markdown
Member

The field, corresponding to $\mathbf{u_0}(k-1) = \mathbf{u}(k-1) - \mathbf{u_{op}}$, is only used in the controller to convert input increments $\mathbf{\Delta U}$ to inputs $\mathbf{U}$. It is never used in the state estimators so it don't really belong there (except in the MHE, in which I left it there). It's cleaner like this and it slightly simplifies the API for the upcoming ManualEstimator.

@codecov-commenter

codecov-commenter commented May 23, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 97.61905% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.80%. Comparing base (79b35cb) to head (ed42ebe).
Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
src/estimator/manual.jl 93.75% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #208      +/-   ##
==========================================
- Coverage   98.81%   98.80%   -0.02%     
==========================================
  Files          25       26       +1     
  Lines        4234     4254      +20     
==========================================
+ Hits         4184     4203      +19     
- Misses         50       51       +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 414c283 into main May 24, 2025
4 checks passed
@franckgaga franckgaga deleted the lastu_mpc branch May 24, 2025 20:24
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