Commit Graph

84 Commits (23d28b64dc8f0f4c66022fff06adc2c6a433c6a1)

Author SHA1 Message Date
Varun Agrawal 790e3d515c add templated at methods for FactorGraph so it can perform typecasting for us 2023-10-06 12:34:49 -04: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
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 53d23b96ff added some comments and fixed some formatting 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
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 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
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
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
Varun Agrawal 6e46b72742 add unit test for NonlinearFactor weight with different noise models 2021-01-06 11:46:49 -05:00
lcarlone 5db6894b66 finally I have a way to properly change the noise model! 2020-11-27 18:25:38 -05:00
Jose Luis Blanco Claraco 0198c648e3
Fix all new gcc warnings/errors: make explicit virtual/override methods.
Rules are:
- use "virtual" in base classes only.
- use "override" in all derived classes.
2020-07-26 11:20:42 +02:00
Duy-Nguyen Ta 1cdc228d6a remove trailing spaces 2019-02-11 10:58:34 -05:00
dellaert 79fe89eaa9 Switched to using c++11 braces-style initialization 2018-11-08 17:26:09 -05:00
dellaert d86782eebc Some remaining std::vector stragglers 2018-11-08 12:25:21 -05:00
Alex Hagiopol b6728ef620 Deprecated Vector ones(size_t n). All unit tests pass. 2016-04-15 17:30:54 -04:00
Richard Roberts aa093a35da Updated all comma initializer usages to use .finished() 2014-11-22 16:35:27 -08:00
dellaert c332a44c5e No more LieVector 2014-11-04 15:44:20 +01:00
dellaert b5327673fb Get rid of LieVector 2014-11-03 11:02:15 +01:00
dellaert e46a8b05eb Some mode readable matrix types 2014-10-11 23:06:57 +02:00
jing 96296333ae remove all LieVector(size_t m, ...), which doesn't check parameter's type and it's also dangerous 2014-01-23 18:35:29 -05:00
Richard Roberts 880d9a8e3c Switched to new Eigen built-in special comma initializer 2013-12-16 21:33:12 +00:00
Jing Dong 05467e4774 Fix Matrix_(...) to Mat() <<... in tests 2013-11-13 06:02:35 +00:00
Jing Dong 181881a8d7 Fix Vector_() to Vec() in tests 2013-10-22 03:56:51 +00:00
Alex Cunningham 4b12d6f794 Moved Symbol and LabeledSymbol to inference as they are no longer specific to nonlinear optimization 2013-08-19 15:32:16 +00:00
Richard Roberts 6410205e78 Fixed warnings 2013-08-11 18:18:06 +00:00
Richard Roberts 2d60d2cdfa Fixed more unit tests 2013-08-06 18:04:40 +00:00
Richard Roberts 18b71ef110 Fixed some unit tests 2013-08-06 18:04:37 +00:00
Richard Roberts e39d100b6a Made most global unit tests compile, includes dogleg, iterative, kalman filter, etc 2013-08-06 13:44:22 +00:00
Richard Roberts ede0805fac Global find+replace to remove Ordered 2013-08-05 22:31:44 +00:00
Richard Roberts cb7eb1b510 Find+replace Ordered headers 2013-08-05 22:31:33 +00:00
Richard Roberts 3ade190128 Renamed old classes to "Ordered" and removed "Unordered" name from new classes 2013-07-29 23:55:40 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Richard Roberts 9497a233ce Cleaned up all remaining commented-out unit tests from the old linear rewrite - removed or reenabled as needed. 2012-09-03 18:36:05 +00:00
Duy-Nguyen Ta 6f1ea87a00 clean up noise model: Remove Shared[NoiseModel] classes and headers, typedef for backward compatibility in NoiseModel.h. Fix all tests and examples to create shared noise models through static functions in noise model classes. Fix MATLAB wrapper and examples as well. Add tests for MATLAB examples 2012-06-22 19:36:49 +00:00
Alex Cunningham b602e75a99 Removed the use of the ADD_CLONE_NONLINEAR_FACTOR macro, documented instances of clone() in factors 2012-06-09 21:06:06 +00:00
Alex Cunningham 3d2c3aff05 Moved all Simulated* example domains and smallExample to the tests folder so they are no longer installed 2012-06-09 20:15:44 +00:00