Commit Graph

112 Commits (release/4.3a0)

Author SHA1 Message Date
Fan Jiang ed098eaec6 Cleanup some includes and fix cassert 2024-12-11 14:05:05 -05:00
Gary 6dfd5671b1 Adding test and fix for issue #1596
A Non-active constraint returns a `nullptr`, which needs to be checked for when gathering the keys in `EliminateSymbolic`.
2024-08-07 15:53:03 -04:00
Fan Jiang 44d948e98e Remove the boost references
Signed-off-by: Fan Jiang <i@fanjiang.me>
2023-08-07 23:31:58 -07:00
Fan Jiang 4d68f0e55a
Merge branch 'develop' into fix/iSAM2 2023-07-30 14:35:50 -07:00
Frank Dellaert 7afccbc446 use emplace_shared 2023-02-06 01:03:17 -08:00
Frank Dellaert ae7c17420d Replace std::tie with c++17 pattern matching 2023-02-04 10:28:14 -08:00
kartik arcot 4b40e6e346 map_values eliminated 2023-01-23 18:27:42 -08:00
kartik arcot 852e8768c0 shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
kartik arcot 65bb6aea63 testGaussianISAM2 cleanup 2023-01-20 18:06:55 -08:00
kartik arcot 68e3c5cca2 testGaussian 2023-01-20 18:06:55 -08:00
Frank Dellaert d41d4c224d Another gcc issue, switch to FastList 2023-01-10 13:16:39 -08:00
Frank Dellaert d3a40fbc71 Use initializer lists in tests and gtsam_unstable 2023-01-07 23:59:39 -08:00
Grady Williams 66720e0b02 Bugfixes for ISAM2 2022-04-16 14:09:42 -07:00
Grady Williams 9e1046f40e Test for not increasing graph size when adding marginal factors 2022-04-16 14:09:34 -07:00
Grady Williams 0f951643bd Adding failing tests for ISAM2 marginalization 2022-02-15 15:45:14 -08:00
alescontrela 211119b00e Replace addPrior<> with addPrior 2020-04-12 13:10:09 -04:00
alescontrela aa3ac32235 Change all old cases of graph.emplace_shared<PriorFactor<...>>(...) and graph.add(PriorFactor<...>(...)) to graph.addPrior<...>(...). Removed unnecessary PriorFactor.h includes. 2020-04-11 20:09:54 -04:00
alescontrela f4525b51e4 Change PriorFactor includes from gtsam/slam to gtsam/nonlinear 2020-04-10 22:26:22 -04:00
Frank Dellaert 3ab9a1e3cc Made detail handling more explicit in update 2019-06-03 14:12:10 -04:00
Frank Dellaert 8b01b81027 Split up relinearize again for clarity 2019-06-02 00:41:17 -04:00
Frank Dellaert 42b5f81633 Now using add_factors 2019-06-01 18:03:29 -04:00
Frank Dellaert 4b405728a7 Get rid of deprecated LieScalar 2019-06-01 17:34:24 -04:00
Frank Dellaert ecacda68c0 Further refactored pushNewFactors 2019-06-01 17:34:24 -04:00
Frank Dellaert 1a29ab5533 Refactored iSAM2::update to reveal what is changed when 2019-06-01 17:34:24 -04:00
dellaert d86782eebc Some remaining std::vector stragglers 2018-11-08 12:25:21 -05:00
Frank Dellaert d6edc217ab Changed several Impl functions to methods in ISAM2 and ISAM2Clique 2018-09-30 14:11:00 -04:00
Frank Dellaert a31294d777 Modernized, cleaned up, and turned off non-recursive version (fow now) because it has a bug. 2018-09-29 17:52:20 -04:00
Yao Chen a464769ce1 Replaced BOOSE_FOREACH with for in tests folder. Tested the changed code locally: successful. 2016-05-20 21:29:02 -04:00
dellaert fad9462661 A better solution through typedef of FactorIndices -> FastVector<size_t> 2016-02-25 23:51:01 -08:00
Frank Dellaert 30435da070 Moved BearingRangeFactor to SAM 2015-07-12 18:57:26 -07:00
Frank Dellaert 7ff3e11efd removed redundancy in naming 2015-07-09 11:29:32 -07:00
Frank Dellaert 3b16ad2967 Moved deprecated headers into subdirectory 2015-07-09 11:14:39 -07:00
dellaert 128bac616c Globally replaced FastSet<Key> with KeySet. 2015-06-20 18:38:25 -07:00
Paul Drews 8a88f101db Fix deprecation warnings 2015-02-24 21:58:17 -05:00
Richard Roberts f9ca07e610 Converted Vector(2|3) << ... to Vector2(...) or Vector3(...) syntax 2014-11-23 10:22:25 -08:00
Richard Roberts aa093a35da Updated all comma initializer usages to use .finished() 2014-11-22 16:35:27 -08:00
dellaert d06de2f044 Reverted to LieScalar until Prior and Between factors fixed 2014-11-04 14:26:50 +01:00
dellaert 492c607f9e No more Lie types 2014-11-03 09:27:40 +01:00
dellaert 92c9e9c0aa Fixed "unused" warnings 2014-05-03 12:23:49 -04:00
Richard Roberts 7192bd2f79 Removed namespace-functions for ISAM2 optimize* and gradient*, these were only there to try to maintain a consistent interface for linear but really were not correct anyway since ISAM2 is a nonlinear object. They instead caused confusion and made the code complicated since they used a complicated system for updating and caching various components that go into calculating the solution. Replaced all this with much simpler code directly inside updateDelta, which uses clearly-defined functions in the ISAM2::Impl class to calculate the components that go into the solution. Also removed the redundant deltaUpToDate flags - now just checks whether deltaReplacedMask is empty. 2014-02-22 16:46:38 -05:00
Richard Roberts 686051c032 Convert DOS line endings to UNIX 2014-01-09 16:39:27 -05:00
Richard Roberts 880d9a8e3c Switched to new Eigen built-in special comma initializer 2013-12-16 21:33:12 +00:00
Richard Roberts 6c2077ccc5 Updated unit tests for clique finding fix 2013-11-19 00:26:18 +00:00
Richard Roberts fa5d08d9a6 Option to reuse old factor slots in ISAM2 2013-11-18 19:23:09 +00:00
Richard Roberts ec78d54f37 Removed old Index typedef and IndexFormatter 2013-11-08 16:35:28 +00:00
Jing Dong 181881a8d7 Fix Vector_() to Vec() in tests 2013-10-22 03:56:51 +00:00
Richard Roberts 3c68d20ff2 Fixed calculate_nnz and added unit test 2013-10-03 16:50:20 +00:00
Richard Roberts 0b58b0166a Fixed errors and warnings on linux 2013-08-12 21:32:51 +00:00
Richard Roberts 6410205e78 Fixed warnings 2013-08-11 18:18:06 +00:00
Richard Roberts 4e2f2c3822 Changed public back to protected 2013-08-11 00:40:12 +00:00