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

fix test g2o export #656

Merged
merged 2 commits into from Mar 6, 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
4 changes: 2 additions & 2 deletions Project.toml
Expand Up @@ -36,15 +36,15 @@ TransformUtils = "9b8138ad-1b09-5408-aa39-e87ed6d21b63"
[compat]
ApproxManifoldProducts = "0.6.2"
CoordinateTransformations = "0.5, 0.6"
DistributedFactorGraphs = "0.18.4, 0.19"
DistributedFactorGraphs = "0.19, 0.20"
Distributions = "0.24, 0.25"
DocStringExtensions = "0.8, 0.9"
FileIO = "1"
IncrementalInference = "0.32"
JLD2 = "0.3, 0.4"
KernelDensityEstimate = "0.5.1, 0.6"
Manifolds = "0.8.11"
ManifoldsBase = "0.13"
ManifoldsBase = "0.13, 0.14"
Optim = "0.22, 1"
OrderedCollections = "1"
ProgressMeter = "1"
Expand Down
8 changes: 8 additions & 0 deletions test/testG2oExportSE3.jl
Expand Up @@ -10,6 +10,14 @@ using Test
@testset "Test g2o SE3 export" begin
##

# fg = initfg()
# addVariable!.(fg, [:x0;:x1;:x2;:x3], Pose3)
# addFactor!(fg, [:x0], PriorPose3(MvNormal(zeros(6),diagm(0.1*ones(6)))))
# addFactor!(fg, [:x0;:x1], Pose3Pose3(MvNormal([1;0;0;0;0;0.],diagm(0.1*ones(6)))); graphinit=false)
# addFactor!(fg, [:x1;:x2], Pose3Pose3(MvNormal([1;0;0;0;0;0.],diagm(0.1*ones(6)))); graphinit=false)
# addFactor!(fg, [:x2;:x3], Pose3Pose3(MvNormal([1;0;0;0;0;0.],diagm(0.1*ones(6)))); graphinit=false)
# saveDFG(joinpath(@__DIR__,"testdata","g2otest.tar.gz"), fg)

fg = loadDFG(joinpath(@__DIR__,"testdata","g2otest.tar.gz"))

setPPE!.(fg, ls(fg), :parametric)
Expand Down
Binary file modified test/testdata/g2otest.tar.gz
Binary file not shown.