Skip to content

Commit 40bae09

Browse files
authored
Merge pull request #1613 from JuliaRobotics/master
v0.30.6-rc1
2 parents ca6f75b + f6986bb commit 40bae09

File tree

9 files changed

+276
-99
lines changed

9 files changed

+276
-99
lines changed

.github/workflows/ci.yml

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010
jobs:
1111
test-stable:
12-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.group }}
12+
name: JL${{ matrix.version }} - ${{ matrix.arch }} - ${{ matrix.group }} - ${{ matrix.os }}
1313
runs-on: ${{ matrix.os }}
1414
env:
1515
JULIA_PKG_SERVER: ""
@@ -19,7 +19,6 @@ jobs:
1919
version:
2020
- '1.6'
2121
- '1.8'
22-
- 'nightly'
2322
os:
2423
- ubuntu-latest
2524
arch:
@@ -47,19 +46,26 @@ jobs:
4746
if: ${{ matrix.version != 'nightly' }}
4847

4948
upstream-dev:
50-
#if: github.ref != 'refs/heads/release**'
5149
name: Upstream Dev
5250
runs-on: ubuntu-latest
5351
env:
5452
JULIA_PKG_SERVER: ""
53+
strategy:
54+
fail-fast: false
55+
matrix:
56+
arch:
57+
- x64
58+
version:
59+
- '1.8'
60+
group:
61+
- 'basic_functional_group'
62+
- 'test_cases_group'
5563
steps:
5664
- uses: actions/checkout@v2
57-
5865
- uses: julia-actions/setup-julia@v1
5966
with:
60-
version: 1.7
61-
arch: x64
62-
67+
version: ${{ matrix.version }}
68+
arch: ${{ matrix.arch }}
6369
- uses: actions/cache@v1
6470
env:
6571
cache-name: cache-artifacts
@@ -70,14 +76,44 @@ jobs:
7076
${{ runner.os }}-test-${{ env.cache-name }}-
7177
${{ runner.os }}-test-
7278
${{ runner.os }}-
73-
7479
- run: |
7580
git config --global user.name Tester
7681
git config --global user.email [email protected]
77-
7882
- name: Upstream Dev
83+
env:
84+
IIF_TEST_GROUP: ${{ matrix.group }}
7985
run: |
8086
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="master"));'
8187
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="master"));'
8288
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.test("IncrementalInference"; coverage=false)'
8389
shell: bash
90+
91+
test-debug-group:
92+
needs: [ upstream-dev ]
93+
name: JL${{ matrix.version }} - ${{ matrix.group }} - ${{ matrix.os }}
94+
runs-on: ${{ matrix.os }}
95+
env:
96+
JULIA_PKG_SERVER: ""
97+
strategy:
98+
fail-fast: false
99+
matrix:
100+
os:
101+
- ubuntu-latest
102+
version:
103+
- '1.8'
104+
arch:
105+
- x64
106+
group:
107+
- 'tmp_debug_group'
108+
continue-on-error: true
109+
steps:
110+
- uses: actions/checkout@v2
111+
- uses: julia-actions/setup-julia@v1
112+
with:
113+
version: ${{ matrix.version }}
114+
arch: ${{ matrix.arch }}
115+
- uses: julia-actions/cache@v1
116+
- uses: julia-actions/julia-buildpkg@v1
117+
- uses: julia-actions/julia-runtest@v1
118+
env:
119+
IIF_TEST_GROUP: ${{ matrix.group }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019
3+
Copyright (c) 2019 - 2022
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "IncrementalInference"
22
uuid = "904591bb-b899-562f-9e6f-b8df64c7d480"
33
keywords = ["MM-iSAMv2", "Bayes tree", "junction tree", "Bayes network", "variable elimination", "graphical models", "SLAM", "inference", "sum-product", "belief-propagation"]
44
desc = "Implements the Multimodal-iSAMv2 algorithm."
5-
version = "0.30.5"
5+
version = "0.30.6"
66

77
[deps]
88
ApproxManifoldProducts = "9bbbb610-88a1-53cd-9763-118ce10c1f89"

src/ManifoldsExtentions.jl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,30 @@ function Manifolds.manifold_dimension(M::NPowerManifold)
1212
return manifold_dimension(M.manifold) * M.N
1313
end
1414

15+
function Manifolds.get_vector!(M::NPowerManifold, Y, p, c, B::AbstractBasis)
16+
dim = manifold_dimension(M.manifold)
17+
rep_size = representation_size(M.manifold)
18+
v_iter = 1
19+
for i in Manifolds.get_iterator(M)
20+
Y[i] = get_vector(
21+
M.manifold,
22+
Manifolds._read(M, rep_size, p, i),
23+
view(c,v_iter:(v_iter + dim - 1)),
24+
B,
25+
)
26+
v_iter += dim
27+
end
28+
return Y
29+
end
30+
31+
function Manifolds.exp!(M::NPowerManifold, q, p, X)
32+
rep_size = representation_size(M.manifold)
33+
for i in Manifolds.get_iterator(M)
34+
q[i] = exp(M.manifold, Manifolds._read(M, rep_size, p, i), Manifolds._read(M, rep_size, X, i))
35+
end
36+
return q
37+
end
38+
1539
## ================================================================================================
1640
## ArrayPartition getPointIdentity (identity_element)
1741
## ================================================================================================

0 commit comments

Comments
 (0)