Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

towards DFG 19 #645

Merged
merged 2 commits into from Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Expand Up @@ -36,7 +36,7 @@ TransformUtils = "9b8138ad-1b09-5408-aa39-e87ed6d21b63"
[compat]
ApproxManifoldProducts = "0.6.2"
CoordinateTransformations = "0.5, 0.6"
DistributedFactorGraphs = "0.18.4"
DistributedFactorGraphs = "0.18.4, 0.19"
Distributions = "0.24, 0.25"
DocStringExtensions = "0.8, 0.9"
FileIO = "1"
Expand Down
4 changes: 2 additions & 2 deletions src/canonical/GenerateHelix.jl
Expand Up @@ -22,7 +22,7 @@ function generateGraph_Helix2D!(numposes::Integer = 40;
graphinit = nothing,
useMsgLikelihoods = nothing,
solverParams::SolverParams = SolverParams(;graphinit=false),
dfg::AbstractDFG = LightDFG{SolverParams}(;solverParams),
dfg::AbstractDFG = LocalDFG{SolverParams}(;solverParams),
radius::Real = 10,
spine_t = (t)->0 + im*0,
xr_t::Function = (t)->real(spine_t(t)),
Expand Down Expand Up @@ -63,7 +63,7 @@ function generateGraph_Helix2D!(numposes::Integer = 40;
# select the starting point
_μ0 = μ0
# @show _μ0 = 1 == bidx ? μ0 : getPPE(dfg, lastpose, refKey).suggested
Tμ = SE2(_μ0-[0;0;pi/2])
Tμ = SE2(_μ0-[0;0;pi/2]) # TODO update to Manifolds.jl

# current end pose count for number of turns
eidx = 1
Expand Down
6 changes: 5 additions & 1 deletion test/testScalarFields.jl
@@ -1,5 +1,6 @@
# test scalar field

# using Revise
using Test
using ImageCore, ImageIO
using TensorCast
Expand Down Expand Up @@ -135,6 +136,9 @@ end
# Gadfly.set_default_plot_size(35cm,20cm)

# plotSLAM2D_KeyAndRef(fg)

# imshow(img)

##