-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Allow TrackState measurement setting without extra initiali…
…zation (#3907) Previously, `VectorMultiTrajectory` would initialize measurement values and covariances to zero. This has some amount of overhead. With this 1. Calling `allocateCalibrated` on a track state with an existing allocation of different size is now an error 2. An extra overload to `allocateCalibrated` now accepts arguments for the value and covariance that it will initialize the allocation to. 3. The previous signature remains valid, and will initialize the allocation to zero. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new methods for allocating and managing calibrated measurements across various classes. - Added a `size()` method to `VectorTrackContainer` for easy retrieval of track count. - Enhanced `CombinatorialKalmanFilter` with a new `findTracks` method for improved track finding capabilities. - Added a new `MultiTrajectoryAllocateCalibratedInit` test case to validate the allocation of calibrated initial states. - **Bug Fixes** - Improved error handling in the `findTracks` method to log propagation errors. - Updated memory management in `VectorMultiTrajectory` to ensure proper state invalidation. - **Tests** - Added new test cases for validating the allocation and initialization of calibrated states. - Modified existing tests to reflect changes in the handling of calibrated measurements. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
1 parent
622902b
commit 7caafd7
Showing
20 changed files
with
253 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.