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

v0.30.6-rc1 #1613

Merged
merged 37 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
1ccc95f
Improve allocations of get_vector! and exp!
Affie Aug 11, 2022
e74703c
Merge branch 'master' into 22Q3/perform/parametric
Affie Aug 14, 2022
e409440
duplicate bump v0.30.5
dehann Aug 19, 2022
55b422f
Update runtests.jl
dehann Aug 19, 2022
4a9f821
separate group for dev test failures
dehann Aug 19, 2022
164290e
Merge pull request #1604 from JuliaRobotics/22Q3/ci/knownfails
dehann Aug 19, 2022
731848d
try separate tests again
dehann Aug 19, 2022
8c628cc
trying harder
dehann Aug 19, 2022
5367409
fix
dehann Aug 19, 2022
b3b80e8
try again
dehann Aug 19, 2022
8613820
back to matrix
dehann Aug 19, 2022
54213f9
fix
dehann Aug 19, 2022
0a3bfd3
cleaner names
dehann Aug 19, 2022
ea22a57
no coverage on debug_group
dehann Aug 19, 2022
91da5ab
Rm nightly from stable tests (only on dev)
dehann Aug 19, 2022
96d3d9a
Fix merge conflics and new autoinit
Affie Aug 19, 2022
ee35e57
missing groups for Upstream Dev cases
dehann Aug 19, 2022
d3773a1
Merge branch 'master' into 22Q3/perform/parametric
Affie Aug 19, 2022
d91177a
two unpredictable tests
dehann Aug 19, 2022
ff42a84
Merge pull request #1606 from JuliaRobotics/22Q3/ci/sepissuetest
dehann Aug 19, 2022
bd223b7
flip test order
dehann Aug 20, 2022
fec4c62
Merge pull request #1608 from JuliaRobotics/22Q3/ci/fliporder
dehann Aug 20, 2022
137e037
Merge pull request #1607 from JuliaRobotics/master
Affie Aug 21, 2022
973ba9e
bump CI and update date
dehann Aug 22, 2022
7eb4990
back to not static arrays for now
Affie Aug 22, 2022
1d08119
Fix updateParametricSolution!
Affie Aug 22, 2022
bdbc18f
Update TetherUtils.jl
dehann Aug 22, 2022
b206158
Update src/services/TetherUtils.jl
dehann Aug 22, 2022
3f83a0b
Merge pull request #1609 from JuliaRobotics/22Q3/maint/tododocs
dehann Aug 22, 2022
cbcb1ae
Fix MaxMixtures
Affie Aug 22, 2022
4343c04
better add solverData fields on parametric init
dehann Aug 23, 2022
0f0249c
Don't silently skip init on initParametricFrom
Affie Aug 23, 2022
d1bdff5
Merge pull request #1594 from JuliaRobotics/22Q3/perform/parametric
Affie Aug 23, 2022
7dfbc98
CI removing JL-nightly
dehann Aug 24, 2022
7a7870b
oops, bugfix
dehann Aug 24, 2022
54d9765
Merge pull request #1610 from JuliaRobotics/22Q3/enh/betterinitprep
dehann Aug 25, 2022
f6986bb
Merge branch 'release/v0.30' into master
Affie Aug 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 45 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:
jobs:
test-stable:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.group }}
name: JL${{ matrix.version }} - ${{ matrix.arch }} - ${{ matrix.group }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
JULIA_PKG_SERVER: ""
Expand All @@ -19,7 +19,6 @@ jobs:
version:
- '1.6'
- '1.8'
- 'nightly'
os:
- ubuntu-latest
arch:
Expand Down Expand Up @@ -47,19 +46,26 @@ jobs:
if: ${{ matrix.version != 'nightly' }}

upstream-dev:
#if: github.ref != 'refs/heads/release**'
name: Upstream Dev
runs-on: ubuntu-latest
env:
JULIA_PKG_SERVER: ""
strategy:
fail-fast: false
matrix:
arch:
- x64
version:
- '1.8'
group:
- 'basic_functional_group'
- 'test_cases_group'
steps:
- uses: actions/checkout@v2

- uses: julia-actions/setup-julia@v1
with:
version: 1.7
arch: x64

version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
Expand All @@ -70,14 +76,44 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-

- run: |
git config --global user.name Tester
git config --global user.email [email protected]

- name: Upstream Dev
env:
IIF_TEST_GROUP: ${{ matrix.group }}
run: |
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="master"));'
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="master"));'
julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.test("IncrementalInference"; coverage=false)'
shell: bash

test-debug-group:
needs: [ upstream-dev ]
name: JL${{ matrix.version }} - ${{ matrix.group }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
JULIA_PKG_SERVER: ""
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
version:
- '1.8'
arch:
- x64
group:
- 'tmp_debug_group'
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
IIF_TEST_GROUP: ${{ matrix.group }}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019
Copyright (c) 2019 - 2022

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "IncrementalInference"
uuid = "904591bb-b899-562f-9e6f-b8df64c7d480"
keywords = ["MM-iSAMv2", "Bayes tree", "junction tree", "Bayes network", "variable elimination", "graphical models", "SLAM", "inference", "sum-product", "belief-propagation"]
desc = "Implements the Multimodal-iSAMv2 algorithm."
version = "0.30.5"
version = "0.30.6"

[deps]
ApproxManifoldProducts = "9bbbb610-88a1-53cd-9763-118ce10c1f89"
Expand Down
24 changes: 24 additions & 0 deletions src/ManifoldsExtentions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,30 @@ function Manifolds.manifold_dimension(M::NPowerManifold)
return manifold_dimension(M.manifold) * M.N
end

function Manifolds.get_vector!(M::NPowerManifold, Y, p, c, B::AbstractBasis)
dim = manifold_dimension(M.manifold)
rep_size = representation_size(M.manifold)
v_iter = 1
for i in Manifolds.get_iterator(M)
Y[i] = get_vector(
M.manifold,
Manifolds._read(M, rep_size, p, i),
view(c,v_iter:(v_iter + dim - 1)),
B,
)
v_iter += dim
end
return Y
end

function Manifolds.exp!(M::NPowerManifold, q, p, X)
rep_size = representation_size(M.manifold)
for i in Manifolds.get_iterator(M)
q[i] = exp(M.manifold, Manifolds._read(M, rep_size, p, i), Manifolds._read(M, rep_size, X, i))
end
return q
end

## ================================================================================================
## ArrayPartition getPointIdentity (identity_element)
## ================================================================================================
Expand Down
Loading