Commit Graph

10112 Commits (7977091e3364cda4dcf54ff653a074c59fa02c1c)

Author SHA1 Message Date
Duy-Nguyen Ta f154be176f Major update to generate proper Cython pxd header files which could be included in other projects/modules
All cdef (class, functions, variables) declarations are moved to pxd. Implementations of those cdefs and normal Python def are in pyx.
See: http://cython.readthedocs.io/en/latest/src/userguide/sharing_declarations.html#sharing-extension-types
2016-12-16 00:23:45 -05:00
Jing Dong c0c55c4a21 Merged develop into feature/ProductLieGroupJacobians 2016-12-08 15:21:56 -05:00
Jing Dong 5fa4abf99c fix optional jacobians 2016-12-08 15:19:18 -05:00
Duy-Nguyen Ta f3bf89b463 print for PreintegrationParams 2016-12-05 11:01:03 -05:00
Duy-Nguyen Ta 0cef864663 __cinit__ --> __init__ 2016-12-05 11:00:33 -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 4439968f05 tabs to spaces 2016-11-30 05:56:07 -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 6a0a1505a2 fix test 2016-11-25 04:05:52 -05:00
Duy-Nguyen Ta e407a42160 Merge branch 'develop' into feature/cython_wrapper
# Conflicts:
#	wrap/Module.cpp
2016-11-25 03:43:36 -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 9fe804bc1a replace matlab.h in gtsam.h for matlab wrapper by its new file nonlinear/utilities.h 2016-11-24 19:26:11 -05:00
Duy-Nguyen Ta 2d527f0fc2 unfinished attempt to add typedef for matlab wrapper 2016-11-24 19:24:25 -05:00
Duy-Nguyen Ta e73d8a9742 add missing constructors and copy constructors 2016-11-24 19:23:22 -05:00
Duy-Nguyen Ta c13b964777 standardize names for classes with inner namespace 2016-11-24 19:22:44 -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 88b626a0dc not needed anymore: casting is now done in cython 2016-11-23 14:22:12 -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 6ef6457e51 support global function overloads 2016-11-22 17:32:48 -05:00
Duy-Nguyen Ta 338c73669e support global functions (no overload) 2016-11-22 17:09:35 -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 fbcb9041f2 big refactoring, support method/static method overloading 2016-11-20 09:24:43 -05:00
Duy-Nguyen Ta fe855c9cab fix white spaces 2016-11-18 11:01:02 -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 dc185a6d30 support python print for classes with print_ function 2016-11-16 17:37:33 -05:00
Duy-Nguyen Ta 3f0304d067 more detailed comments
Cython/Python pxd/pyx class names and argument types are a mess... Hopefully these comments help clarify something.
2016-11-16 17:37:05 -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 d38c51b533 collect typedefs of basic (non-class) types to treat them as basic types 2016-11-14 00:08:42 -05:00
Duy-Nguyen Ta 709417b36d remove unused 2016-11-14 00:00:35 -05:00
Duy-Nguyen Ta 6cbd613b43 add typedefs to the list of validTypes 2016-11-13 23:59:56 -05:00
Duy-Nguyen Ta a18f11097c format 2016-11-13 23:58:11 -05:00
Duy-Nguyen Ta 639854a6a0 enable KeyVector keys() for NonlinearFactor 2016-11-13 23:54:57 -05:00