Skip to content

added: call gc with NaN values at boundaries in MovingHorizonEstimator construction#364

Merged
franckgaga merged 2 commits into
mainfrom
test_gc_nan
Jun 1, 2026
Merged

added: call gc with NaN values at boundaries in MovingHorizonEstimator construction#364
franckgaga merged 2 commits into
mainfrom
test_gc_nan

Conversation

@franckgaga
Copy link
Copy Markdown
Member

@franckgaga franckgaga commented Jun 1, 2026

It should help the user for debugging the implementation of the custom nonlinear inequality constraint function $\mathbf{g_c}$ in the MovingHorizonEstimator.

The function is tested with the growing windows (as it was already the case), and with the "correct" NaN values at the boundaries (the new feature), following the documentation in the extended help. A @warn is printed if there is any non-finite numbers in the LHS vector.

I also verify for any non-finite numbers in the equivalent feature of NonLinMPC.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.56%. Comparing base (571362a) to head (58ddf24).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #364   +/-   ##
=======================================
  Coverage   98.56%   98.56%           
=======================================
  Files          27       27           
  Lines        5418     5431   +13     
=======================================
+ Hits         5340     5353   +13     
  Misses         78       78           

☔ 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 6da3bc5 into main Jun 1, 2026
5 checks passed
@franckgaga franckgaga deleted the test_gc_nan branch June 1, 2026 22:57
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