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
Varun Agrawal
e08e392020
Improved paths and added checks
2020-07-05 21:57:18 -05: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
cb151dd9ee
update python build location in travis script
2020-07-04 20:42:15 -04:00
Varun Agrawal
54cc49d880
Merge branch 'develop' into feature/docker
2020-07-04 20:24:58 -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
d2f69eeab4
Add python-install dependency for gtsam_unstable as well
2020-07-01 17:07:31 -05:00
Varun Agrawal
a6908cd1cb
removed unneeded install commands and updated README
2020-07-01 16:23:24 -05:00
Varun Agrawal
59968fddc5
Python Wrapper CMake update
...
- Added python-install target variable for easy updating.
- Fixed/Added all dependencies so that everything is built automatically.
- Removed unnecessary install commands
2020-07-01 14:36:57 -05:00
Varun Agrawal
74591eece6
fixed CYTHON_INSTALL_PATH cmake variable wrt cache
2020-07-01 14:36:16 -05:00
Varun Agrawal
8859b963a2
In-place cython build
...
Build everything inside the build/cython{BuildType} directory directly, so we can bypass the `make install` step and introduce the `make python-install` step which allows cmake to handle all dependencies.
2020-07-01 12:13:53 -05:00
Varun Agrawal
54f2acd521
updated cython wrapper README
2020-06-30 20:57:31 -05:00
Varun Agrawal
7a725bf46a
Remove redundant postfix checking since the postfix is already added at the top level
2020-06-30 20:48:01 -05:00
Varun Agrawal
c84060acea
Use the high level cython variables, improve install process
2020-06-30 20:47:32 -05:00
Varun Agrawal
06476c8ee7
Create and use cython build directory
2020-06-30 20:46:55 -05:00
Varun Agrawal
9cbabb2cb6
Set high level Cython/Eigency variables to reduce duplication
2020-06-30 20:45:55 -05:00
Varun Agrawal
192bf870af
newline added to end of CMake file
2020-06-30 13:16:09 -05:00
Varun Agrawal
83cbcd0bea
capture stdout in python test [only for python3]
2020-06-30 13:13:04 -05:00
Varun Agrawal
55701d552f
Merge branch 'develop' into feature/python-install
2020-06-30 10:53:26 -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
Varun Agrawal
16532bff37
run setup.py after installing the gtsam_eigency module
2020-06-29 21:37:07 -05:00
Varun Agrawal
806e5b12a3
cleaner version of execution script which only needs 'make install'
2020-06-29 19:29:52 -05:00
Varun Agrawal
54c2903183
make python-install command depends on gtsam target
2020-06-29 16:53:42 -05: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
Varun Agrawal
192184b3b7
Specify working directory from where to call setup.py
2020-06-24 18:40:03 -05:00
Varun Agrawal
4f6f821611
Vastly improved setup.py template
2020-06-24 18:39:49 -05:00
Varun Agrawal
453d3a7416
Added cmake variable GTSAM_CYTHON_INSTALL_FULLPATH to include build tag directly
2020-06-24 18:11:24 -05:00
Varun Agrawal
2475e6c68c
Load Cython requirements file instead of reading it in cmake
2020-06-24 17:44:03 -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