-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1769 from JuliaRobotics/23Q3/fix/derel
wip fixing DERelative
- Loading branch information
Showing
9 changed files
with
194 additions
and
148 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
|
||
""" | ||
$TYPEDEF | ||
Build a full ODE solution into a relative factor to condense possible sensor data into a relative transformation, | ||
but keeping the parameter estimation process fluid. Assumes first and second variable in order | ||
are of same dimension and compatible manifolds, such that ODE runs from Xi to Xi+1 on all | ||
dimensions. Internal state vector can be decoupled onto different domain as needed. | ||
Notes | ||
- Based on DifferentialEquations.jl | ||
- `getSample` step does the `solve(ODEProblem)` step. | ||
- `tspan` is taken from variables only once at object construction -- i.e. won't detect changed timestamps. | ||
- Regular factor evaluation is done as full dimension `AbstractRelativeRoots`, and is basic linear difference. | ||
DevNotes | ||
- FIXME see 1025, `multihypo=` will not yet work. | ||
- FIXME Lots of consolidation and standardization to do, see RoME.jl #244 regarding Manifolds.jl. | ||
- TODO does not yet handle case where a factor spans across two timezones. | ||
""" | ||
struct DERelative{T <: InferenceVariable, P, D} <: AbstractRelativeMinimize | ||
domain::Type{T} | ||
forwardProblem::P | ||
backwardProblem::P | ||
""" second element of this data tuple is additional variables that will be passed down as a parameter """ | ||
data::D | ||
specialSampler::Function | ||
end |
This file was deleted.
Oops, something went wrong.
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.