Repository navigation
fix(ekf): plot_error in SLAM, against time, honouring bgcolor, with correct bounds - #749
Merged
Merged
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 17 |
| Duplication | 1 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…orrect bounds - the error subtracted the whole state vector from the 3-element true pose, which raised for SLAM where the state also holds the landmarks - the error was plotted against sample index on axes limited to time, so only the first part of the run was visible - bgcolor was documented but ignored (the polygon was always red) - the bounds used chi-squared with 2 degrees of freedom for a scalar error, so the shaded region was 2.45 sigma rather than the 1.96 sigma of a 95% interval - confidence=None computed chi2.ppf(None) and failed - raise a clear ValueError for a map-only filter, which has no pose estimate - document the ax parameter, fix a stray backtick Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…d changelog The bounds were drawn at the radius of a two-dimensional confidence region, which is too wide for a scalar error; the figure in RVC3 (Fig 6.10) was made that way. Record the change, and that earlier plots differ, in a versionchanged note and in the changelog highlights. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
petercorke
force-pushed
the
bug/ekf-plot-error
branch
from
October 13, 2026 23:44
d7159be to
641a83f
Compare
petercorke
changed the base branch from
test/mobile-estimator-regressions
to
main
October 13, 2026 23:44
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #749 +/- ##
=====================================
Coverage 0.00% 0.00%
=====================================
Files 143 143
Lines 14271 14274 +3
=====================================
- Misses 14271 14274 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
EKF.plot_error()had several defects:set_xlim(0, t[-1])), so only the first part of a run was visiblebgcolorwas documented but ignored; the polygon was always redversionchanged:: 1.4.5note in the docstring and in the changelog highlights, and the RVC3 errata will note itconfidence=Nonecomputedchi2.ppf(None)and failedValueErroraxparameter is now documented and a stray backtick is fixedSix tests are added (five fail without the fix) and the
expectedFailureon #747 is removed.Stacked on #747. Base this PR on
mainonce #747 has merged.🤖 Generated with Claude Code