Skip to content

Commit b53dbce

Browse files
authored
Merge pull request #1752 from JuliaRobotics/23Q3/enh/saveSolverParams
Support SolverParams in fileDFG and rm loadDFG
2 parents 4473045 + 238605d commit b53dbce

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/entities/SolverParams.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,6 @@ Base.@kwdef mutable struct SolverParams <: DFG.AbstractParams
4646
#
4747
end
4848

49+
StructTypes.omitempties(::Type{SolverParams}) = (:reference,)
50+
4951
#

src/services/FGOSUtils.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,6 @@ function findVariablesNear(
447447
return (xy[1][prm], sqrt.(dist[prm]))
448448
end
449449

450-
"""
451-
$SIGNATURES
452-
453-
Convenience wrapper to `DFG.loadDFG!` taking only one argument, the file name, to load a DFG object in standard format.
454-
"""
455-
loadDFG(filename::AbstractString) = loadDFG!(initfg(), filename)
456-
457450
"""
458451
$SIGNATURES
459452

0 commit comments

Comments
 (0)