[codex] Add EKF spline tracker#1865
Merged
FlorianPfaff merged 8 commits intomainfrom Apr 25, 2026
Merged
Conversation
Contributor
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
Contributor
Test Results 12 files + 12 12 suites +12 4h 14m 30s ⏱️ + 4h 14m 30s Results for commit ddcdeb6. ± Comparison against base commit d91eaeb. ♻️ This comment has been updated with latest results. |
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.

Summary
Adds an
EKFSplineTracker/EkfSplineTrackerfor 2-D extended-object tracking with a closed quadratic spline extent.The implementation is a PyRecEst-native reimplementation inspired by the Göttingen spline tracker model rather than a code copy. It uses PyRecEst backend operations, a fixed closed control polygon with estimated x/y scale factors, nearest spline-point projection for measurements, finite-difference EKF Jacobians, constant-turn kinematic prediction, contour extraction, and a bounding-box helper.
User impact
Users can instantiate the tracker from
pyrecest.filters, run predict/update cycles for spline-shaped extended targets, and retrieve either the estimated kinematics, scaled control polygon, sampled contour, or bounding box.Tests
Added
tests/filters/test_ekf_spline_tracker.pyfor construction/export, prediction, update behavior, scale-correction disabling, contour/bounding-box output, and multi-measurement layouts.Local tests were not run in this desktop session because Python execution was unavailable in the read-only sandbox; the PR is opened as draft for CI validation.