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
Frank Dellaert
8440939f27
Using symbol_shorthand instead of redundant kx, kl functions
2012-06-02 19:28:21 +00:00
Frank Dellaert
a2512475c9
Symbol.h is now included just in time, no longer by default everywhere.
2012-06-02 19:05:38 +00:00
Frank Dellaert
5160c2eb50
Significant API change in slam (GTSAM 2.0.1 or 2.1): to eliminate confusion and give the user more freedom in creating their own Keys, the different slam variants no longer create Symbol keys themselves. Instead, all interaction is done via Keys (which are just unordered, unsigned ints). All PoseSLAM unit tests and examples now just use sequential keys. However, a user can still create Keys using the Symbol constructor, which is illustrated in the landmark-based unit tests and examples.
2012-06-02 16:18:40 +00:00
Alex Cunningham
2bd7a0ed43
Added generic re-key function to nonlinear factor
2012-05-21 20:54:42 +00:00
Alex Cunningham
54f6f3629c
Added clone() functionality to nonlinear factors
2012-05-21 20:54:40 +00:00
Richard Roberts
1d0aaacbd6
Removed use of GTSAM_MAGIC_KEY for constructing Symbols from strings
2012-02-22 23:38:09 +00:00
Richard Roberts
a3797e3cdb
Int keys with formatter objects, all unit tests pass
2012-02-21 00:53:35 +00:00
Richard Roberts
0a81c4e57a
Renamed NonlinearFactor[1-6] to NoiseModelFactor[1-6]
2012-02-20 21:52:47 +00:00
Richard Roberts
3d40f5e6fc
All unit tests pass with TypedSymbol removed
2012-02-07 04:58:11 +00:00
Richard Roberts
2f7f535f34
All unit tests pass with nonlinear factors templated on value instead of key
2012-02-07 04:02:20 +00:00