Commit Graph

910 Commits (release/4.3a0)

Author SHA1 Message Date
kartik arcot 1f833a0bc3 nonlinear 2023-01-21 09:27:20 -08:00
kartik arcot d338a7086b slam folder. serialize std::optional 2023-01-21 09:27:20 -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
kartik arcot 200aa13701 return before using statement 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 43b5ed78de both boost and ptr version compile. ptr version tests failt 2023-01-20 18:06:55 -08:00
kartik arcot ce02873140 everything compiles but tests fail in no boost mode 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
Frank Dellaert 69398d0e60 Fix dogleg unit test (gbn error != linearized error anymore) 2023-01-10 13:50:37 -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
Frank Dellaert 9b5321ce03 Remove unused boost::assign headers 2023-01-07 23:58:35 -08:00
Frank Dellaert 017cd8f8a2 Got rid of boost::assign in many tests 2023-01-07 15:43:17 -08:00
Gerry Chen 69226edd81
Move `X1-6` aliases into `NoiseModelFactorN` and un-deprecate 2023-01-04 22:49:57 -05:00
Gerry Chen a3e314f3f7
suppress warnings in backwards compatibility unit tests 2022-12-22 23:56:46 -05:00
Gerry Chen 885eed33d1
replace all NoiseModelFactor1, 2, ... with NoiseModelFactorN 2022-12-22 17:25:48 -05:00
Gerry Chen 2a7efc729a
Merge branch 'develop' into feature/NoiseModelFactorN_replaceDeprecated 2022-12-22 14:38:08 -05:00
Gerry Chen 19215aff98
update and fix unit tests 2022-12-22 14:29:38 -05:00
Gerry Chen 4b93970b34
Change backwards-compatibility defs to utilize new style 2022-12-22 14:29:15 -05:00
Gerry Chen e8ddbbebff
Check type of CONTAINER constructor tparam
This is a byproduct of the overload resolution problem when N=1, then it can be hard to differentiate between:
NoiseModelFactorN(noise, key)
NoiseModelFactorN(noise, {key})
2022-12-19 20:14:12 -05:00
Gerry Chen b24511fb18
address review comments 2022-12-19 18:49:20 -05:00
Gerry Chen 0ebc6e881d
Change `X<N>` to `ValueType<N>` and `VALUES` -> `ValueTypes` 2022-12-19 18:06:34 -05:00
Gerry Chen 63950b952b
Revert "fix namespace collision with symbol_shorthand::X in unit test"
This reverts commit d62033a856.
2022-12-19 17:41:21 -05:00
Nikhil Khedekar 8184179008 Added test for normalize 2022-11-17 17:59:59 +01:00
Varun Agrawal 0f53b3f892
Merge pull request #1238 from borglab/fix/1182
Capitalize Identity trait
2022-08-21 09:05:21 -04:00
Varun Agrawal 1d51c4e646 Use new GncParams::IndexVector 2022-07-26 07:54:05 -04:00
Gerry Chen 2ea97fb981
Merge branch 'develop' into feature/NoiseModelFactorN_test 2022-07-19 14:57:44 -04:00
Varun Agrawal c31298d367 Capitalize Identity trait since it is static 2022-07-07 12:31:27 -04:00
Fan Jiang caf659f68c
Merge pull request #1161 from borglab/fix/robust_loss_factor
FIX: Robust loss error calculation
2022-06-30 21:44:17 -07:00
Akshay Krishnan 5ec6127c0b add unit test, update doc 2022-06-18 11:35:46 -07:00
Akshay Krishnan 3a81d42d2c
Merge branch 'develop' into ta-add-methods 2022-05-09 22:49:34 -07:00
Akshay Krishnan 230bb8eb11 move relativeTranslations to run() 2022-05-07 18:15:44 -07:00
Akshay Krishnan e517c34464 move betweenTranslations outside params 2022-05-07 09:12:56 -07:00
Akshay Krishnan 1d6fd5409a change to input params, add docstring 2022-05-05 18:40:58 -07:00
Varun Agrawal 0cfeb8621c fix tests and remove additional keyformatter calls 2022-05-05 14:35:10 -04:00
Akshay Krishnan 3ea19f4bd0 add additional methods to TA + wrapper 2022-04-23 19:08:16 +05:30
Gerry Chen 8ae8c7ac52 Merge branch 'develop' into feature/NoiseModelFactorN
#1102 correctly removed "GTSAM_EXPORT" from NoiseModelFactorX
2022-04-21 15:52:35 -04: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
Fan Jiang 215682e64f
FIX: Robust loss error calculation 2022-04-07 21:33:54 -04:00
Akshay Krishnan 9f855f44f4
Merge branch 'develop' into ta-seed 2022-03-01 08:09:32 -08:00
Akshay Krishnan 93519e4cca updating tolerance in tests 2022-02-24 23:22:05 -08:00
Varun Agrawal d5a3a22515
Merge pull request #1115 from borglab/cmake-fixes 2022-02-21 11:54:54 -05:00
Varun Agrawal 3f4decb77b fix incorrect filename warning 2022-02-21 08:00:15 -05:00
Frank Dellaert 686e16aaae
Merge pull request #1085 from yunzc/feature/gnc_base_params
correctly parse optimizer params for base optimizer in gnc
2022-02-18 22:03:50 -05:00
lcarlone 31e1a713fc added unit test on params 2022-02-18 20:23:45 -05:00
Andre Nguyen ac9eed6444
fix: typo 2022-02-17 23:21:57 -05:00
Frank Dellaert bac5d4f120 Fix serialization class name 2022-02-16 20:59:26 -05:00
Frank Dellaert bd487ac1f6
add using... 2022-02-16 16:12:47 -05:00
Frank Dellaert 63b643e0bf rename again 2022-02-16 15:16:05 -05:00
Frank Dellaert d2f8041e13 rename 2022-02-16 15:15:29 -05:00
Frank Dellaert 311325cc2f Fixed another serialization clash 2022-02-16 14:06:58 -05:00
Grady Williams 0f951643bd Adding failing tests for ISAM2 marginalization 2022-02-15 15:45:14 -08:00
Frank Dellaert 325613fc8e Fix test that used FromMeandAndStddev 2022-02-06 20:48:07 -05:00
Frank Dellaert 9dfe52d0b6 Made reading static named constructors 2022-01-31 13:43:41 -05:00
Frank Dellaert 762e8097bb nr -> number 2022-01-31 12:46:42 -05:00
Frank Dellaert 3d51989f2e Deprecated incorrectly named methods 2022-01-31 08:32:44 -05:00
Gerry Chen d62033a856
fix namespace collision with symbol_shorthand::X in unit test 2022-01-30 17:38:42 -05:00
Gerry Chen 3addc8dfff
Merge branch 'develop' into feature/NoiseModelFactorN 2022-01-30 16:26:30 -05:00
Frank Dellaert a2caa0caf7
Merge pull request #1010 from borglab/feature/subgraph_refactor
Subgraph API change
2022-01-21 20:59:38 -05:00
Frank Dellaert 640a3b82ef Use key formatter for dot 2022-01-19 17:24:12 -05:00
Frank Dellaert 75dff3272b Fix unit tests after default changed 2022-01-19 12:32:22 -05:00
Varun Agrawal 3c804d89b5 add better tests for probPrime and add a fix 2022-01-12 16:50:10 -05:00
Frank Dellaert 910f879a0b Fix compilation issues 2021-12-30 12:18:49 -05:00
Frank Dellaert c659336cf8 Removed shared_ptr from Bayes nets and factor graphs 2021-12-30 12:12:54 -05:00
Frank Dellaert cab0dd0fa1 GraphvizFormatting refactor
- separate file
- inherit from DotWriter
- made dot/dot/saveGraph the pattern
- deprecated saveGraph(ostream) method
2021-12-20 00:27:40 -05:00
Gerry Chen ba3cc85701
avoid inheritance by conditionally defining backwards compatibility types/funcs in NoiseModelFactorN 2021-12-03 06:17:14 -05:00
Gerry Chen 8fe7e48258
backward compatibility unit tests for NoiseModelFactor4 2021-12-03 00:46:23 -05:00
Gerry Chen 2aecaf3258
optional jacobian overloads backwards compatibility 2021-12-03 00:39:10 -05:00
Gerry Chen 81f1d93158
NoiseModelFactorN - fixed-number of variables >6 2021-12-01 16:04:49 -05:00
Frank Dellaert 613b161fd2
Merge pull request #188 from michaelbosse/fix_bug_robust_residuals 2021-11-30 15:06:21 -05:00
Jose Luis Blanco Claraco 582f6914cd
more extra semicolon warnings fixed 2021-11-08 23:07:05 +01:00
Varun Agrawal 27143fc724 Add tests for Lie::interpolate jacobians 2021-10-25 17:15:18 -04:00
Jose Luis Blanco Claraco de68189559
Merge branch 'develop' into refactor/ExpressionTests 2021-07-19 11:56:58 +02:00
Varun Agrawal d5890a2d61 update all the tests 2021-07-10 21:03:15 -04:00
acxz 650e432f52 update boost::bind usage
use <boost/bind/bind.hpp> instead of deprecated <boost/bind.hpp>

use boost::placeholders:: scope in appropriate files

remove and add <boost/bind/bind.hpp> in appropriate files
2021-06-16 00:56:43 -04:00
Jose Luis Blanco Claraco 2827584f69
add expressions for cross() and dot() 2021-06-11 09:41:26 +02:00
yetongumich 0fe12ec984 resolve some nits 2021-05-12 16:57:27 -04:00
yetongumich a637737d5e refactor tests and add comments 2021-05-12 15:36:12 -04:00
lcarlone d6a3171e67 user can now also set the weights to initialize gnc! 2021-05-10 20:06:31 -04:00
lcarlone 5274abafd0 all tests done! 2021-05-10 18:23:12 -04:00
lcarlone 3ac97c3dbe adding knownOutlier input to GNC 2021-05-10 10:30:32 -04:00
akrishnan86 759dcaa1dd formatting changes 2021-03-05 00:06:30 -08:00
Akshay Krishnan a2f99ac71c unit test + fix segfault 2021-03-05 07:21:38 +00:00
Frank Dellaert 8261326e78
Merge pull request #684 from borglab/feature/gncImprovements
changed barcsq to a vector to allow each factor to have a different inlier threshold
2021-02-03 13:44:21 -05:00
Toni 7f80c906c4 Fix override warnings: modernize-use-override 2021-01-28 23:02:13 -05:00
lcarlone a59a12245c done with new default noise thresholds! 2021-01-22 23:24:28 -05:00
lcarlone 28b0f0ac8e working unit tests: added chi2 2021-01-22 22:27:47 -05:00
lcarlone be86b9b5d7 changed barcsq to be a vector, such that the user can provide a bound for each factor 2021-01-22 21:04:28 -05:00
Varun Agrawal 06d8ec289d
Merge pull request #633 from borglab/fix/foot-imu
Adds unit test for imu preintegration of a single step
2021-01-19 21:03:10 -05:00
Varun Agrawal 7eeed6dc14 remove cout statements from testImuPreintegration tests 2021-01-19 15:47:44 -05:00
Russell Buchanan 07244bbdea merge with upstream 2021-01-19 10:54:52 +00:00
Russell Buchanan bb662f0cb4 clean up 2021-01-19 10:49:42 +00:00
Varun Agrawal 6e46b72742 add unit test for NonlinearFactor weight with different noise models 2021-01-06 11:46:49 -05:00
lucacarlone 90e22cf0dd
Merge pull request #617 from borglab/gnc
Gnc
2021-01-04 10:04:59 -05:00