Commit Graph

114 Commits (b8de033bd0510367a044d0fddfa32127d7d61819)

Author SHA1 Message Date
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