Frank Dellaert
fdf53b62c6
Got rid or ifdefed many boost headers
2023-02-05 20:45:54 -08:00
kartik arcot
a5b6968cbf
serialization function comment moved
2023-01-22 22:14:28 -08:00
kartik arcot
4b235103cf
ifdefs for gtsam folder on serialize
2023-01-22 22:12:16 -08:00
kartik arcot
703cb5cbc7
remove make_shared header
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
Toni
7f80c906c4
Fix override warnings: modernize-use-override
2021-01-28 23:02:13 -05:00
Fan Jiang
d0724a77bb
Backport GitHub Actions CI ( #259 )
...
* Add GitHub Actions
* Add Windows Check
* Fix wrong os selection
* Add XCode version
* Upgrade GCC Version
* Make GCC match Ubuntu name
* Do not fail everyone when one failed
* More checks on ccache
* Do not expose GenericValue on Windows
* Fix BetweenFactor for Windows
* Update
* Add Python CI
* Typo
* Add note about GENERICVALUE_VISIBILITY
* Fix Windows Boost
* Change substitution scheme to PowerShell
* Fix the spurious error of the Point3 default constructor
* Separate builds to allow easier restarts
* Fix uninitialized variable usage
* Change of policy, only build python stuff, mac and win on PRs
* Further separate the Python tests
2020-08-15 11:52:00 -04:00
Varun Agrawal
720a313a9d
remove virtual
2020-07-31 19:37:02 -05:00
Varun Agrawal
4756f7359d
use \n instead of endl
2020-07-28 09:12:13 -05:00
Varun Agrawal
9bb07851c3
Merge branch 'develop' into feature/values-print
2020-07-28 08:59:35 -05:00
Jose Luis Blanco Claraco
c9fb096002
Add genericValue() helper
2020-07-28 06:51:59 +02: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
Varun Agrawal
b8f9ab1d87
nicer formatting when printing values
2020-07-21 18:41:14 -05:00
Fan Jiang
fb21c553a0
Switch to the new alignment marker type
2020-06-24 17:15:00 -04: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
Varun Agrawal
95e7eea4b7
Demangle the type when printing
2020-05-18 02:19:54 -04:00
Fan Jiang
4f37ad3057
Change to normal allocator
2019-12-13 10:00:07 -05:00
dellaert
70e2534cc2
Restored assignment
2018-12-22 18:07:22 -05:00
Frank Dellaert
94010aee9d
Removed redundant (and troublesome on Windows) assignment.
2018-12-22 17:10:25 -05:00
Chris Beall
63d7d7c54b
Attempt to fix GenericValue assignment operator for windows
2018-12-18 10:38:27 -08:00
Frank Dellaert
fd1b09df53
Merge remote-tracking branch 'origin/fix/alignment' into fix/msvc2017
2018-11-06 00:31:09 -05:00
Frank Dellaert
3c4aadc712
Use allocate_shared rather than make_shared to make sure alignment is good
2018-11-06 00:30:18 -05:00
Frank Dellaert
d7ca186269
Straightforward conditional aligned new operator
2018-11-02 23:29:52 -04:00
Frank Dellaert
9b7f80f25c
GenericValue stores a T. So, it potentially has to be aligned. We check this requirement and call Eigen's aligning operator if so.
2018-10-23 22:51:44 -04:00
Frank Dellaert
f8793f49ff
Merge branch 'develop' into fix/msvc2017
2018-10-22 19:11:21 -04:00
chrisbeall
5cc5c82b26
-Add virtual destructor to PreintegratedRotationParams
...
-Add namespace so GTSAM_VALUE_EXPORT macro can be used in projects outside of gtsam
2017-05-22 18:11:35 -04:00
Jing Dong
6a5beab4d4
fixing compile issue on vc++14
2017-05-16 17:42:30 -07:00
chrisbeall
efd966b45a
Move print methods to cpp files wherever possible
2016-11-01 15:11:57 -04:00
=
ab1f6562c8
Fixes compile errors when using BOOST version 1.61.0
2016-08-06 00:59:07 -04:00
Frank Dellaert
7e50b2d070
Testable traits
2015-07-11 13:22:52 -07:00
Thomas Schneider
ebf5746987
Fix some serialization warnings.
2015-03-06 16:12:09 +01:00
alexhagiopol
7dca1d76a5
More reductions in included lines.
2015-02-20 17:09:17 -05:00
dellaert
b6a7dc0530
Now print type along with value
2014-12-30 18:32:03 +01:00
dellaert
e5017984a1
traits_x -> traits
2014-12-26 16:47:51 +01:00
dellaert
8f56e9a261
Small refactor
2014-12-23 14:56:48 +01:00
Mike Bosse
52ec4f0784
fixed serialization tests
2014-12-23 12:35:49 +01:00
dellaert
31b2a92b66
Missing header
2014-12-21 22:02:13 +01:00
Paul Furgale
a8bd7281f3
Moving away from fixed-size matrices
2014-12-15 15:00:48 +01:00
Paul Furgale
7f7c181945
Replaced ChartValue with GenericValue. Now at the point where we are bumping up against missing Jacobians in gtsam types. It feels like progress.
2014-12-14 12:13:59 +01:00
Andrew Melim
77bc615424
Fix issue regarding windows compilation of generic values specialization of eigen matrix
2014-11-12 14:34:27 -05:00
dellaert
97a8618614
equals and print have to be function objects to do partial specialization to double and Eigen::Matrix.
2014-11-03 11:16:38 +01:00
dellaert
329e7f1383
Comments, formatting, some TODO questions
2014-11-03 09:55:53 +01:00
Paul Furgale
15ab2b27bc
Fixed one unit test
2014-11-01 11:47:56 +01:00
Mike Bosse
5e51745b86
debugging serialization of ChartValues
2014-10-31 14:21:02 +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
0681212084
GenericValue based on defined traits to replace DerivedValue, first implementation
2014-10-24 16:59:37 +02:00
Mike Bosse
95827dd4d8
GenericValue.h copied from DerivedValue.h
2014-10-24 11:27:38 +02:00