8000 release/4.2a8 to be merged into `master` by johnwlambert · Pull Request #1337 · borglab/gtsam · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

release/4.2a8 to be merged into master #1337

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

Merged
merged 560 commits into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
560 commits
Select commit Hold shift + click to select a range
96be56c
Merge pull request #1260 from Tobias-Fischer/patch-1
varunagrawal Aug 1, 2022
3e22039
Merge pull request #1258 from Tobias-Fischer/fix-metis-tests
varunagrawal Aug 1, 2022
0b9ddb7
Merge pull request #1262 from borglab/fix/matlab
varunagrawal Aug 1, 2022
ac28b0e
fix setter and getter for biasAccOmegaInit
varunagrawal Aug 2, 2022
16124f3
get all but 2 tests passing
varunagrawal Aug 2, 2022
ee124c3
fix discrete only elimination (use EliminateForMPE)
varunagrawal Aug 2, 2022
b39c231
all tests pass!!!
varunagrawal Aug 2, 2022
0f732d7
fix discrete conditional test
varunagrawal Aug 3, 2022
6670779
Wrap DiscreteLookupTable
varunagrawal Aug 3, 2022
f124ccc
Merge branch 'develop' into hybrid/hybrid-factor-graph
varunagrawal Aug 3, 2022
2fb11db
Merge branch 'develop' into hybrid/pruning
varunagrawal Aug 3, 2022
92a5868
Merge branch 'develop' into feature/nonlinear-hybrid
varunagrawal Aug 3, 2022
db56909
Merge branch 'hybrid/pruning' into feature/nonlinear-hybrid
varunagrawal Aug 3, 2022
060738c
Add Zenodo for generating citations
varunagrawal Aug 4, 2022
fcffa87
point Zenodo badge to Concept (aka aggregate) version
varunagrawal Aug 5, 2022
5965d8f
change discrete key variable from C to M
varunagrawal Aug 8, 2022
f5e046f
split HybridNonlinearFactorGraph to .h and .cpp
varunagrawal Aug 8, 2022
51d2f07
fix printing and key bug in MixtureFactor linearize
varunagrawal Aug 8, 2022
a3eacaa
fix adding priors in Switching
varunagrawal Aug 8, 2022
588f56e
HybridGaussianISAM unit tests
varunagrawal Aug 8, 2022
4ee23cf
Merge branch 'hybrid/hybrid-factor-graph' into hybrid/pruning
varunagrawal Aug 8, 2022
ba6e91b
Merge pull request #1265 from borglab/zenodo
varunagrawal Aug 9, 2022
60c88e3
fix print tests
varunagrawal Aug 10, 2022
4ea897c
cleaner printing
varunagrawal Aug 10, 2022
fbceda3
got some more tests working
varunagrawal Aug 10, 2022
103c78b
revert name change, save for another PR
varunagrawal Aug 10, 2022
0e4db30
use templetized constructor for MixtureFactor
varunagrawal Aug 10, 2022
a8720fe
Update README.md
pglira Aug 12, 2022
aa48658
more tests running
varunagrawal Aug 12, 2022
d3544d4
Merge pull request #1268 from pglira/patch-1
varunagrawal Aug 13, 2022
77bea31
one more test passing
varunagrawal Aug 13, 2022
5806850
HybridValues and optimize() method for hybrid gaussian bayes net
xsj01 Aug 14, 2022
36d6097
Merge branch 'hybrid/hybrid-factor-graph' into hybrid/hybrid-optimize
xsj01 Aug 15, 2022
9564e32
Merge branch 'hybrid/hybrid-factor-graph' into hybrid/hybrid-optimize
xsj01 Aug 15, 2022
7d36a9e
add some comments
xsj01 Aug 15, 2022
2a974a4
Address review comments
varunagrawal Aug 15, 2022
ac20cff
add incremental pruning to HybridGaussianISAM
varunagrawal Aug 16, 2022
379a65f
Address review comments
xsj01 Aug 16, 2022
83b8103
last test to get running
varunagrawal Aug 17, 2022
746ca78
Address review comments
xsj01 Aug 18, 2022
c4184e1
fix error in python unit test
xsj01 Aug 18, 2022
0f53b3f
Merge pull request #1238 from borglab/fix/1182
varunagrawal Aug 21, 2022
7977f77
Merge pull request #1263 from borglab/feature/nonlinear-hybrid
varunagrawal Aug 21, 2022
07f0101
check subset rather than equality for GaussianISAM pruning
varunagrawal Aug 21, 2022
29c19ee
handle HybridConditional and explicitly set Gaussian Factor Graphs to…
varunagrawal Aug 21, 2022
f6df641
remove custom orderings, let it happen automatically
varunagrawal Aug 21, 2022
6b792c0
add note about sumFrontals
varunagrawal Aug 21, 2022
fb8d6ab
Merge pull request #1237 from borglab/jose-fixes
varunagrawal Aug 21, 2022
587678e
Merge pull request #874 from borglab/fix/368
varunagrawal Aug 21, 2022
893c5f7
cast to only HybridGaussianFactor
varunagrawal Aug 22, 2022
ef066a0
Merge pull request #1270 from borglab/hybrid/hybrid-optimize
xsj01 Aug 22, 2022
c0a351d
upgrade from ubuntu 18.04 to 20.04
varunagrawal Aug 22, 2022
4c9c106
Merge pull request #1271 from borglab/feature/nonlinear-incremental
varunagrawal Aug 22, 2022
84456f4
Merge pull request #1273 from borglab/hybrid-incremental
varunagrawal Aug 22, 2022
525e512
Merge pull request #1276 from borglab/ci/20.04
varunagrawal Aug 22, 2022
05b1174
Merge pull request #1277 from borglab/feature/nonlinear-hybrid
varunagrawal Aug 22, 2022
8fd6091
add new line
varunagrawal Aug 22, 2022
b07964b
name file correctly in doc string
varunagrawal Aug 22, 2022
1f6816d
Merge branch 'develop' into fix/doxygen
varunagrawal Aug 22, 2022
7227965
Merge branch 'develop' into hybrid/pruning
varunagrawal Aug 22, 2022
89cdf4f
Merge pull request #1215 from borglab/hybrid/pruning
varunagrawal Aug 23, 2022
aa52b39
fix docstring
varunagrawal Aug 23, 2022
df64982
10000 add extra tests
varunagrawal Aug 23, 2022
ff20a50
Merge pull request #1221 from borglab/hybrid/hybrid-factor-graph
varunagrawal Aug 24, 2022
a6101b2
fix filename in docstring
varunagrawal Aug 26, 2022
f0df82a
HybridBayesNet::optimize
varunagrawal Aug 26, 2022
cb2d2e6
HybridBayesTree::optimize
varunagrawal Aug 26, 2022
1bb7a00
Add wrapping for hybrid nonlinear
ProfFan Aug 26, 2022
86320ff
extra test for HybridBayesNet optimize
varunagrawal Aug 26, 2022
74bddd9
finish HybridBayesTree test
varunagrawal Aug 26, 2022
129fa68
use Switching constructor arguments for noise covariances
varunagrawal Aug 26, 2022
1b5daf9
remove HybridLookupDAG
varunagrawal Aug 26, 2022
9c7bf36
refactor HybridValues
varunagrawal Aug 26, 2022
0edcfd4
new HybridBayesNet optimize implementation
varunagrawal Aug 26, 2022
5169b2e
add HybridBayesTree optimize method
varunagrawal Aug 27, 2022
41b5354
Merge pull request #1281 from borglab/feature/python_nlhg
ProfFan Aug 27, 2022
9a23871
Merge branch 'develop' into hybrid/optimize-2
varunagrawal Aug 27, 2022
8645ec0
update wrapper for HybridValues
varunagrawal Aug 27, 2022
31bbf51
add discrete factors to HybridBayesTree test
varunagrawal Aug 27, 2022
7272268
fix issue with TBB
varunagrawal Aug 27, 2022
f165559
Merge branch 'hybrid/optimize' into hybrid/optimize-2
varunagrawal Aug 27, 2022
68200e9
Merge branch 'develop' into fix/doxygen
varunagrawal Aug 28, 2022
496ddf8
fix gbn optimize everywhere for HybridBayesTree
varunagrawal Aug 28, 2022
6912d01
assert for discrete only conditional
varunagrawal Aug 29, 2022
a6b9554
Merge pull request #1280 from borglab/hybrid/optimize
varunagrawal Aug 29, 2022
4e451d5
helper to return HybridConditional as GaussianConditional
varunagrawal Aug 29, 2022
8c41f63
rename atGaussian to atMixture and add new atGaussian for continuous …
varunagrawal Aug 29, 2022
ca4293b
handle Gaussian conditionals in the BayesTree
varunagrawal Aug 31, 2022
fe595bf
fix doxygen
varunagrawal Aug 31, 2022
4852949
add helpers to get different types of keys from the hybrid graph
varunagrawal Aug 31, 2022
5bc7d33
wrap BayesTree::optimize
varunagrawal Aug 31, 2022
f7e1d2a
Merge pull request #1282 from borglab/hybrid/optimize-2
varunagrawal Aug 31, 2022
2c4866e
DiscreteKeys::print method
varunagrawal Aug 31, 2022
7c84020
Merge pull request #1284 from borglab/hybrid/misc
varunagrawal Aug 31, 2022
f42f282
rewrap KeyVector for Matlab wrapper
varunagrawal Aug 31, 2022
bfb865c
DiscreteKeys serialization
varunagrawal Sep 1, 2022
eb50928
add serialization for HybridFactor and HybridConditional
varunagrawal Sep 1, 2022
8692ae6
Make HybridBayesNet testable and add serialization
varunagrawal Sep 1, 2022
b16b05e
Make HybridBayesTree testable and add serialization
varunagrawal Sep 1, 2022
c6ebbdc
add serialization test for GaussianBayesNet
varunagrawal Sep 1, 2022
ab017df
move DiscreteKeys code to .cpp
varunagrawal Sep 1, 2022
27a9d56
move GaussianBayesNet serialization test to testSerializationLinear
varunagrawal Sep 1, 2022
30c913e
Merge pull request #1286 from borglab/hybrid/serialization
varunagrawal Sep 2, 2022
e164603
add multifrontal test to reproduce issue
varunagrawal Sep 2, 2022
773af1e
refactor HybridBayesTree::optimize
varunagrawal Sep 2, 2022
ba47207
some name cleaning in the HybridJunctionTree
varunagrawal Sep 2, 2022
c7e75d2
rename myJTNode to junctionTreeNode so we can better subclass Constru…
varunagrawal Sep 2, 2022
b0ba35d
remove unused variable in testSimilarity2
varunagrawal Sep 2, 2022
55d8dd3
Merge pull request #1285 from borglab/re-wrap-keyvector
varunagrawal Sep 2, 2022
9f2229f
remove unused blocks
varunagrawal Sep 3, 2022
e5333fa
remove nrContinuous since we don't need it
varunagrawal Sep 3, 2022
2fe1156
remove redunant statements
varunagrawal Sep 4, 2022
8c10cd5
add todo
varunagrawal Sep 4, 2022
b4c70f2
add code for simplified hybrid estimation
varunagrawal Sep 4, 2022
b2ca747
almost done with single legged robot
varunagrawal Sep 4, 2022
8f94f72
single leg robot test
varunagrawal Sep 4, 2022
b5eaaab
add more tests to show scheme doesn't work
varunagrawal Sep 4, 2022
858193d
remove print statements
varunagrawal Sep 11, 2022
8b5b42b
Add check for MixtureFactor to ensure the continous keys are the sam…
varunagrawal Sep 12, 2022
8c10a80
return shared pointer for HybridNonlinearFactorGraph::linearize
varunagrawal Sep 12, 2022
5a78015
add push_back for containers
varunagrawal Sep 12, 2022
82b70d7
Merge pull request #1287 from borglab/hybrid/multifrontal-fix
varunagrawal Sep 13, 2022
3e25e7d
Merge pull request #1288 from borglab/misc/fixes
varunagrawal Sep 13, 2022
0909c46
Merge pull request #1289 from borglab/fix/mixture-factor
varunagrawal Sep 13, 2022
83dd813
HybridNonlinearISAM class
varunagrawal Sep 13, 2022
4f22a06
add container SFINAE for hybrid nonlinear factor graph push_back
varunagrawal Sep 14, 2022
8c06485
fix test name for HybridNonlinearISAM
varunagrawal Sep 14, 2022
c4d3889
prune hybrid gaussian ISAM more efficiently and without the need to s…
varunagrawal Sep 15, 2022
aef1669
Add labelformatter to Assignment for convenience
varunagrawal Sep 15, 2022
8b5586f
move prune method to HybridBayesTree class
varunagrawal Sep 16, 2022
dcad55c
optional maxNrLeaves for HybridGaussianISAM
varunagrawal Sep 16, 2022
5765926
optional ordering argument for HybridNonlinearISAM::update
varunagrawal Sep 16, 2022
a96c3db
minor fix
varunagrawal Sep 16, 2022
93528c3
Only eliminate variables that are in newFactors
varunagrawal Sep 16, 2022
aebcde9
add push_back to HybridBayesNet
varunagrawal Sep 16, 2022
9ef5c18
move renamed allDiscreteKeys and allContinuousKeys to HybridFactorGraph
varunagrawal Sep 17, 2022
12db5dd
undo changes
varunagrawal Sep 17, 2022
2f8a0f8
rename testHybridIncremental to testHybridGaussianISAM
varunagrawal Sep 19, 2022
c2ca426
rename allDiscreteKeys and allContinuousKeys to discreteKeys and cont…
varunagrawal Sep 20, 2022
8007271
Merge branch 'develop' of https://github.com/borglab/gtsam into dsf-g…
Sep 26, 2022
a2109a2
pass in IndexPair arguments
Sep 26, 2022
2434dc8
add to preamble/specialization
Sep 26, 2022
a3069a3
remove opaque on sfmtrack2d
Sep 26, 2022
fa17c50
Add SfmTrack2dVector to ignore list
johnwlambert Sep 26, 2022
96aaff4
wrap vector of NamedSfmMeasurement
Sep 27, 2022
6eb4ada
add more methods for accessing members, getting size
Sep 27, 2022
cafab61
expand tes 10000 ts
Sep 27, 2022
269d60e
Merge branch 'develop' into varun/test-hybrid-estimation
varunagrawal Oct 3, 2022
d6feb4d
Merge branch 'develop' into hybrid/improvements
varunagrawal Oct 3, 2022
2c4529f
Merge branch 'hybrid/improvements' into hybrid/improved-prune
varunagrawal Oct 3, 2022
5dfaa89
Merge branch 'hybrid/improved-prune' into hybrid/check-elimination
varunagrawal Oct 3, 2022
bf2015d
Merge branch 'hybrid/check-elimination' into varun/test-hybrid-estima…
varunagrawal Oct 3, 2022
3407f97
Merge pull request #1294 from borglab/hybrid/check-elimination
varunagrawal Oct 3, 2022
75b2599
remove unnecessary comments
varunagrawal Oct 3, 2022
ad32875
improved hybrid bayes net pruning
varunagrawal Oct 3, 2022
d6d44fc
minor cleanup
varunagrawal Oct 3, 2022
42e915f
Merge branch 'hybrid/improved-prune-2' into varun/test-hybrid-estimation
varunagrawal Oct 3, 2022
903d7c6
Merge pull request #1290 from borglab/hybrid/improvements
varunagrawal Oct 4, 2022
cae787a
Merge pull request #1300 from borglab/hybrid/improved-prune-2
varunagrawal Oct 4, 2022
bc8c77c
rename test file to correct form
varunagrawal Oct 4, 2022
8820bf2
Add test to expose bug in elimination with gaussian conditionals
varunagrawal Oct 4, 2022
9002b68
fix the bug
varunagrawal Oct 4, 2022
6238a1f
more docs for Switching example
varunagrawal Oct 4, 2022
812ae30
Merge branch 'hybrid/gaussian-conditional' into varun/test-hybrid-est…
varunagrawal Oct 4, 2022
ec3d6b3
Use cannonical library name for eigen
OznOg Oct 5, 2022
4d690ef
add docimentation for Keypoints class
Oct 6, 2022
6bd16d9
move GTDKeyFormatter to types.h
varunagrawal Oct 7, 2022
fc9fc72
Merge pull request #1301 from borglab/hybrid/gaussian-conditional
varunagrawal Oct 7, 2022
4f6e4e7
Merge pull request #1293 from borglab/hybrid/improved-prune
varunagrawal Oct 8, 2022
acdc1af
Merge branch 'develop' into varun/test-hybrid-estimation
varunagrawal Oct 8, 2022
774cfd2
Use Eigen Config file for cmake detection
OznOg Oct 7, 2022
9c77c66
fix tests
varunagrawal Oct 8, 2022
1a17a81
formatting
varunagrawal Oct 9, 2022
055df81
apply keyformatter to Gaussian iSAM in HybridNonlinearISAM
varunagrawal Oct 9, 2022
3e15184
slight improvement to GaussianMixtureFactor print
varunagrawal Oct 10, 2022
a00bcbc
PrunerFunc helper function
varunagrawal Oct 10, 2022
2c8fe25
enumerate missing discrete keys so we can prune all gaussian mixtures
varunagrawal Oct 10, 2022
c15cfb6
add PrunerFunc to GaussianMixture
varunagrawal Oct 11, 2022
2225ecf
clean up the prunerFunc
varunagrawal Oct 11, 2022
5e99cd7
HybridBayesNet and HybridBayesTree both use similar pruning functions
varunagrawal Oct 11, 2022
c2377f3
minor fixes to unit test
varunagrawal Oct 11, 2022
8090812
add assertions to remove warning
varunagrawal Oct 11, 2022
eacc888
remove print function
varunagrawal Oct 11, 2022
4f40665
rename KeypointsList -> KeypointsVector
Oct 13, 2022
7dee1af
add verbose flag for logging messages during DSF track generation
Oct 13, 2022
f9971f5
use gtsam.gtsfm namespace for new API
Oct 13, 2022
73fd3f9
add namespace hack to prevent gtsam.gtsam.gtsfm
Oct 13, 2022
8c19f49
add curlyy brackets to for loop
varunagrawal Oct 13, 2022
1d70d14
remove custom keyformatter
varunagrawal Oct 13, 2022
8f7473d
remove added test file
varunagrawal Oct 13, 2022
0faf222
remove leftover comment
varunagrawal Oct 13, 2022
cd69c51
Merge pull request #1306 from borglab/varun/test-hybrid-estimation
varunagrawal Oct 14, 2022
d387d2c
update switching example to accept measurements in constructor
varunagrawal Oct 14, 2022
40d3865
rename discreteFactor to decisionTree
varunagrawal Oct 14, 2022
82f328b
expose DiscreteKeysAsSet as a function
varunagrawal Oct 20, 2022
949958d
new updateDiscreteConditionals method for after we prune
varunagrawal Oct 20, 2022
cc78a14
HybridSmoother based on BayesNet
varunagrawal Oct 20, 2022
453870e
unit test for end-2-end hybrid estimation
varunagrawal Oct 20, 2022
7499071
fix typo in g2o file format parsing
mauricefallon Oct 22, 2022
58a15c3
remove extraneous tictoc print
varunagrawal Oct 22, 2022
74d6f05
add assertions for HybridEstimation example
varunagrawal Oct 22, 2022
0b79399
simplify conversion of root discrete conditional
varunagrawal Oct 22, 2022
ebb29ef
Make Switching test fixture 0-indexed to match iMHS paper
varunagrawal Oct 22, 2022
cafa3c5
Split SfmTrack into 2 classes
dellaert Oct 23, 2022
38be12e
Use SfmMeasurement and SfmTrack
dellaert Oct 23, 2022
7e411fe
Refactor into smaller functions
dellaert Oct 23, 2022
466290c
Moved code to cpp file
dellaert Oct 23, 2022
ca45114
removed NamedSfmMeasurementVector
dellaert Oct 23, 2022
3cb73cc
Fix in writeG2o when writing Pose3 measurement
mmattamala Oct 23, 2022
5cbc680
Merge pull request #1 from mmattamala/fix/g2o_parse_error
mauricefallon Oct 23, 2022
f68f0db
Addressed review comments - removed class in favor of free function
dellaert Oct 23, 2022
90c990d
Rename of test
dellaert Oct 23, 2022
32df824
Vectorized interface
dellaert Oct 23, 2022
05d4d91
Merge pull request #1312 from borglab/dsf-gtsfm-refactor
dellaert Oct 24, 2022
3d4236e
Merge pull request #1304 from OznOg/UseEigen3Config.cmake
varunagrawal Oct 25, 2022
1129c95
fix CMake so that Eigen discovery and linking is consistent
varunagrawal Oct 25, 2022
33e2426
Merge branch 'develop' into fix/doxygen
varunagrawal Oct 25, 2022
6f89d45
Add GetOrdering method that can be re-used
varunagrawal Oct 25, 2022
2dfc683
Merge pull request #1314 from borglab/fix/cmake-eigen
dellaert Oct 26, 2022
0ec8b61
fix wrapper argument
akshay-krishnan Oct 26, 2022
b0533bb
add gtsam:: prefix
akshay-krishnan Oct 26, 2022
cc350f4
Merge pull request #1315 from borglab/hybrid/gaussian-isam
varunagrawal Oct 26, 2022
b1a8225
Merge pull request #1255 from borglab/fix/doxygen
varunagrawal Oct 26, 2022
74133b2
Merge pull request #1310 from mauricefallon/fix/g2o_parse_error
varunagrawal Oct 26, 2022
3da27a5
add docstring to test and fix assert
varunagrawal Oct 26, 2022
8b2639a
Merge pull request #1316 from borglab/fix/track-wrapper
varunagrawal Oct 26, 2022
41d0de3
Squashed 'wrap/' changes from ca357ccdd..b37a1fec6
varunagrawal Oct 28, 2022
2bfd480
Merging 'master' into 'wrap'
varunagrawal Oct 28, 2022
e5ef9c2
Fix return type wrapping for Matlab wrapper
varunagrawal Oct 28, 2022
d3102a1
add matlab test for class property variables
varunagrawal Oct 28, 2022
d45583c
Merging 'master' into 'wrap'
varunagrawal Oct 28, 2022
e5dac42
Squashed 'wrap/' changes from b37a1fec6..b3faf3fcd
varunagrawal Oct 28, 2022
e8c3659
update namespace for templated class property
varunagrawal Oct 29, 2022
470f1a0
Squashed 'wrap/' changes from b3faf3fcd..ba3dcab16
varunagrawal Oct 29, 2022
1999078
Merging 'master' into 'wrap'
varunagrawal Oct 29, 2022
719e4f9
Merge pull request #1317 from borglab/wrap/update
varunagrawal Oct 29, 2022
7f8bd8a
Merge pull request #1311 from borglab/hybrid/switching-0-index
varunagrawal Nov 2, 2022
256c664
Merge pull request #1309 from borglab/varun/pruning-fix
varunagrawal Nov 3, 2022
d57fffb
allow examples to link to gtsam_unstable
varunagrawal Nov 7, 2022
4c7dcb3
better error messages from Pybind
varunagrawal Nov 7, 2022
193ee66
Remove unnecessary functions in ImuFactorsExample.cpp
Taeyoung96 Nov 13, 2022
c709932
Add unit test exposing GaussianBayesTree determinant bug
varunagrawal Nov 14, 2022
3dcf9d8
fix bug in GaussianBayesTree::logDeterminant
varunagrawal Nov 14, 2022
93079f3
docstring updates
varunagrawal Nov 14, 2022
0d60d80
Merge pull request #1321 from borglab/housekeeping
varunagrawal Nov 14, 2022
ad9c1a7
Merge pull request #1324 from Taeyoung96/fix-imuFactor-example
varunagrawal Nov 14, 2022
a281e1a
Merge pull request #1327 from borglab/fix/gbt-determinant
varunagrawal Nov 15, 2022
10e0306
add workflow to trigger ubuntu packaging
berndpfrommer Nov 15, 2022
a2ffca4
Merge pull request #1328 from berndpfrommer/add_packaging_trigger
varunagrawal Nov 16, 2022
f9a5313
Update prerelease version cmake
johnwlambert Nov 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
88 changes: 55 additions & 33 deletions .github/scripts/python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,46 +43,68 @@ if [ -z ${PYTHON_VERSION+x} ]; then
exit 127
fi

PYTHON="python${PYTHON_VERSION}"
export PYTHON="python${PYTHON_VERSION}"

if [[ $(uname) == "Darwin" ]]; then
function install_dependencies()
{
if [[ $(uname) == "Darwin" ]]; then
brew install wget
else
else
# Install a system package required by our library
sudo apt-get install -y wget libicu-dev python3-pip python3-setuptools
fi

PATH=$PATH:$($PYTHON -c "import site; print(site.USER_BASE)")/bin

[ "${GTSAM_WITH_TBB:-OFF}" = "ON" ] && install_tbb


BUILD_PYBIND="ON"
fi

sudo $PYTHON -m pip install -r $GITHUB_WORKSPACE/python/requirements.txt
export PATH=$PATH:$($PYTHON -c "import site; print(site.USER_BASE)")/bin

mkdir $GITHUB_WORKSPACE/build
cd $GITHUB_WORKSPACE/build
[ "${GTSAM_WITH_TBB:-OFF}" = "ON" ] && install_tbb

cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DGTSAM_BUILD_TESTS=OFF \
-DGTSAM_BUILD_UNSTABLE=${GTSAM_BUILD_UNSTABLE:-ON} \
-DGTSAM_USE_QUATERNIONS=OFF \
-DGTSAM_WITH_TBB=${GTSAM_WITH_TBB:-OFF} \
-DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_BUILD_PYTHON=${BUILD_PYBIND} \
-DGTSAM_UNSTABLE_BUILD_PYTHON=${GTSAM_BUILD_UNSTABLE:-ON} \
-DGTSAM_PYTHON_VERSION=$PYTHON_VERSION \
-DPYTHON_EXECUTABLE:FILEPATH=$(which $PYTHON) \
-DGTSAM_ALLOW_DEPRECATED_SINCE_V42=OFF \
-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/gtsam_install
$PYTHON -m pip install -r $GITHUB_WORKSPACE/python/requirements.txt
}

function build()
{
mkdir $GITHUB_WORKSPACE/build
cd $GITHUB_WORKSPACE/build

BUILD_PYBIND="ON"

cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DGTSAM_BUILD_TESTS=OFF \
-DGTSAM_BUILD_UNSTABLE=${GTSAM_BUILD_UNSTABLE:-ON} \
-DGTSAM_USE_QUATERNIONS=OFF \
-DGTSAM_WITH_TBB=${GTSAM_WITH_TBB:-OFF} \
< F438 /td> -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
-DGTSAM_BUILD_PYTHON=${BUILD_PYBIND} \
-DGTSAM_UNSTABLE_BUILD_PYTHON=${GTSAM_BUILD_UNSTABLE:-ON} \
-DGTSAM_PYTHON_VERSION=$PYTHON_VERSION \
-DPYTHON_EXECUTABLE:FILEPATH=$(which $PYTHON) \
-DGTSAM_ALLOW_DEPRECATED_SINCE_V42=OFF \
-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/gtsam_install


# Set to 2 cores so that Actions does not error out during resource provisioning.
make -j2 install

cd $GITHUB_WORKSPACE/build/python
$PYTHON -m pip install --user .
}

# Set to 2 cores so that Actions does not error out during resource provisioning.
make -j2 install
function test()
{
cd $GITHUB_WORKSPACE/python/gtsam/tests
$PYTHON -m unittest discover -v
}

cd $GITHUB_WORKSPACE/build/python
$PYTHON -m pip install --user .
cd $GITHUB_WORKSPACE/python/gtsam/tests
$PYTHON -m unittest discover -v
# select between build or test
case $1 in
-d)
install_dependencies
;;
-b)
build
;;
-t)
test
;;
esac
24 changes: 12 additions & 12 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ jobs:
# Github Actions requires a single row to be added to the build matrix.
# See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
name: [
ubuntu-18.04-gcc-5,
ubuntu-18.04-gcc-9,
ubuntu-18.04-clang-9,
ubuntu-20.04-gcc-7,
ubuntu-20.04-gcc-9,
ubuntu-20.04-clang-9,
]

build_type: [Debug, Release]
build_unstable: [ON]
include:
- name: ubuntu-18.04-gcc-5
os: ubuntu-18.04
- name: ubuntu-20.04-gcc-7
os: ubuntu-20.04
compiler: gcc
version: "5"
version: "7"

- name: ubuntu-18.04-gcc-9
os: ubuntu-18.04
- name: ubuntu-20.04-gcc-9
os: ubuntu-20.04
compiler: gcc
version: "9"

- name: ubuntu-18.04-clang-9
os: ubuntu-18.04
- name: ubuntu-20.04-clang-9
os: ubuntu-20.04
compiler: clang
version: "9"

Expand All @@ -60,9 +60,9 @@ jobs:
gpg -a --export $LLVM_KEY | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
fi
sudo apt-get -y update

sudo apt-get -y install cmake build-essential pkg-config libpython-dev python-numpy libicu-dev
sudo apt-get -y update
sudo apt-get -y install cmake build-essential pkg-config libpython3-dev python3-numpy libicu-dev

if [ "${{ matrix.compiler }}" = "gcc" ]; then
sudo apt-get install -y g++-${{ matrix.version }} g++-${{ matrix.version }}-multilib
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
# Github Actions requires a single row to be added to the build matrix.
# See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
name: [
macOS-10.15-xcode-11.3.1,
macos-11-xcode-13.4.1,
]

build_type: [Debug, Release]
build_unstable: [ON]
include:
- name: macOS-10.15-xcode-11.3.1
os: macOS-10.15
- name: macos-11-xcode-13.4.1
os: macos-11
compiler: xcode
version: "11.3.1"
version: "13.4.1"

steps:
- name: Checkout
Expand All @@ -43,7 +43,7 @@ jobs:
echo "CC=gcc-${{ matrix.version }}" >> $GITHUB_ENV
echo "CXX=g++-${{ matrix.version }}" >> $GITHUB_ENV
else
sudo xcode-select -switch /Applications/Xcode_${{ matrix.version }}.app
sudo xcode-select -switch /Applications/Xcode.app
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
fi
Expand Down
62 changes: 34 additions & 28 deletions .github/workflows/build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,48 +19,48 @@ jobs:
# Github Actions requires a single row to be added to the build matrix.
# See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
name: [
ubuntu-18.04-gcc-5,
ubuntu-18.04-gcc-9,
ubuntu-18.04-clang-9,
macOS-10.15-xcode-11.3.1,
ubuntu-18.04-gcc-5-tbb,
ubuntu-20.04-gcc-7,
ubuntu-20.04-gcc-9,
ubuntu-20.04-clang-9,
macOS-11-xcode-13.4.1,
ubuntu-20.04-gcc-7-tbb,
]

build_type: [Debug, Release]
python_version: [3]
include:
- name: ubuntu-18.04-gcc-5
os: ubuntu-18.04
- name: ubuntu-20.04-gcc-7
os: ubuntu-20.04
compiler: gcc
version: "5"
version: "7"

- name: ubuntu-18.04-gcc-9
os: ubuntu-18.04
- name: ubuntu-20.04-gcc-9
os: ubuntu-20.04
compiler: gcc
version: "9"

- name: ubuntu-18.04-clang-9
os: ubuntu-18.04
- name: ubuntu-20.04-clang-9
os: ubuntu-20.04
compiler: clang
version: "9"

# NOTE temporarily added this as it is a required check.
- name: ubuntu-18.04-clang-9
os: ubuntu-18.04
- name: ubuntu-20.04-clang-9
os: ubuntu-20.04
compiler: clang
version: "9"
build_type: Debug
python_version: "3"

- name: macOS-10.15-xcode-11.3.1
os: macOS-10.15
- name: macOS-11-xcode-13.4.1
os: macOS-11
compiler: xcode
version: "11.3.1"
version: "13.4.1"

- name: ubuntu-18.04-gcc-5-tbb
os: ubuntu-18.04
- name: ubuntu-20.04-gcc-7-tbb
os: ubuntu-20.04
compiler: gcc
version: "5"
version: "7"
flag: tbb

steps:
Expand All @@ -79,9 +79,9 @@ jobs:
gpg -a --export $LLVM_KEY | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
fi

sudo apt-get -y update

sudo apt-get -y install cmake build-essential pkg-config libpython-dev python-numpy libboost-all-dev
sudo apt-get -y install cmake build-essential pkg-config libpython3-dev python3-numpy libboost-all-dev

if [ "${{ matrix.compiler }}" = "gcc" ]; then
sudo apt-get install -y g++-${{ matrix.version }} g++-${{ matrix.version }}-multilib
Expand All @@ -103,7 +103,7 @@ jobs:
echo "CC=gcc-${{ matrix.version }}" >> $GITHUB_ENV
echo "CXX=g++-${{ matrix.version }}" >> $GITHUB_ENV
else
sudo xcode-select -switch /Applications/Xcode_${{ matrix.version }}.app
sudo xcode-select -switch /Applications/Xcode.app
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
fi
Expand All @@ -112,11 +112,17 @@ jobs:
run: |
echo "GTSAM_WITH_TBB=ON" >> $GITHUB_ENV
echo "GTSAM Uses TBB"
- name: Build (Linux)
- name: Set Swap Space
if: runner.os == 'Linux'
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 6
- name: Install Dependencies
run: |
bash .github/scripts/python.sh
- name: Build (macOS)
if: runner.os == 'macOS'
bash .github/scripts/python.sh -d
- name: Build
run: |
bash .github/scripts/python.sh -b
- name: Test
run: |
bash .github/scripts/python.sh
bash .github/scripts/python.sh -t
14 changes: 7 additions & 7 deletions .github/workflows/build-special.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,31 @@ jobs:

include:
- name: ubuntu-gcc-deprecated
os: ubuntu-18.04
os: ubuntu-20.04
compiler: gcc
version: "9"
flag: deprecated

- name: ubuntu-gcc-quaternions
os: ubuntu-18.04
os: ubuntu-20.04
compiler: gcc
version: "9"
flag: quaternions

- name: ubuntu-gcc-tbb
os: ubuntu-18.04
os: ubuntu-20.04
compiler: gcc
version: "9"
flag: tbb

- name: ubuntu-cayleymap
os: ubuntu-18.04
os: ubuntu-20.04
compiler: gcc
version: "9"
flag: cayley

- name: ubuntu-system-libs
os: ubuntu-18.04
os: ubuntu-20.04
compiler: gcc
version: "9"
flag: system-libs
Expand All @@ -74,9 +74,9 @@ jobs:
gpg -a --export 15CF4D18AF4F7421 | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
fi
sudo apt-get -y update

sudo apt-get -y install cmake build-essential pkg-config libpython-dev python-numpy libicu-dev
sudo apt-get -y update
sudo apt-get -y install cmake build-essential pkg-config libpython3-dev python3-numpy libicu-dev

if [ "${{ matrix.compiler }}" = "gcc" ]; then
sudo apt-get install -y g++-${{ matrix.version }} g++-${{ matrix.version }}-multilib
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/trigger-packaging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This triggers building of packages
name: Trigger Package Builds
on:
push:
branches:
- develop
jobs:
trigger-package-build:
runs-on: ubuntu-latest
steps:
- name: Trigger Package Rebuild
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PACKAGING_REPO_ACCESS_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'borglab-launchpad',
repo: 'gtsam-packaging',
workflow_id: 'main.yaml',
ref: 'master'
})
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif()
set (GTSAM_VERSION_MAJOR 4)
set (GTSAM_VERSION_MINOR 2)
set (GTSAM_VERSION_PATCH 0)
set (GTSAM_PRERELEASE_VERSION "a7")
set (GTSAM_PRERELEASE_VERSION "a8")
math (EXPR GTSAM_VERSION_NUMERIC "10000 * ${GTSAM_VERSION_MAJOR} + 100 * ${GTSAM_VERSION_MINOR} + ${GTSAM_VERSION_PATCH}")

if (${GTSAM_VERSION_PATCH} EQUAL 0)
Expand Down Expand Up @@ -101,8 +101,6 @@ if(GTSAM_BUILD_PYTHON OR GTSAM_INSTALL_MATLAB_TOOLBOX)
# Copy matlab.h to the correct folder.
configure_file(${PROJECT_SOURCE_DIR}/wrap/matlab.h
${PROJECT_BINARY_DIR}/wrap/matlab.h COPYONLY)
# Add the include directories so that matlab.h can be found
include_directories("${PROJECT_BINARY_DIR}" "${GTSAM_EIGEN_INCLUDE_FOR_BUILD}")

add_subdirectory(wrap)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/wrap/cmake")
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ will run up to 10x faster in Release mode! See the end of this document for
additional debugging tips.

3. GTSAM has Doxygen documentation. To generate, run 'make doc' from your
build directory.
build directory after setting the `GTSAM_BUILD_DOCS` and `GTSAM_BUILD_[HTML|LATEX]` cmake flags.

4. The instructions below install the library to the default system install path and
build all components. From a terminal, starting in the root library folder,
Expand Down
Loading
0