-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable OptimizationProblem to generate multiple factors
Currently the `OptimizationProblem` class can only generate one big factor to compute a joint residual/jacobian; it does not allow for certain objectives to be added/removed from the overall linearization function dynamically. This PR makes it so that multiple factors can be generated by on `OptimizationProblem`. This is accomplished by setting the "factor" metadata field of the residual blocks. Residual blocks with the same value for the "factor" metadata field will be grouped into a single factor separate from the "main" optimization problem factor (which will contain everything else). Topic: optimization_problem_split_factor Relative: fixed_size_optimizer GitOrigin-RevId: 3c7bb8fed45f4a896b990de88078ede573afe46b
- Loading branch information
1 parent
2e27601
commit 007b0b9
Showing
2 changed files
with
56 additions
and
19 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