Skip to content

Commit

Permalink
Merge pull request #298 from JuliaRobotics/24Q3/enh/liegauprod2
Browse files Browse the repository at this point in the history
more Lie Gaussian product  tests
  • Loading branch information
dehann authored Jul 29, 2024
2 parents cb26bea + 889bc18 commit 9da5292
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/testLieFundamentals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,19 @@ p̂ = calcProductGaussians(
do_transport_correction = true
)

@test isapprox(
[0;0;0.0],
mean(p̂.p);
atol=1e-10
)

@test isapprox(
μn,
vee(M, ε, log(M, ε, mean(p̂)));
atol=1e-1 # NOTE looser bound for even-mean-mean case vs naive-identity-mean case
)



##
end
Expand Down

0 comments on commit 9da5292

Please sign in to comment.