Commit Graph

2066 Commits (f81879aff6b53e385caee0db561833348f262efa)

Author SHA1 Message Date
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
kartik arcot 8181b50de3 remove optional headers 2023-01-21 09:27:20 -08:00
kartik arcot 607a30a08e .i files 2023-01-21 09:27:20 -08:00
kartik arcot 9329bddd8a OptionalJacobian 2023-01-21 09:27:20 -08:00
kartik arcot d7f60353c9 unstable/slam 2023-01-21 09:27:20 -08:00
kartik arcot 4e2f0cc36b gtsam_unstable/partition 2023-01-21 09:27:20 -08:00
kartik arcot 4bc2795299 gtsam_unstable/nonlinear 2023-01-21 09:27:20 -08:00
kartik arcot 0ae90f6262 gtsam_unstable/discrete 2023-01-21 09:27:20 -08:00
kartik arcot 1f833a0bc3 nonlinear 2023-01-21 09:27:20 -08:00
kartik arcot 4495efe233 triangulation.h 2023-01-21 09:27:20 -08:00
kartik arcot 02b5485c76 point2.h 2023-01-21 09:27:20 -08:00
kartik arcot d338a7086b slam folder. serialize std::optional 2023-01-21 09:27:20 -08:00
Frank Dellaert 4675fd67d0 removed deprecated code 2023-01-20 22:50:05 -08:00
kartik arcot c397a99b30 simwall2d 2023-01-20 18:06:55 -08:00
kartik arcot 544af1f03a fixed smart factor and camera set for boost optional references 2023-01-20 18:06:55 -08:00
kartik arcot 6233619095 removed some new lines 2023-01-20 18:06:55 -08:00
kartik arcot 200aa13701 return before using statement 2023-01-20 18:06:55 -08:00
kartik arcot 5575dc1f69 addressed MR comments on nonlinearfactor 2023-01-20 18:06:55 -08:00
kartik arcot 9c56c73c1a fixing some mr comments. added new lines 2023-01-20 18:06:55 -08:00
kartik arcot 8506877a52 some more comments 2023-01-20 18:06:55 -08:00
kartik arcot bbb997f895 removed some more boost optional matrix references 2023-01-20 18:06:55 -08:00
kartik arcot 53d23b96ff added some comments and fixed some formatting 2023-01-20 18:06:55 -08:00
kartik arcot 6aed555eef removed NO_BOOST definitions and evaluateErrorInterface from expressionfactor 2023-01-20 18:06:55 -08:00
kartik arcot b7073e3224 all of gtsam compiles and tests pass with ptrs instead of optional matrix refererences 2023-01-20 18:06:55 -08:00
kartik arcot f7c683a794 some changes that get testPriorFactor compiling 2023-01-20 18:06:55 -08:00
kartik arcot 841dc6005a changed signatures to use OptionalMatrix keyword 2023-01-20 18:06:55 -08:00
Varun Agrawal 5c59862238
Merge pull request #1381 from acowley/BatchFixedLagSmoother-verbosity 2023-01-12 10:48:26 -05:00
Anthony Cowley 0e6676c082 BatchFixedLagSmoother: add ability to limit warning debug prints
This mimics the behavior of `LevenbergMarquardtOptimizer.cpp`.
2023-01-09 12:30:44 -05:00
Frank Dellaert d3a40fbc71 Use initializer lists in tests and gtsam_unstable 2023-01-07 23:59:39 -08:00
Frank Dellaert 9b5321ce03 Remove unused boost::assign headers 2023-01-07 23:58:35 -08:00
Frank Dellaert 7e4b033ece Using initializers for almost everything in gtsam now. 2023-01-07 20:30:10 -08:00
Frank Dellaert c4fb764299 Removed boost headers in DecisionTree-inl.h that are no longer needed. 2023-01-07 10:19:52 -08:00
Gerry Chen 8f2c978a7d
Correctly revert confusing `->template key<N>()` notations
revert to using shortcut form: `key1()`, `key2()`
2023-01-04 23:24:57 -05:00
Gerry Chen b46fd77c4a
Revert "revert confusing `->template key<N>()` notations"
This reverts commit 97fcb409b9.
2023-01-04 23:21:50 -05:00
Gerry Chen 97fcb409b9
revert confusing `->template key<N>()` notations
revert to using shortcut form: `key1()`, `key2()`
2023-01-04 22:55:24 -05:00
Frank Dellaert d2fd155a3a Use brace initializers for DiscreteValues 2022-12-31 02:07:24 -05:00
Varun Agrawal 6f5e85664c fix some more deprecation warnings 2022-12-24 20:36:26 +05:30
Varun Agrawal ece5640133 fix wrapper warnings 2022-12-24 20:05:45 +05:30
Gerry Chen 885eed33d1
replace all NoiseModelFactor1, 2, ... with NoiseModelFactorN 2022-12-22 17:25:48 -05:00
Varun Agrawal 1f6816d974 Merge branch 'develop' into fix/doxygen 2022-08-22 17:37:03 -04:00
Varun Agrawal 0f53b3f892
Merge pull request #1238 from borglab/fix/1182
Capitalize Identity trait
2022-08-21 09:05:21 -04:00
Tobias Fischer 4e6ec77294 Link to interface library in case system metis is used 2022-08-01 07:36:36 +10:00
Varun Agrawal eaac392f37 add base module 2022-07-26 16:47:45 -04:00
Varun Agrawal d6fe41d59d update the groups 2022-07-26 16:44:30 -04:00
Varun Agrawal 51dd35afd4 better page arrangement to include GTSAM_UNSTABLE 2022-07-26 16:39:29 -04:00
Varun Agrawal fd839e71b6 fix latex symbol warnings 2022-07-26 16:38:51 -04:00
Varun Agrawal c82981f217 fix doxygen warnings due to groups and and incorrect filenames 2022-07-26 16:38:51 -04:00
agilemapper aef4ec8185 replace addtogroup with ingroup for the SLAM group 2022-07-23 13:04:42 +02:00
Varun Agrawal d12dd55c55
Merge pull request #1035 from borglab/fix/gncOptimizer 2022-07-07 15:28:35 -04:00
Varun Agrawal c31298d367 Capitalize Identity trait since it is static 2022-07-07 12:31:27 -04:00
HViktorTsoi 27ddedfc63 Replace the usage of Rot3::quaternion to Rot3::toQuaternion in 'timeShonanAveraging.cpp' 2022-06-08 16:42:50 +08:00
Varun Agrawal d3162bfb5e
Merge pull request #1157 from d-vo/fix/invDepthFactor3-h3 2022-04-11 18:14:08 -04:00
Dominik Van Opdenbosch c435da87fc InvDepthFactor3: Add unit test for Jacobians 2022-04-08 17:29:01 +02:00
yotams 894605be3f added wrapper for ProjectionFactorRollingShutter 2022-04-05 08:51:03 +03:00
d-vo d0144441cb InvDepthFactor3: Fix wrong derivative H3 2022-03-31 20:30:51 +02:00
Varun Agrawal a9a4075ff6
Merge pull request #1117 from acxz/metis-include
Allow more functionality through system METIS
2022-03-26 03:34:27 -04:00
acxz c7374307f4 use internal metislib.h; extern C for system&local 2022-02-22 12:57:43 -05:00
acxz 5d3b0bf1c1 only metis.h is needed to include both system and local metis.h file
metislib.h can be changed to <> due to cmake changes
2022-02-22 12:54:44 -05:00
acxz 2ba8683454 add newline at end of file 2022-02-21 13:50:27 -05:00
acxz 6d1e7ebce4 add missing header guards under gtsam_unstable/ 2022-02-21 13:50:27 -05:00
acxz 026cfca0d9 replace ifndefs with pragma once 2022-02-20 02:53:15 -05:00
Frank Dellaert 55ad1841bd
Merge pull request #1108 from borglab/fix/headers
Header discipline in base
2022-02-17 01:25:01 -05:00
Varun Agrawal 2b78b96670
Merge pull request #1107 from borglab/fix/91_single_test_exe 2022-02-17 00:12:25 -05:00
Frank Dellaert c78af4d3ea Add headers in the place they are needed 2022-02-16 22:51:53 -05:00
Frank Dellaert 3d6a7bf970 Fix more stuff in check.slam 2022-02-16 09:43:12 -05:00
Mike Sheffler ac01db4f4d Per https://github.com/borglab/gtsam/blob/develop/Using-GTSAM-EXPORT.md , classes with no methods defined in a .cpp file shouldn't have the GTSAM_EXPORT or GTSAM_UNSTABLE_EXPORT modifier. This was causing problems with the building of gtsam_unstable on MSVC / Windows. 2022-02-15 00:19:54 -08:00
Mike Sheffler b687317ccb EXPORT statements to help Windows build. In Constraint.h, there was a GTSAM_EXPORT that should have been GTSAM_UNSTABLE_EXPORT, and in DiscreteKey.h, there should be a GTSAM_EXPORT in front of an operator definition for a class that is being exported. 2022-02-13 16:47:12 -08:00
senselessDev 75263296b3 expose iSAM object for iFLS, fix __repr__ of iFLS, bFLS 2022-01-29 23:31:07 +01:00
senselessDev dbfc7bb495 revert FactorIndices default argument to overloading for now
* FactorIndices default argument is currently not easily available in
binding code
* see https://github.com/borglab/gtsam/pull/1053#issuecomment-1019345941
2022-01-29 22:13:23 +01:00
senselessDev 2a17280362 Merge remote-tracking branch 'upstream/develop' into develop 2022-01-24 21:30:36 +01:00
senselessDev 305300848b use default for parameter instead of overloading 2022-01-22 19:06:17 +01:00
senselessDev 0814efafd7 expose some iSAM2/FixedLagSmoothing functionality for the bindings 2022-01-22 15:42:59 +01:00
Frank Dellaert 99a97da5f7 Fix examples 2022-01-21 18:12:38 -05:00
Frank Dellaert b17fcfb64f optimalAssignment -> optimize. Not deprecating as in unstable. 2022-01-21 14:47:28 -05:00
lcarlone e0082d746c Merge branch 'feature/robustTriangulation' into feature/refinementsForPoseToPointFactor 2022-01-12 20:43:13 -05:00
Frank Dellaert fa5ead6246 Fix failing test 2022-01-09 15:59:40 -05:00
Frank Dellaert 918b037dde Fix include 2022-01-09 11:42:46 -05:00
Frank Dellaert 9087d3d81b Initial attempt at html 2022-01-09 08:19:44 -05:00
Fan Jiang f65bd4d90d Remove Potentials 2022-01-06 20:10:03 -05:00
Frank Dellaert 53b4053c20
Merge pull request #1001 from borglab/feature/markdown_values 2022-01-03 19:11:10 -05:00
Frank Dellaert 3e768247ef
Merge pull request #999 from borglab/feature/deprecate_in_v42 2022-01-03 14:16:40 -05:00
Varun Agrawal a119eb8e59
Merge pull request #1003 from borglab/fix/change-local-plane-factor-to-shared-noise-model 2022-01-03 09:31:59 -05:00
David Wisth 25c82c9878 change a couple of variables to const 2022-01-03 16:41:21 +11:00
David Wisth c86e42e8a1 fix constructor documentation 2022-01-03 16:41:04 +11:00
David Wisth b166985a82 remove unnessecary constructor - use default arguments instead 2022-01-03 16:40:48 +11:00
David Wisth 2151fd3852 change from SharedGaussian to SharedNoiseModel 2022-01-03 16:06:11 +11:00
David Wisth 6af7c3ac29 fix destructor virtual keyword 2022-01-03 16:05:58 +11:00
Frank Dellaert 88c79a2a56 Fixed some examples 2022-01-02 22:48:55 -05:00
Frank Dellaert 8eb623b58f Added an optional names argument for discrete markdown renderers 2022-01-02 21:34:22 -05:00
Frank Dellaert 6d0c55901c Global replace to V42 2022-01-02 15:49:47 -05:00
Frank Dellaert 9518346161 Fix unstable c++ examples 2022-01-02 14:59:28 -05:00
Frank Dellaert 55f31ab2d7 Revive BetweenFactorEM, without LieVector 2022-01-02 14:38:20 -05:00
Frank Dellaert 340ac7569d Removed 2 and 3 key constructors for DecisionTreeFactor because wrapper is awesome! 2021-12-28 13:00:14 -05:00
Frank Dellaert 38f0a40fbc Fix markdown names (that somehow reverted) 2021-12-25 10:46:49 -05:00
Frank Dellaert 042cb9d902 markdown for DiscreteFactorGraph 2021-12-24 13:27:02 -05:00
Varun Agrawal d42044f22e initialize all EmptyCal shared pointers 2021-12-20 21:19:54 -05:00
lcarlone 39286f6672 added clone to play well with gnc 2021-12-19 10:41:07 -05:00
Frank Dellaert e89a294376 Use DiscreteValues everywhere 2021-12-13 13:46:53 -05:00
Varun Agrawal 3615c4b5ac
Merge pull request #956 from borglab/fix/compiler-warnings-posetopointfactor 2021-12-09 09:37:40 -05:00
Varun Agrawal b47f46a6f5
Windows Fixes (#904) 2021-12-09 09:37:21 -05:00
David Wisth 45d5328457 remove "virtual" keyword for functions with "override" 2021-12-08 21:12:46 +00:00