Skip to content

Commit d4a8f70

Browse files
Affiegithub-actions[bot]CompatHelper Julia
authored
Update Manifolds compat (#1891)
* CompatHelper: bump compat for Manifolds to 0.11 for package IncrementalInferenceTypes, (keep existing compat) (#1890) Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> * CompatHelper: bump compat for DataStructures to 0.19 for package IncrementalInference, (keep existing compat) (#1889) Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> * CompatHelper: bump compat for Manifolds to 0.11 for package IncrementalInference, (keep existing compat) (#1888) Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> * CompatHelper: bump compat for ManifoldsBase to 2 for package IncrementalInference, (keep existing compat) (#1887) Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> Co-authored-by: Johannes Terblanche <6612981+Affie@users.noreply.github.com> * update compat * update some functions moved from Manifolds to LieGroups --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> Co-authored-by: Johannes Terblanche <Affie@users.noreply.github.com>
1 parent 0e34215 commit d4a8f70

6 files changed

Lines changed: 12 additions & 13 deletions

File tree

IncrementalInference/Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ApproxManifoldProducts = "0.10"
7272
BSON = "0.2, 0.3"
7373
CliqueTrees = "0.5, 1"
7474
Combinatorics = "1.0"
75-
DataStructures = "0.16, 0.17, 0.18"
75+
DataStructures = "0.18, 0.19"
7676
DelimitedFiles = "1"
7777
DifferentialEquations = "7"
7878
DistributedFactorGraphs = "0.27, 0.28"
@@ -91,8 +91,8 @@ KernelDensityEstimate = "0.5.6"
9191
LieGroups = "0.1.1"
9292
LinearAlgebra = "1.10"
9393
ManifoldDiff = "0.3, 0.4"
94-
Manifolds = "0.10.17"
95-
ManifoldsBase = "0.15, 1"
94+
Manifolds = "0.10.17, 0.11"
95+
ManifoldsBase = "1, 2"
9696
Manopt = "0.5.14"
9797
MetaGraphs = "0.7, 0.8"
9898
Optim = "1"

IncrementalInference/src/Factors/GenericFunctions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ DFG.getDimension(Z::BallTreeDensity) = Ndim(Z)
2929
# Generic function that can be used in binary factors to calculate distance between points on Lie Groups with measurements.
3030
# """
3131
# function distancePoint2Point(M::SemidirectProductGroup, m, p, q)
32-
# q̂ = Manifolds.compose(M, p, m)
32+
# q̂ = LieGroups.compose(M, p, m)
3333
# # return log(M, q, q̂)
3434
# return vee(M, q, log(M, q, q̂))
3535
# # return distance(M, q, q̂)

IncrementalInference/src/IncrementalInference.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import Manifolds
1717
using Manifolds:
1818
Circle,
1919
Euclidean,
20-
ProductGroup,
2120
AbstractDecoratorManifold,
2221
get_vector,
2322
ProductManifold,

IncrementalInference/src/manifolds/services/ManifoldsExtentions.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function Manifolds.exp!(M::NPowerManifold, q, p, X)
6767
return q
6868
end
6969

70-
function Manifolds.compose!(M::NPowerManifold, x, p, q)
70+
function LieGroups.compose!(M::NPowerManifold, x, p, q)
7171
rep_size = representation_size(M.manifold)
7272
for i in Manifolds.get_iterator(M)
7373
x[i] = compose(
@@ -109,10 +109,10 @@ function DFG.getPointIdentity(M::ProductManifold, ::Type{T} = Float64) where {T
109109
return ArrayPartition(map(x -> getPointIdentity(x, T), M.manifolds))
110110
end
111111

112-
function DFG.getPointIdentity(G::ProductGroup, ::Type{T} = Float64) where {T <: Real}
113-
M = G.manifold
114-
return ArrayPartition(map(x -> getPointIdentity(x, T), M.manifolds))
115-
end
112+
# function DFG.getPointIdentity(G::ProductGroup, ::Type{T} = Float64) where {T <: Real}
113+
# M = G.manifold
114+
# return ArrayPartition(map(x -> getPointIdentity(x, T), M.manifolds))
115+
# end
116116

117117
function DFG.getPointIdentity(
118118
G::LieGroups.TranslationGroup{ℝ, TypeParameter{Tuple{N}}},

IncrementalInference/test/manifolds/factordiff.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ p2 = exp(M, e0, hat(M, e0, [10,0,pi/2]))
9292

9393

9494
function resid_SE2(X, p, q)
95-
= Manifolds.compose(M, p, exp(M, identity_element(M, typeof(p)), X)) #for groups
95+
= LieGroups.compose(M, p, exp(M, identity_element(M, typeof(p)), X)) #for groups
9696
return vee(M, q, log(M, q, q̂))
9797
end
9898

@@ -170,7 +170,7 @@ end
170170

171171
# # modified from IIF/test/testSpecialEuclidean2Mani.jl
172172
# function f_SE2(X, p, q)
173-
# q̂ = Manifolds.compose(M, p, exp(M, identity_element(M, p), X)) #for groups
173+
# q̂ = LieGroups.compose(M, p, exp(M, identity_element(M, p), X)) #for groups
174174
# Xc = zeros(3)
175175
# vee!(M, Xc, q, log(M, q, q̂))
176176
# return Xc

IncrementalInferenceTypes/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ DistributedFactorGraphs = "0.27, 0.28.0"
2222
Distributions = "0.25.120"
2323
DocStringExtensions = "0.9.5"
2424
LieGroups = "0.1.2"
25-
Manifolds = "0.10.16"
25+
Manifolds = "0.10.16, 0.11"
2626
RecursiveArrayTools = "3.33.0"
2727
StaticArrays = "1.9.13"
2828
StructTypes = "1.11.0"

0 commit comments

Comments
 (0)