Skip to content

Commit

Permalink
Merge pull request #402 from JuliaRobotics/21Q1/feat/396
Browse files Browse the repository at this point in the history
api for accumulateDiscreteLocalFrame!, #396
  • Loading branch information
dehann authored Feb 9, 2021
2 parents f7aa3cd + aa008f2 commit 65e78a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/OdometryUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ function accumulateDiscreteLocalFrame!( mpp::MutablePose2Pose2Gaussian,
nothing
end

accumulateDiscreteLocalFrame!(dfg::AbstractDFG,
fctlbl::Symbol,
DX::Vector{Float64},
Qc::Matrix{Float64},
dt::Float64=1.0;
Fk = SE2([0;0;-DX[3]]),
Gk = Matrix{Float64}(LinearAlgebra.I, 3,3),
Phik = SE2(DX) ) = accumulateDiscreteLocalFrame!(getFactor(dfg, fctlbl),DX, Qc, dt; Fk=Fk, Gk=Gk, Phik=Phik)

"""
$SIGNATURES
Expand Down

0 comments on commit 65e78a2

Please sign in to comment.