Commit Graph

2066 Commits (f81879aff6b53e385caee0db561833348f262efa)

Author SHA1 Message Date
Fan Jiang 456df093f1 Change all occurances of unnamed enum (deprecated in C++20) to `constexpr` 2024-12-12 10:27:42 -05:00
Fan Jiang ed098eaec6 Cleanup some includes and fix cassert 2024-12-11 14:05:05 -05:00
Varun Agrawal cc4e9cb4db Merge branch 'develop' into discrete-elimination-refactor 2024-12-10 10:26:39 -05:00
Varun Agrawal a98ac0fdb2 make evaluate the overriden method 2024-12-09 21:09:00 -05:00
Varun Agrawal 88b36da602 make evaluate a common base method 2024-12-09 16:55:15 -05:00
Varun Agrawal 214bf4ec1a more fixes 2024-12-08 17:15:40 -05:00
Varun Agrawal 975fe627d9 add methods in gtsam_unstable 2024-12-08 16:58:19 -05:00
Varun Agrawal 90d7e21941 change from DiscreteValues to Assignment<Key> 2024-12-08 11:19:35 -05:00
Varun Agrawal d1d440ad34 add nrValues method 2024-12-07 10:53:32 -05:00
Jai Moraes ba522a8859 GitLab version (branch QNX_7.1_v4.1.1) 2024-11-27 13:17:37 -05:00
Jeffrey 06dac43cae Some refinement in BayesTreeMarginalizationHelper:
1. Skip subtrees that have already been visited when searching for
   dependent cliques;
2. Avoid copying shared_ptrs (which needs extra expensive atomic
   operations) in the searching. Use const Clique* instead of
   sharedClique whenever possible;
3. Use std::unordered_set instead of std::set to improve average
   searching speed.
2024-11-02 17:14:01 +08:00
Jeffrey 0d9c3a9958 Remove unused variable 2024-10-31 22:23:22 +08:00
Jeffrey 1a5e711f0e Further optimize the implementation of BayesTreeMarginalizationHelper:
Now we won't re-emilinate any unnecessary nodes (we re-emilinated
whole subtrees in the previous commits, which is not optimal)
2024-10-31 21:52:45 +08:00
Jeffrey 14c3467520 Remove old marginalization code in IncrementalFixedLagSmoother.cpp 2024-10-31 19:05:54 +08:00
Jeffrey 67b0b78ea1 Update BayesTreeMarginalizationHelper:
1. Refactor code in BayesTreeMarginalizationHelper;
2. And avoid the unnecessary re-elimination of subtrees
   that only contain marginalizable variables;
2024-10-31 18:58:49 +08:00
Jeffrey c6ba2b5fd8 update doc string in BayesTreeMarginalizationHelper.h 2024-10-29 15:13:09 +08:00
Jeffrey 896e52ca27 Fix marginalization in IncrementalFixedLagSmoother.
Add BayesTreeMarginalizationHelper.h and use the new helper
to gather the additional keys to re-eliminate when marginalizing
variables in IncrementalFixedLagSmoother.
2024-10-28 23:38:04 +08:00
Jeffrey 1dd3b180b1 update testIncrementalFixedLagSmoother.cpp to reproduce the bug in marginalization 2024-10-28 20:33:06 +08:00
Varun Agrawal 2e39fef721 wrap PartialPriorFactor 2024-08-25 04:35:16 -04:00
Varun Agrawal bf70087fff Make default PartialPriorFactor constructor public 2024-08-25 04:35:02 -04:00
Varun Agrawal 2916841f12 update gtsam:: namespace in gtsam_unstable.i 2024-06-28 16:18:04 -04:00
Varun Agrawal bc3b96a6e8 rename error to errorTree when it returns an AlgebraicDecisionTree 2024-01-05 03:24:50 -05:00
Varun Agrawal 7d4dcf80d1 Merge branch 'develop' into discrete-error 2024-01-04 13:46:36 -05:00
Frank Dellaert 6f89bd8ddf
Merge pull request #1678 from kkelchte/develop 2023-11-30 07:53:45 -08:00
Varun Agrawal 4711f5807d discrete error method that returns an ADT 2023-11-11 10:32:33 -05:00
Varun Agrawal b5d19fb446
Merge pull request #1650 from borglab/factor-typecast 2023-10-18 13:45:51 -04:00
Varun Agrawal e4fff74690 update gtsamAddExamplesGlob and gtsamAddTimingGlob to take an additional argument rather than using a global variable 2023-10-08 12:16:24 -04:00
Varun Agrawal f875662040 Merge branch 'develop' into fixes 2023-10-08 11:01:39 -04:00
Varun Agrawal 790e3d515c add templated at methods for FactorGraph so it can perform typecasting for us 2023-10-06 12:34:49 -04:00
Tal Regev 2c4cdbb8c1
Fix windows tests 2023-09-25 20:33:35 +03:00
Varun Agrawal c25f8a60b7 fix warnings 2023-09-21 13:56:20 -04:00
Varun Agrawal ac3f3dbd60 clean up GTSAM version setting 2023-09-05 06:48:24 -04:00
Varun Agrawal e4ff39cd42 Merge branch 'develop' into fix/windows-tests 2023-07-27 12:06:12 -04:00
Tal Regev 62d59c62d4
Fix windows test 2023-07-20 08:28:23 +03:00
Frank Dellaert 6eeceb679a Fix unit tests 2023-07-17 16:55:20 +02:00
Varun Agrawal 5fa889b035 add GTSAM_EXPORT tags 2023-06-21 17:32:26 -04:00
Varun Agrawal 57311281fb use std::map<Key, uint32_t> for Key-Dim maps 2023-06-21 09:56:16 -04:00
Varun Agrawal fbf155d91e undo changes 2023-06-21 09:55:52 -04:00
Varun Agrawal 62fe1a9379 add todo for error in SmartStereoProjectionFactorPP.h 2023-06-20 17:35:57 -04:00
Varun Agrawal 254e3128e6 fix for multiply defined symbol error in LPInitSolver 2023-06-20 17:35:57 -04:00
Varun Agrawal b0404aa109 small improvements 2023-06-20 17:35:57 -04:00
klaas kelchtermans 8aff7b52f0 typo 2023-05-04 13:46:35 +02:00
klaas kelchtermans d472362614 add ProjectionFactorPPPCal3Fisheye 2023-05-04 11:11:45 +02:00
Varun Agrawal b252f64c33 re-enable testSmartStereoProjectionFactorPP 2023-04-27 16:32:25 -04:00
Varun Agrawal e5bf78e688 remove extra semicolons 2023-03-10 15:36:46 -05:00
Ankur Roy Chowdhury ae22dc1b6f Use quotes to include 'gtsam_instable/dllexport.h' 2023-03-07 11:31:58 -08:00
Ankur Roy Chowdhury 910e71a878 seperately include 'gtsam_unstable/dllexport.h' inside IncrementalFixedLagSmoother.h 2023-03-07 11:14:40 -08:00
Ankur Roy Chowdhury ec91f96f3d import missing header 2023-03-02 14:15:25 -08:00
Ankur Roy Chowdhury f95ffed82e Moves examples/FixedLagSmootherExample.cpp -> gtsam_unstable/examples/FixedLagSmootherExample.cpp 2023-03-02 13:57:18 -08:00
Frank Dellaert 2ce0b57f05 Fixed python wrapper 2023-02-20 08:20:16 -08:00
Frank Dellaert 6df2f3eeda Fixed examples 2023-02-20 08:05:07 -08:00
Frank Dellaert ccb151d07b Added deprecated headers 2023-02-20 08:03:36 -08:00
Ankur Roy Chowdhury ddcfc1b50b Moves 'BatchFixedLagSmoother' to 'gtsam' from 'gtsam_unstable' 2023-02-20 07:49:52 -08:00
Lawrence Ibarria 1bed89e942 Allow override of BUILD_SHARED_LIBS
The cmake option BUILD_SHARED_LIBS is a cmake built-in option
to control if libraries are by default SHARED or STATIC.

For large projects, it is desired to be able to design gtsam as a
shared or static library regardless of the value of BUILD_SHARED_LIBS.
This change is unobtrusive, two new cmake options are created, to
force gtsam to be a shared or static library. If neither option is
set (this is the default), the behavior of gtsam remains unchanged
which is to use BUILD_SHARED_LIBS decision.
2023-02-12 13:29:30 -08:00
Frank Dellaert a8eb98acea Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
Frank Dellaert 2856282932
Merge pull request #1444 from borglab/feature/remove_boost_completely
Optionally remove boost completely
2023-02-06 12:56:55 -08:00
Frank Dellaert c6dd2bb0f0 Fix up timing and examples 2023-02-06 01:44:55 -08:00
Frank Dellaert aac277d949 Remove serialization header 2023-02-06 01:35:14 -08:00
Frank Dellaert 8fb0d255ca Excluding sources/headers/tests 2023-02-06 01:34:55 -08:00
Frank Dellaert a9971fd2fd More emplace_shared usage 2023-02-06 01:20:27 -08:00
Frank Dellaert d38562868f include assert header 2023-02-05 22:50:36 -08:00
Frank Dellaert 9a7bce8540 Exclude testSmartStereoProjectionFactorPP 2023-02-05 21:10:38 -08:00
Frank Dellaert c1b5c192f8 Kill more boost headers 2023-02-05 20:45:54 -08:00
Frank Dellaert fdf53b62c6 Got rid or ifdefed many boost headers 2023-02-05 20:45:54 -08:00
Frank Dellaert 285cbe4f22 Get rid of all (pre c++11) += calls to create Orderings. 2023-02-05 20:45:54 -08:00
kartik arcot 62d0552368 CMakeList changes 2023-02-05 20:45:54 -08:00
kartik arcot baf4cf5a23 fix ordering 2023-02-05 20:45:54 -08:00
kartik arcot de2e2899c8 don't compile Gnc when there is no boost 2023-02-05 20:45:54 -08:00
kartik arcot 2eecfe382b excluding some examples and moved index_sequence implementation to gtsam namespace 2023-02-05 20:45:54 -08:00
kartik arcot fc05618907 disable scheduler since it uses boost::escaped_list_tokenizer 2023-02-05 20:45:54 -08:00
kartik arcot a77b5bc1d7 boost::variant -> std::variant 2023-02-05 15:04:15 -08:00
Frank Dellaert fbc748a1a1 Merge branch 'develop' into feaure/remove_misc_boost 2023-02-05 10:43:34 -08:00
kartik arcot 111d911377 true type, and is_same 2023-02-04 12:22:17 -08:00
kartik arcot 7ed0083928 remove format headers 2023-02-04 12:21:32 -08:00
kartik arcot 9347f35ae5 replace boost::format 2023-02-04 12:21:32 -08:00
Frank Dellaert ae7c17420d Replace std::tie with c++17 pattern matching 2023-02-04 10:28:14 -08:00
Frank Dellaert eeda8a7ff2 c++17 style eliminatePartialSequential calls 2023-02-04 08:41:46 -08:00
Frank Dellaert 6e6bb6b513 Fixed arguments in constructors 2023-01-25 18:32:50 -08:00
Frank Dellaert e5964736d1 Resolve review comments 2023-01-25 08:23:12 -08:00
kartik arcot 769ecd3e96 remove tuple header 2023-01-23 18:30:09 -08:00
kartik arcot 0c77d26711 remove adaptor headers 2023-01-23 18:29:10 -08:00
kartik arcot 773d4975e6 remove all adaptors 2023-01-23 18:28:55 -08:00
kartik arcot 755da00e51 removed iterator_range calls 2023-01-23 18:27:57 -08:00
kartik arcot d1d5336ed0 global find/replace. Does not compile 2023-01-23 18:26:44 -08:00
Kartik Arcot 4c24b39ee4 Merge branch 'feature/remove_boost_in_Values' into verdant/boost-serialization 2023-01-22 22:33:56 -08:00
kartik arcot b63a8b9542 gtsam compiles and tests run with and without boost serialization 2023-01-22 22:16:46 -08:00
kartik arcot 3250cf49ca gtsam_unstable, test folders ifdefs 2023-01-22 22:14:50 -08:00
Frank Dellaert 3b94469ce2 Merge branch 'develop' into feature/remove_boost_in_Values 2023-01-22 21:32:27 -08:00
Kartik Arcot 8e48ccd9cf Merge branch 'develop' into verdant/smart_ptrs 2023-01-22 17:10:52 -08:00
Frank Dellaert 79682c2d8e Deprecated boost iterators in Values 2023-01-22 17:04:49 -08:00
Frank Dellaert aa4657c7d8
Merge pull request #1403 from kartikarcot/verdant/replace-boost-optional-vals 2023-01-22 16:56:41 -08:00
kartik arcot 703cb5cbc7 remove make_shared header 2023-01-22 08:40:02 -08:00
kartik arcot bea191f009 removed boost/shared_ptr 2023-01-22 08:40:02 -08:00
kartik arcot c037e0a1fc replaced casts 2023-01-22 08:40:02 -08:00
kartik arcot 852e8768c0 shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
Frank Dellaert 6743c4f6bc Fixed some stragglers in timing 2023-01-21 20:26:06 -08:00
Kartik Arcot 6cd59d755f Merge branch 'feature/remove_deprecated_code' into verdant/replace-boost-optional-vals 2023-01-21 11:42:23 -08:00
Frank Dellaert c71d07bbfd Removed filter from examples and timing scripts 2023-01-21 11:39:42 -08:00
kartik arcot b8fb9fabb4 Merge branch 'feature/remove_deprecated_code' into verdant/replace-boost-optional-vals 2023-01-21 10:08:31 -08:00
kartik arcot 12e35b1367 make temp variable std optional 2023-01-21 09:27:20 -08:00