Commit Graph

11860 Commits (94bb08ed34ab87e55f88f88f71dafb3c975daab8)

Author SHA1 Message Date
Varun Agrawal 1679d1822d
Merge pull request #376 from borglab/fix/msvc-missing-export
Fix missing DLL exported symbol
2020-07-06 21:52:39 -04:00
Varun Agrawal 30ffcdd137 Simplified FunctorizedFactor
By adding the helper function MakeFunctorizedFactor, we now only need to provide the argument type in the template parameter list. This considerably simplifies the factor declaration, while removing the need for argument type and return type in the functor definition.

Also added tests for std::function and lambda functions.
2020-07-06 21:48:51 -04:00
Fan Jiang fd01bfce15
Merge pull request #373 from borglab/fix/expression_leak
Fix memory leak in Expressions
2020-07-06 17:59:03 -04:00
Varun Agrawal 7d0e440293 new definition for FunctorizedFactor to allow for using std::function and lambdas 2020-07-06 17:38:34 -04:00
Jose Luis Blanco-Claraco 3c5f8711ca Fix missing DLL exported symbol 2020-07-06 20:07:18 +02:00
Fan Jiang 1e2c29fac8 Merge remote-tracking branch 'origin/develop' into fix/expression_leak 2020-07-06 09:52:15 -04:00
Fan Jiang 6eb1230685
Merge pull request #374 from borglab/fix/translationfactor_normalize
Fix TranslationFactor with Vector3 as Point3
2020-07-06 09:51:13 -04:00
Jose Luis Blanco-Claraco f9b4bc4357
Merge pull request #375 from borglab/fix/msvc_appveyor
Fix MSVC Build in AppVeyor
2020-07-06 07:56:37 +02:00
Fan Jiang df687e5abf Fix MSVC build 2020-07-05 21:28:52 -04:00
Fan Jiang 258d05c9ef Fix TranslationFactor with Vector3 as Point3 2020-07-05 11:22:35 -04:00
Fan Jiang 564d2c5873 Fix memory leak in Expressions 2020-07-05 10:19:05 -04:00
Varun Agrawal dde41ebf05
Merge pull request #371 from borglab/feature/quiet-python-tests
Capture stdout in python test
2020-07-03 20:41:52 -04:00
Varun Agrawal 52da4580fb make utils and test code python2 compliant 2020-07-01 18:52:02 -05:00
Varun Agrawal 83cbcd0bea capture stdout in python test [only for python3] 2020-06-30 13:13:04 -05:00
Akshay Krishnan 7c53235fdb
Merge pull request #367 from borglab/feature/1dsfm
Translation averaging
2020-06-30 08:17:48 -07:00
akrishnan86 0e6dc6a016 Merge branch 'develop' of github.com:borglab/gtsam into feature/1dsfm 2020-06-29 20:05:56 -07:00
akrishnan86 9d9c30e5dc review1 changes 2020-06-28 11:03:38 -07:00
Fan Jiang 8739c372fb Merge remote-tracking branch 'origin/develop' into feature/frobeniusfactor 2020-06-27 01:26:53 -04:00
Varun Agrawal 8ebd7f7f54
Merge pull request #370 from borglab/feature/minor-updates
Minor Updates
2020-06-25 14:10:01 -05:00
Fan Jiang a453d7b549
Merge pull request #363 from borglab/feature/aligned_makeshared
[v2] Fix all alignment issues when using make_shared
2020-06-25 12:20:08 -04:00
Varun Agrawal c8583e921a Revert "added .gitignore for when building the sample cmake projects"
This reverts commit 350808d9dc.
2020-06-25 10:28:59 -05:00
akrishnan86 fee226a1de fix SfmData naming 2020-06-24 22:43:55 -07:00
Fan Jiang 17568e6779 Add missing lf 2020-06-25 00:14:21 -04:00
Varun Agrawal 350808d9dc added .gitignore for when building the sample cmake projects 2020-06-24 19:27:45 -05:00
Varun Agrawal 7f1384b0f2 wrap the biasHat function for PreintegratedMeasurement 2020-06-24 19:25:56 -05:00
Varun Agrawal a4ef531a32 print Eigen Unsupported status message correctly 2020-06-24 19:23:37 -05:00
Varun Agrawal 34180fb816
Merge pull request #343 from borglab/fix/serializationToFile
SerializeToXMLFile fix
2020-06-24 19:07:35 -05:00
Fan Jiang fb21c553a0 Switch to the new alignment marker type 2020-06-24 17:15:00 -04:00
Fan Jiang 6dbd7c243a Add comments 2020-06-24 16:25:46 -04:00
Gerry Chen b37be7d640 rename serialization functions with less ambiguous names
According to Varun's suggestion.
Note: string functions should be automatically inlined by compiler to avoid passing big strings.
2020-06-24 14:33:08 -04:00
Gerry Chen 6d75e992e8 serialization docstrings 2020-06-24 14:16:00 -04:00
Fan Jiang 7d7475b881 Style fixes as commented by @dellaert 2020-06-24 14:15:46 -04:00
Varun Agrawal ce73b51124
Merge pull request #359 from dwisth/feature/PoseToPointFactor
Add Pose3-Point3 factor
2020-06-24 11:00:23 -05:00
Gerry Chen de7332fcea remove file roundtrip test for pointers 2020-06-24 02:39:44 -04:00
David 7eab8c11f2 Merge branch 'develop' into feature/PoseToPointFactor 2020-06-24 14:15:33 +10:00
Varun Agrawal 1c9f429d9c Merge branch 'develop' into feature/frobeniusfactor 2020-06-23 23:47:50 -04:00
Varun Agrawal f7dfff0f95
Merge pull request #364 from borglab/feature/cmake-cython-path
Export Cython Install Path
2020-06-23 22:42:24 -05:00
Varun Agrawal 890d631e60 Merge branch 'develop' into fix/serializationToFile 2020-06-23 23:41:19 -04:00
Fan Jiang 9561244b39 Merge remote-tracking branch 'origin/develop' into feature/aligned_makeshared 2020-06-23 18:37:25 -04:00
Fan Jiang b41809203f Revise comments 2020-06-23 18:37:12 -04:00
Varun Agrawal 2c20c1108d Merge branch 'develop' into feature/cmake-cython-path 2020-06-23 16:31:21 -05:00
Varun Agrawal 9daeb39267
Set minimum supported numpy version to 1.11.0 (#366)
* add deadsnakes ppa to install python3.6 on Ubuntu Xenial

* updated travis distro to Ubuntu 18.04 bionic

* Revert "updated travis distro to Ubuntu 18.04 bionic"

This reverts commit 323264a924e8554da49c27a374e9a6278c5a659e.

* restrict numpy version to be less than 1.19.0

* use ubuntu packaged numpy as baseline version to test against

* downgrade minimum required version of numpy to version supported by Ubuntu Xenial

* undo explicit pip install
2020-06-23 16:08:44 -05:00
akrishnan86 3ea9ff0120 optional initialization for LMParams 2020-06-23 07:58:38 -07:00
Gerry Chen a0a3b8f459 reset filesystem - forgot to uncomment these after debugging 2020-06-23 09:52:29 -04:00
Gerry Chen 82db82bbf5 fixed unit test failure on `testSerializationBase`
object `output` was getting reused, but should be re-loaded into a "blank" object each time.
2020-06-22 23:08:39 -04:00
Gerry Chen a4737d4706 formatting to Google style 2020-06-22 21:18:43 -04:00
Gerry Chen 327cbc515f Separate stream creation and serialization
Recommended by @ProfFan in #343 with the objective of making
(de)serialize to string and to file more similar
2020-06-22 21:15:07 -04:00
Gerry Chen a796f74b80 use boost paths append to have platform agnostic path separators 2020-06-22 20:25:10 -04:00
Varun Agrawal 263a1d2afa export cython install path so it can be picked up by other cmake projects 2020-06-22 16:47:37 -05:00
Fan Jiang 8f923fa081 Move away from boost 2020-06-22 15:24:14 -04:00