Commit Graph

2010 Commits (456df093f110af74b6ee6e85ba6e44ced009a680)

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 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
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