Varun Agrawal
c86010d874
Add new assertions and update tests
2020-11-15 18:15:52 -05:00
Varun Agrawal
ca88ac568b
fixed tests
2020-07-28 15:57:15 -05:00
Jose Luis Blanco Claraco
77c8c3bf0b
Values initializer_list constructor
2020-07-28 07:03:36 +02:00
Varun Agrawal
d05279ee5e
updated demangle code to not use unique_ptr, support for Windows, and a simple test
2020-05-18 16:39:03 -05:00
Duy-Nguyen Ta
1cdc228d6a
remove trailing spaces
2019-02-11 10:58:34 -05:00
dellaert
e2363e90bd
Fixed issue with 'count'
2018-12-22 18:07:00 -05:00
Frank Dellaert
617040f503
count method (better than filter, then size).
2018-12-22 17:09:14 -05:00
dellaert
79fe89eaa9
Switched to using c++11 braces-style initialization
2018-11-08 17:26:09 -05:00
Abe
fbe9aac41c
squash local changes on top of gtsam upstream pull from 6/14/2016
2016-06-18 23:13:59 -07:00
yao
a0661b3813
Almost done. Still need to figure out how to remove the remaining 3 occurrences.
2016-05-21 12:44:46 -04:00
Frank Dellaert
8826666224
Temporarily reverted maximum interoperability with MATLAB as it very much slowed down Values with losts of fixed Vectors on the C++ side
2016-05-09 13:48:59 -07:00
Duy-Nguyen Ta
5f396856f3
Merge remote-tracking branch 'origin/feature/FixFixedValues' into feature/Feature/FixedValues
...
Conflicts:
gtsam/nonlinear/Values-inl.h
2015-10-24 10:08:53 -04:00
dellaert
63ca5dcfb0
Merge remote-tracking branch 'origin/develop' into feature/Feature/FixedValues
...
Conflicts:
.cproject
examples/Pose2SLAMExample_graph.cpp
examples/SFMExample_SmartFactor.cpp
examples/SFMExample_SmartFactorPCG.cpp
gtsam.h
gtsam/geometry/CameraSet.h
gtsam/geometry/StereoCamera.cpp
gtsam/geometry/StereoCamera.h
gtsam/geometry/tests/testCameraSet.cpp
gtsam/linear/RegularJacobianFactor.h
gtsam/linear/tests/testRegularJacobianFactor.cpp
gtsam/nonlinear/ExpressionFactor.h
gtsam/nonlinear/expressions.h
gtsam/slam/JacobianFactorQR.h
gtsam/slam/JacobianSchurFactor.h
gtsam/slam/RegularHessianFactor.h
gtsam/slam/RegularImplicitSchurFactor.h
gtsam/slam/SmartFactorBase.h
gtsam/slam/SmartProjectionFactor.h
gtsam/slam/SmartProjectionPoseFactor.h
gtsam/slam/tests/testRegularHessianFactor.cpp
gtsam/slam/tests/testRegularImplicitSchurFactor.cpp
gtsam/slam/tests/testSmartFactorBase.cpp
gtsam/slam/tests/testSmartProjectionPoseFactor.cpp
gtsam_unstable/examples/SmartProjectionFactorExample.cpp
gtsam_unstable/examples/SmartStereoProjectionFactorExample.cpp
gtsam_unstable/slam/SmartStereoProjectionFactor.h
gtsam_unstable/slam/SmartStereoProjectionPoseFactor.h
gtsam_unstable/slam/tests/testSmartStereoProjectionPoseFactor.cpp
2015-08-31 21:06:37 -07:00
cbeall3
0e022b3b33
Values::keys now returns KeyVector instead of list. Corresponding fixes in Matlab wrapper.
2015-06-24 00:35:32 -04:00
Jing Dong
e1faf8874e
try to fix FixedValues branch by wrap all Eigen type in Dynamic size in Values, since fixed size Eigen type cannot read out by GenericValue if size is not explictly given
2015-04-05 18:24:17 -04:00
Jing Dong
9755b95e89
looking at fix Values of FixedInsertDynamicRead
2015-04-04 17:13:58 -04:00
dellaert
c7298da4fc
Removed all fixed hacks - replaced it with possibly something worse (no reference returned from at)
2015-01-19 20:38:24 +01:00
dellaert
e5017984a1
traits_x -> traits
2014-12-26 16:47:51 +01:00
dellaert
00b374c9e9
Merge remote-tracking branch 'origin/develop' into feature/tighteningTraits
...
Conflicts:
gtsam/base/LieScalar.h
gtsam/geometry/Point2.h
2014-12-21 14:39:23 +01:00
Mike Bosse
6e5dbcf2a3
flushing out more compilation errors in tests
2014-12-20 11:54:08 +01:00
Paul Furgale
a8bd7281f3
Moving away from fixed-size matrices
2014-12-15 15:00:48 +01:00
dellaert
22218eafc4
We will not wrap fixed Vectors and Matrices individually. Methods that take those can just as well be wrapped with Vector or Matrix. Note const and & are ignored for those. I added a small method, insertFixed, that allows one to put in small fixed size matrices for optimization. Did not do retrieval yet.
2014-12-10 10:45:22 +01:00
dellaert
63918ff7de
Now dynamically sized matrices live in manifolds, too.
2014-11-29 15:06:26 +01:00
Richard Roberts
f9ca07e610
Converted Vector(2|3) << ... to Vector2(...) or Vector3(...) syntax
2014-11-23 10:22:25 -08:00
Richard Roberts
aa093a35da
Updated all comma initializer usages to use .finished()
2014-11-22 16:35:27 -08:00
Jing Dong
290f0ab8a4
propose patch to fix Values constructor from ConstFiltered, and unit tests
2014-11-19 13:29:38 -05:00
dellaert
b5327673fb
Get rid of LieVector
2014-11-03 11:02:15 +01:00
dellaert
492c607f9e
No more Lie types
2014-11-03 09:27:40 +01:00
gawela
2788ec7f33
removed std::type_traits which is c++11
2014-10-29 10:23:13 +01:00
Mike Bosse
82f6ed5ca8
inserted spaces after commas
2014-10-28 14:15:34 +01:00
Mike Bosse
bc094951ed
all values in Values container are now a ChartValue<ValueType, Chart=DefaultChart<ValueType> >
...
ChartValues are GenericValues and a Chart, which defaults to DefaultChart
had to make charts functional (ie no storage of the chart origin) so that they could be zero sized base class
otherwise there would have been a double of the memory for values (ones for the value, and once for the chart origin, which default to the same)
most tests work, execept for serialization based stuff, and const filtering of values.
2014-10-28 00:57:44 +01:00
Mike Bosse
9ef8980362
using static_cast in GenericValue's virtual functions
...
should be more efficient, but perhaps will crash instead of throwing an exception when the Value& derived class doesn't match.
2014-10-25 22:23:26 +02:00
Mike Bosse
c2cdd21a7a
added cast<ValueType> function to Value
2014-10-25 12:18:12 +02:00
Mike Bosse
4a3dc51f85
more tests work, except for serialization based tests
2014-10-24 23:47:02 +02:00
Mike Bosse
1fadda83e0
removed DerivedValue<> inheritence from classes
2014-10-24 18:34:06 +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
ffd439d89a
Added unit tests for Values::find, lower_bound, and upper_bound
2014-01-07 17:34:00 -05:00
Richard Roberts
880d9a8e3c
Switched to new Eigen built-in special comma initializer
2013-12-16 21:33:12 +00:00
Richard Roberts
b7fb8429bb
Fixed some warnings
2013-11-21 15:09:46 +00:00
Richard Roberts
3c33e44c46
Fixed compile errors on windows
2013-10-29 04:24:14 +00:00
Jing Dong
a71c258100
Fix Vector_() to Vec() in gtsam/nonlinear
2013-10-21 05:20:30 +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
09643929fd
Making some tests compile
2013-08-05 22:31:26 +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
Richard Roberts
cc08659f7b
Disabled print statements in unit test
2013-01-08 23:31:54 +00:00
Chris Beall
4297d24c96
changed tabs to spaces for consistent indentation in all of GTSAM
2012-10-02 14:40:07 +00:00
Alex Cunningham
12290dc7b2
Added linearization points to LinearContainerFactor. Fixed bug with localCoordinates() in Values
2012-08-27 01:11:37 +00:00
Richard Roberts
4a57ef65d7
Fixed memory leak when a Value contained heap-allocated data (Matrix, Vector, etc) - incorrect syntax when calling destructor did not do a virtual call so derived Value object was not cleaned up.
2012-08-17 03:45:35 +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