Skip to content

changed: moved lastu0 inside PredictiveController objects #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 24, 2025
Merged

Conversation

franckgaga
Copy link
Member

@franckgaga franckgaga commented May 23, 2025

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
Copy link

codecov-commenter commented May 23, 2025

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