Matthew Broadway
5670c73158
improved cython wrapper python3 support
2019-02-28 09:14:39 +00:00
Jeremy
6a73120cb5
Merge branch 'develop' of bitbucket.org:gtborg/gtsam into fixed-lag-smoother-wrapper
2019-02-27 23:39:28 -05:00
Jeremy
27d47c32bb
Update cmaklists
2019-02-27 23:38:59 -05:00
Jeremy Aguilon
2eee111960
Forgotten docstring
2019-02-27 13:58:40 -05:00
Jeremy Aguilon
1ca14d5164
Add comment
2019-02-27 13:10:00 -05:00
Jeremy Aguilon
5e97efa815
Liner and update Cmakelists
2019-02-27 13:04:38 -05:00
Jeremy
42ac0e589e
Implement unit test
2019-02-27 04:55:15 -05:00
Jeremy
93fd884aa7
Implement and add example
2019-02-27 04:37:02 -05:00
jlblancoc
6723b481a6
fix missing Eigen in Cython wrapper
2019-02-17 01:02:17 +01:00
Duy-Nguyen Ta
1cdc228d6a
remove trailing spaces
2019-02-11 10:58:34 -05:00
Frank Dellaert
7138236f71
Fixed static issue
2019-02-11 10:52:36 -05:00
Frank Dellaert
37ed46cee1
Added underscore to case conflicts until wrap can handle this.
2019-02-11 10:44:24 -05:00
Frank Dellaert
ca78668113
Deleted legacy files
2019-02-11 10:33:16 -05:00
Vikrant Shah
ddf0c83918
Fixing gtsam.utils import
2019-01-21 13:29:46 -05:00
Vikrant Shah
b3b69bfd21
Addressing Duy's comments about argparse and PEP8. Adding plot flag to the examples
2019-01-21 00:46:57 -05:00
Vikrant Shah
223020ec82
Adding wrapper for Pose3 for reading g2o files and examples for Pose2 and Pose3 slam using g2o file
2019-01-18 22:05:57 -05:00
Frank Dellaert
1999fba7ae
Cleaned up Pose3 unit test, added unit test for adjoint.
2018-12-31 15:38:12 -05:00
Frank Dellaert
e493fc0718
Added an example to show how GTSAM can be used to model planar manipulator arms.
2018-10-28 17:38:22 -04:00
Frank Dellaert
f4564f444e
2D pose plotting
2018-10-18 10:47:03 -04:00
Frank Dellaert
c6d9baf3ce
Merged in fix/ImuFactor (pull request #325 )
...
close issue #280
TBB/cython bug on Mac seems unrelated
2018-10-18 13:40:57 +00:00
Duy-Nguyen Ta
d802255eb3
support pythonic print for gtsam objects.
2018-10-17 05:40:57 -04:00
Frank Dellaert
264a240094
Fixed both C++ and python examples
2018-10-16 19:01:28 -04:00
Frank Dellaert
1d214d4529
Successful wrap of Scenario
2018-10-16 17:01:47 -04:00
Frank Dellaert
d751c65fab
Removed batch solution (as identical)
2018-10-16 15:09:56 -04:00
Frank Dellaert
f7c3f1da3f
Fixed acceleration measurement
2018-10-16 11:30:01 -04:00
Frank Dellaert
89101c1220
Addressed (some) comments by Duy
2018-10-16 10:36:13 -04:00
Frank Dellaert
97a5d5a64a
Python example with reasonable measurements, in body frame. Still a TODO left.
2018-10-14 14:53:20 -04:00
Frank Dellaert
16f8fb031a
Updated copyright
2018-10-14 12:11:33 -04:00
Frank Dellaert
aae802f89c
Merge branch 'develop' into feature/cython-examples
2018-10-14 10:34:07 -04:00
Frank Dellaert
2f5a60d039
naming of local function
2018-10-14 10:33:38 -04:00
Frank Dellaert
025450dcc5
Switched back to gtsam. pattern, added pylint exceptions
2018-10-14 08:06:59 -04:00
Frank Dellaert
f75c2f8427
Cleaned up, corrected bearings
2018-10-14 07:37:52 -04:00
Duy-Nguyen Ta
e807d62980
upgrade eigency to latest version with bug fixes.
2018-10-13 23:06:04 -04:00
Frank Dellaert
650b65f1fb
Kevin's port from cpp
2018-10-13 18:43:06 -04:00
Frank Dellaert
7097880d49
GTSAM examples, cython versions
2018-09-27 22:46:24 -04:00
Frank Dellaert
4ba7c59330
Plotting utilities
2018-09-27 22:45:14 -04:00
Frank Dellaert
4188a739ec
Fixed overloaded methods/constructors
2017-12-02 18:43:18 -08:00
Duy-Nguyen Ta
ee176b7669
fix a typo in requirements.txt
2017-10-13 21:59:33 -04:00
Duy-Nguyen Ta
0d47d273c6
Fix the dependency problem where cython didn't get called when the header file is updated. Also change target gtsam_cython to cythonize_gtsam.
2017-10-08 22:11:54 -04:00
Duy-Nguyen Ta
356f47a123
proper installation of gtsam_eigency's __init__.py
2017-08-15 12:33:42 -04:00
Duy-Nguyen Ta
973b2337a2
make unstable build again
2017-08-15 11:16:13 -04:00
dellaert
d712498c08
Fixed this test with V4 compatibility (where Points are not initialized)
2017-08-07 08:37:37 -07:00
dellaert
8ae9d7c577
Added more tests
2017-08-06 15:59:24 -07:00
dellaert
9505144f44
More unit tests, specifically one that exercises overloaded static method
2017-08-06 13:25:00 -07:00
Duy-Nguyen Ta
17c4c2ff19
don't install cmake and config files
2017-07-28 15:48:30 -04:00
Duy-Nguyen Ta
82531c561f
clonedEigency --> gtsam_eigency. Update readme.
2017-07-28 15:26:19 -04:00
Duy-Nguyen Ta
e7e75c3ac2
update readme
2017-07-27 22:44:16 -04:00
Duy-Nguyen Ta
742097aed0
eigency --> clonedEigency. Fixing bugs and improve eigency build.
2017-07-27 22:26:53 -04:00
Duy-Nguyen Ta
8283ff7b82
remove conversions_api.h
...
It's generated when cythonizing eigency conversions
2017-07-27 22:23:36 -04:00
Duy-Nguyen Ta
82deb22aec
update readme
2017-07-27 05:12:01 -04:00
Duy-Nguyen Ta
a715e064a6
kill system's eigency
2017-07-27 05:07:21 -04:00
Duy-Nguyen Ta
bbd667ad54
better dependencies.. hopefully..
2017-07-25 16:33:09 -04:00
Duy-Nguyen Ta
b1071b08a0
redirect stdcout to a stringstream so Python __str__() can properly return a string after calling the c++ print function
...
This is to avoid a printing issue in some Python's IDE when __str__() is called to update objects' values in Debug mode.
2017-07-25 16:32:26 -04:00
Duy-Nguyen Ta
306bce2226
update instructions for cython-wrapping external projects
2017-07-24 15:01:16 -04:00
Duy-Nguyen Ta
de74406d0d
update readme
2017-07-24 03:54:35 -04:00
Duy-Nguyen Ta
32ac96ea18
correct Eigen path for gtsam eigency
2017-07-24 03:13:16 -04:00
Duy-Nguyen Ta
6a59aa8046
fix dependencies for gtsam_unstable_cython
2017-07-23 15:08:40 -04:00
Duy-Nguyen Ta
77fb84b942
Option to use system eigency. Copy eigency to build folder so cython can find its header without modifying PYTHONPATH
2017-07-23 15:07:00 -04:00
Duy-Nguyen Ta
74f1de73ae
more meaningful var name
2017-07-23 15:05:24 -04:00
Duy-Nguyen Ta
d107c5e8ea
install eigency
2017-07-23 15:04:50 -04:00
Duy-Nguyen Ta
7977091e33
copy eigency into gtsam and cythonize it
2017-07-22 22:40:43 -04:00
Duy-Nguyen Ta
d25c15842c
update readme
2017-05-31 08:58:45 +08:00
Duy-Nguyen Ta
6b1c96869f
specify libs to link with cython module for flexibility
2017-05-31 08:45:54 +08:00
Duy-Nguyen Ta
504022a514
remove now redundant setup.py.in
...
Not used anymore with the manual cython compiling process
2017-05-24 23:56:08 +08:00
Duy-Nguyen Ta
1521a7e8ef
compile cython using the manual 2-step process
...
This is to leverage all compile and linking flags within the cmake build system.
http://cython.readthedocs.io/en/latest/src/reference/compilation.html#compiling-from-the-command-line
2017-05-24 23:55:15 +08:00
dellaert
c8dec5d8dc
Small changes in comments and docs
2017-05-20 12:23:41 -07:00
cbeall
265e8773ba
Fix cython build when GTSAM_BUILD_TYPE_POSTFIXES is enabled. And fix cython build when gtsam is built as part of a larger project, i.e. it is not the top-level project.
2017-04-07 18:43:08 -07:00
Duy-Nguyen Ta
d2dcb9133e
Revert "remove redundant install_cython_files. Use install_cython_scripts instead"
...
This reverts commit 37033e6f16
.
2017-04-07 12:10:28 -04:00
Duy-Nguyen Ta
37033e6f16
remove redundant install_cython_files. Use install_cython_scripts instead
2017-04-07 08:33:21 -04:00
chrisbeall
c42cebc037
Configure __init__.py based on setting of GTSAM_BUILD_UNSTABLE.
2017-04-07 00:29:27 -07:00
cbeall
6824ee0487
Fix link error for gtsam_unstable cython wrapper
2017-04-06 22:18:45 -07:00
cbeall
d2612d9fe1
Add Boost_INCLUDE_DIR to fix error when boost is not on default system path (Macports)
2017-03-30 13:18:05 -07:00
Duy-Nguyen Ta
61a3475372
fix installation path
2017-03-26 00:13:05 -04:00
Duy-Nguyen Ta
123ae36c63
put back requirements.txt, now with backports.
2017-03-25 23:38:49 -04:00
Duy-Nguyen Ta
1ec09ddf6a
more flexible destination folder for scripts installation
2017-03-25 23:35:46 -04:00
Duy-Nguyen Ta
b2243d950b
get compiler settings from cmake
2017-03-21 18:05:41 -04:00
Duy-Nguyen Ta
90ea744619
[mac/clang/libc++/c++11] force clang to use libc++ for c++11, instead of the default old libstdc++4.2.1 which doesn't support c++11
2017-03-21 15:02:21 -04:00
Duy-Nguyen Ta
a2333b9ef2
update cython/readme to troubleshoot eigency installation problems
2017-03-20 17:22:40 -04:00
Duy-Nguyen Ta
87443621c4
make gtsam_unstable_cython_wrapper dependent on gtsam_cython_wrapper.
2017-03-20 17:16:17 -04:00
Duy-Nguyen Ta
3e4a8b6b48
update todo with some nice-to-have features
2017-03-18 23:06:19 -04:00
Duy-Nguyen Ta
4a57d8cd27
update todo
2017-03-18 20:29:41 -04:00
Duy-Nguyen Ta
3daf8d7351
fix bad import * style
2017-03-18 19:50:35 -04:00
Duy-Nguyen Ta
d6c75b57f8
update todo
2017-03-18 19:49:37 -04:00
Duy-Nguyen Ta
c8e4648c66
better name: gtsam_short --> gtsam_test
2017-03-18 19:49:19 -04:00
Duy-Nguyen Ta
aa43cf725c
update TODO
2017-03-18 16:00:42 -04:00
Duy-Nguyen Ta
d18e638b08
cython wrap unstable
2017-03-18 15:52:08 -04:00
Duy-Nguyen Ta
a6281e1932
unify gtsam.h for matlab and cython wrapper
2017-03-18 15:33:01 -04:00
Duy-Nguyen Ta
6148f822ae
update
2017-03-17 11:26:25 -04:00
Duy-Nguyen Ta
347fed9377
wrap Vector,Matrix for Values::at in the short test
2017-03-15 13:57:01 -04:00
Duy-Nguyen Ta
685b0cb62f
remove np_utils Matrix and Vector functions
...
Not needed anymore.
2017-03-15 13:54:00 -04:00
Duy-Nguyen Ta
e2abfe256d
remove requirements.txt
...
@dellaert: not needed for only 2 packages and an exception for eigency
2017-03-08 10:59:06 -05:00
Duy-Nguyen Ta
ed8f7c5f82
[cython] remove copy constructor requirement
...
Using make_shared[C](other) instead of shared_ptr[C](new C(other)) to leverage the implicit default constructor inside C++
2017-03-06 01:06:53 -05:00
Duy-Nguyen Ta
d9d97c4bc7
Forward declare not only classes but their inheritance
...
This is needed for wrapping to Cython another project based on gtsam. The current scheme requires information about all parent classes. See updated comments in gtsam.h.
2016-12-19 17:47:30 -05:00
Duy-Nguyen Ta
7c5db5e90f
update README
2016-12-16 14:33:08 -05:00
Duy-Nguyen Ta
7abcdb1b45
reorganize script folders: more reasonable packaging
2016-12-16 14:17:15 -05:00
Duy-Nguyen Ta
a7c1c89c7b
update short test version
2016-12-16 00:27:32 -05:00
Duy-Nguyen Ta
c34349bb7c
Update README, showing how to wrap other projects using gtsam
2016-12-16 00:26:52 -05:00
Duy-Nguyen Ta
f3bf89b463
print for PreintegrationParams
2016-12-05 11:01:03 -05:00
Duy-Nguyen Ta
427d88ed5b
test -> tests
2016-11-30 05:59:03 -05:00
Duy-Nguyen Ta
21fa3f07e9
basic experiments for testing the wrapper
2016-11-30 05:58:23 -05:00
Duy-Nguyen Ta
1e425536bb
squeeze extra dims of numpy vectors so no need ravel.
2016-11-30 05:57:12 -05:00
Duy-Nguyen Ta
6297b55f28
squeeze extra dims for numpy vectors
2016-11-30 05:52:47 -05:00
Duy-Nguyen Ta
e37ce8eccb
update readme
2016-11-29 12:10:08 -05:00
Duy-Nguyen Ta
c7db489dcd
update short test file
2016-11-29 11:58:34 -05:00
Duy-Nguyen Ta
5958b2397c
resolve overloads via type checking, simplify Values's insert and update, more friendly Matrix and Vector utils
...
Keyword arguments are not needed anymore
2016-11-29 11:58:22 -05:00
Duy-Nguyen Ta
f4e745ff0f
add an include path to generated headers (e.g., config.h)
2016-11-29 10:38:20 -05:00
Duy-Nguyen Ta
cf70960fc1
update readme format, delete install.sh
2016-11-25 04:14:00 -05:00
Duy-Nguyen Ta
05dafa2334
update and rename TODO to README. Add basic installation and usage instructions.
2016-11-25 03:38:00 -05:00
Duy-Nguyen Ta
67787c5d39
fix variable names. They are important to resolve overloads!
2016-11-25 03:35:45 -05:00
Duy-Nguyen Ta
c54753d106
now can build and install with cmake
2016-11-25 02:27:12 -05:00
Duy-Nguyen Ta
003f698503
remove obsolete tests
2016-11-24 21:53:44 -05:00
Duy-Nguyen Ta
2ce6d11bca
a mini version for testing
2016-11-24 19:51:02 -05:00
Duy-Nguyen Ta
a21dd0e471
put generated files in subfolder, run unittests by default
2016-11-24 19:48:05 -05:00
Duy-Nguyen Ta
a4f28bc7fb
Port all matlab tests to python. All passed.
2016-11-24 19:29:42 -05:00
Duy-Nguyen Ta
e73d8a9742
add missing constructors and copy constructors
2016-11-24 19:23:22 -05:00
Duy-Nguyen Ta
0d68f42700
update todo
2016-11-23 14:24:05 -05:00
Duy-Nguyen Ta
5c5cc65951
bring cython gtsam.h closer to the original version for matlab
2016-11-23 14:22:52 -05:00
Duy-Nguyen Ta
d772e52512
move matlab.h, containing matlab ultility functions, to nonlinear/utilities.h so it can be installed properly and can be used with the cython wrapper
2016-11-22 17:41:59 -05:00
Duy-Nguyen Ta
74f80fea4f
[refactor] more understandable function names
...
Clearing confusions between pxd and pyx classes and objects!
2016-11-22 12:13:33 -05:00
Duy-Nguyen Ta
52a85f23f8
fix bugs on returned values
2016-11-21 17:14:30 -05:00
Duy-Nguyen Ta
7d8992c00a
update TODO
2016-11-21 09:29:59 -05:00
Duy-Nguyen Ta
9f58d21030
support dynamic cast from all parents/virtual base
2016-11-18 11:00:15 -05:00
Duy-Nguyen Ta
39f4d92061
update TODO
2016-11-16 17:53:54 -05:00
Duy-Nguyen Ta
acf3c9d259
proper overloading constructors
2016-11-16 17:51:03 -05:00
Duy-Nguyen Ta
7e348a8204
wrap push_back and at for FastVector (hence, KeyVector)
2016-11-14 00:11:04 -05:00
Duy-Nguyen Ta
639854a6a0
enable KeyVector keys() for NonlinearFactor
2016-11-13 23:54:57 -05:00
Duy-Nguyen Ta
e8778319e3
update TODO
2016-11-13 23:54:06 -05:00
Duy-Nguyen Ta
0e27a1ac07
require Cython 0.25.1
...
Cython 0.24.1 has problems with instantiating template types. FastVector<Key> in instantiated template classes (e.g. PriorFactorPose2) is understood as FastVector<size_t>, hence can't be casted to KeyVector. Moving to 0.25 solves the problem.
2016-11-13 23:53:48 -05:00
Duy-Nguyen Ta
5311bc1b55
check in TODO list
2016-09-19 12:46:57 -04:00
Duy-Nguyen Ta
bfb58143f5
Vector in template param: works! Also fix tests for recent changes...
2016-09-19 12:39:41 -04:00
Duy-Nguyen Ta
d40c0ba491
add setup scripts, fix tests
2016-09-16 11:42:01 -04:00
Duy-Nguyen Ta
3478b744e6
add setup script
2016-09-14 07:47:52 -04:00