Commit Graph

538 Commits (b55f7b1fa4fb14291f32e8f7cb3d65625648b15a)

Author SHA1 Message Date
Duy-Nguyen Ta d719b9b7ae ctypedefs for all instantiated classes 2016-09-09 21:50:55 -04:00
Duy-Nguyen Ta 10f510119a pyx class methods with arguments/return type casting 2016-09-09 18:37:48 -04:00
Duy-Nguyen Ta 56c0d2a65e pyx wrapper for static methods 2016-09-09 16:39:47 -04:00
Duy-Nguyen Ta d65d87072b use __Create__ as name for "constructors" instead of the object name
so we call : Class.__Create__(...) to create a python object, instead of Class.Class(...) which seems duplicated and complicated if Class is long, e.g. "mEstimator_noiseModel_GemanMcClure"
2016-09-09 16:39:12 -04:00
Duy-Nguyen Ta 1e84da1cfa pyx: add constructors and fixing inheritance 2016-09-09 15:52:44 -04:00
Duy-Nguyen Ta 2d3d6d99f9 standardize function name to emit_cython_[pxd/pyx]. Remove first level namespace from Cython object names.
Examples: gtsam_Point3 --> Point3, gtsam_noiseModel_Base --> noiseModel_Base
2016-09-09 12:01:51 -04:00
Duy-Nguyen Ta f137ae1d9c test wrapping JacobianFactor 2016-09-09 11:59:28 -04:00
Duy-Nguyen Ta 16345e4ba1 revert changes in methods_, handle template methods for Cython pxd in a less instrusive way 2016-09-09 07:49:42 -04:00
Duy-Nguyen Ta b9880d4257 emit template class to Cython pxd with test
Cython allows template class.
2016-09-09 07:28:13 -04:00
Duy-Nguyen Ta 40da298f68 emit methods to pxd, change the way template methods are handled
pxd allows template methods, whereas the current scheme instantiates/expands all template methods and add them to the same methods_ container. The new scheme treats them all separately: nontemplated methods in methods_, template methods in templateMethods_, and template methods after instantiation in expandedTemplateMethods_.
2016-09-09 07:26:11 -04:00
Duy-Nguyen Ta 6e96e095f3 remove unused function 2016-09-09 07:18:58 -04:00
Duy-Nguyen Ta 93696c0245 test pxd ReturnValue and ReturnType 2016-09-09 07:17:12 -04:00
Duy-Nguyen Ta b73d063dbd bug fix 2016-09-09 07:16:29 -04:00
Duy-Nguyen Ta f72448b624 pxd returntype 2016-09-09 07:10:32 -04:00
Duy-Nguyen Ta 86405dbb48 pxd return value 2016-09-09 07:10:04 -04:00
Duy-Nguyen Ta 2c52928d57 pxd staticmethod 2016-09-09 07:09:39 -04:00
Duy-Nguyen Ta ecde851d8c [inprogress] cython wrapper 2016-09-08 13:33:32 -04:00
Ryan Estep d1cdafa3f5 Removed the boost::regex include (not used) from the matlab wrapper & removed any linking to boost::regex 2016-08-29 13:03:46 +12:00
Carl Morgan 01b3bf4038 boost::spirit assign_a fixes to use non-literials 2016-08-11 14:23:26 +12:00
Jing Dong 16145f5e01 fix ambiguous type uint64_t and int64_t in matlab toolbox, happens on gcc 4.8 and boost 1.50 2016-06-14 15:15:14 -04:00
dellaert 72fe66d468 Removed headers 2016-05-22 14:22:36 -07:00
yao dc00eb4f87 Reverted the files in which the #include <boost/foreach.hpp> was removed. 2016-05-21 17:51:04 -04:00
Yao Chen d1ea1015a9 Replaced BOOSE_FOREACH with for in wrap folder. Tested the changed code locally: successful. 2016-05-20 21:41:18 -04:00
dellaert 7fd838611e Fixed typo 2016-02-11 23:27:09 -08:00
Frank 2060b09a2b Avoid calling default constructors and/or vector 2016-02-11 19:03:11 -08:00
dellaert 5b581a36c9 Made tests succeed, added templated Vector templates 2016-02-07 20:34:16 -08:00
dellaert 699943d632 Changes to wrap from FixedValues branch/PR. Since unrelated to that PR and useful for OptionalJacobian wrapping in py_wrap, made this a separate PR. 2016-02-07 20:33:48 -08:00
Frank 72d2d77e21 Fixed warning 2015-05-12 14:23:51 -07:00
Frank 4ba329c23b Fixed many warnings on Ubuntu 2015-05-12 13:46:24 -07:00
dellaert c29e6ca2e7 Fixed subtle (imperative!) bug where a forward declaration was partially parsed as a class, only then as a forward declaration. 2014-12-19 16:19:02 +01:00
dellaert 9f2e6562c2 test virtual, cleaned up other test 2014-12-19 15:40:21 +01:00
dellaert aaba18c61d Added expected files. 2014-12-19 15:39:34 +01:00
lvzhaoyang bcfcf8be8e fix gtsam wrapper for priorFactorVector 2014-12-12 11:34:34 -05:00
lvzhaoyang 87ae297dad just make sure it can compile and run. Will come back to fix it 2014-12-06 23:13:09 -05:00
lvzhaoyang e49c9fa100 1. remove LieVector in IMUKittiExampleGPS.m 2. Add tests the priorFactor in matlab 3. template substition tests in testsClass.cpp 2014-12-04 13:28:20 -05:00
dellaert afebf2087f Small problem w virtual 2014-12-02 14:12:22 +01:00
dellaert 41d2783beb GlobalFunctionGrammar done and used 2014-12-02 13:49:25 +01:00
dellaert a8de6c4dc3 Moved to header 2014-12-02 13:41:46 +01:00
dellaert 60d7b80055 Successful global function parser 2014-12-02 13:30:52 +01:00
dellaert 04af29f726 Moved typedef 2014-12-02 13:30:36 +01:00
dellaert 3606a1ab68 killed old stuff 2014-12-02 13:30:21 +01:00
dellaert b8d7516e93 Successful use of ClassGrammar in Module.cpp 2014-12-02 13:12:42 +01:00
dellaert 0e48e2ff0b Moved to header 2014-12-02 12:41:35 +01:00
dellaert f035b12f46 Successful parse! 2014-12-02 12:34:54 +01:00
dellaert 12791737e0 First non-passing grammar test 2014-12-02 11:41:09 +01:00
dellaert 6981a1229d Removed mutable 2014-12-02 11:40:50 +01:00
dellaert 6bdba5c17f Same change for TypeList 2014-12-02 11:27:41 +01:00
dellaert f00f62d89f Much better way of handling local variables in grammar 2014-12-02 11:24:53 +01:00
dellaert 9bb336ac2b Should be more compatible with earlier Boost versions 2014-12-01 22:29:27 +01:00
dellaert 78b1cd271a Fixed testClass unit tests 2014-12-01 20:34:05 +01:00
dellaert aceeb2037b Template tightening 2014-12-01 20:29:35 +01:00
dellaert de650069e2 No using namespace in headers 2014-12-01 20:29:11 +01:00
dellaert e963512164 Tightened up individual Grammars 2014-12-01 20:03:26 +01:00
dellaert 08c9243acb Fixed tests 2014-12-01 14:47:18 +01:00
dellaert 8d128ef809 Make sure an Eigen type is tested as template parameter 2014-12-01 14:42:19 +01:00
dellaert 8eb6393c92 Using TemplateGrammar 2014-12-01 14:35:02 +01:00
dellaert 32852eeec7 Template class and parser 2014-12-01 12:43:12 +01:00
dellaert 9a77072654 Successfully used TypeListGrammar 2014-12-01 12:14:08 +01:00
dellaert 4d1225cda7 Moved basic parsers to new header file spirit.h 2014-12-01 11:43:19 +01:00
dellaert 19ea0436db Moved to header 2014-12-01 11:35:48 +01:00
dellaert d25636685b TypeListGrammar 2014-12-01 11:32:33 +01:00
dellaert e82752e269 Successful use of ArgumentListGrammar 2014-12-01 10:47:42 +01:00
dellaert 7dbe9389cb Fixed ArgumentListGrammar 2014-12-01 10:38:24 +01:00
dellaert 0e5332ed3e Removed incorrect void, which fixed old problems and even improves on generated code. 2014-12-01 10:30:47 +01:00
dellaert 9bebedc684 Better Documentation 2014-12-01 10:21:23 +01:00
dellaert 7362b4e393 Returned correct test 2014-12-01 10:20:54 +01:00
dellaert ba51b02cf0 Moving to optionals fixed template dreturn argument!
Merge branch 'qualified' into grammar_wrongtest

Conflicts:
	wrap/Class.cpp
	wrap/Function.h
	wrap/Qualified.h
	wrap/ReturnType.h
	wrap/tests/testWrap.cpp
2014-12-01 09:48:56 +01:00
dellaert 674344ea0e Pushed through use of some grammars 2014-12-01 00:33:54 +01:00
dellaert 47a44ee7db typo 2014-12-01 00:01:31 +01:00
dellaert f6faabf542 Temporarily checked in wrong tests to be able to fix everything else 2014-11-30 23:47:55 +01:00
dellaert 49870be846 Another test 2014-11-30 23:46:25 +01:00
dellaert e9915fe25c Moved to headers 2014-11-30 23:26:07 +01:00
dellaert c661329ac1 ReturnType grammar 2014-11-30 23:24:24 +01:00
dellaert dc42773f1e Some more tests 2014-11-30 23:02:23 +01:00
dellaert 58806b75d2 testReturnValue with prototype grammar 2014-11-30 22:33:30 +01:00
dellaert bba78e48e4 test VectorEigen 2014-11-30 21:54:56 +01:00
dellaert 303b051cd1 Original file restored 2014-11-30 21:54:24 +01:00
dellaert 294c7bd53b Commented out strict match to make work - revisit ! 2014-11-30 21:54:10 +01:00
dellaert 0dcd102f5e Saving before restoring 2014-11-30 20:46:47 +01:00
dellaert 5bcd5d3c89 Commented out grammar 2014-11-30 20:46:19 +01:00
dellaert 24f5636d6a Moved to header 2014-11-30 20:25:26 +01:00
dellaert 6d916c6b75 Semi-private name/namespaces 2014-11-30 20:20:13 +01:00
dellaert f1c91d5d4b Clear now up to caller 2014-11-30 16:09:13 +01:00
dellaert b50f42a606 Equality 2014-11-30 16:08:56 +01:00
dellaert e8c9b8c1d7 Better message 2014-11-30 16:08:08 +01:00
dellaert 8a54e19811 Succuessfully parse * at cost of also parsing *& 2014-11-30 15:51:14 +01:00
dellaert a6afe70c9c Good progress on Argument 2014-11-30 15:46:41 +01:00
dellaert 00c6bd2426 Start on Argument grammar 2014-11-30 14:58:45 +01:00
dellaert 46ad6ea2e7 Got rid of that classname grammar 2014-11-30 13:29:34 +01:00
dellaert c9a15fbc38 Now uses basic rules 2014-11-30 13:27:04 +01:00
dellaert ff3349c1e1 Moved category to Qualified 2014-11-30 13:09:23 +01:00
dellaert 3f308e5f86 Moved to header 2014-11-30 11:30:06 +01:00
dellaert ad8a25c78c A bit of namespace shielding for use in header 2014-11-30 11:24:12 +01:00
dellaert f32f5c7ff2 Working type grammar 2014-11-30 11:19:23 +01:00
dellaert e98ec62804 start with grammar prototype 2014-11-30 11:09:34 +01:00
dellaert 14ef786dfe Removing empty in favor of boost::optional 2014-11-30 10:38:24 +01:00
dellaert 74361ce64a Test with argument templated 2014-11-30 10:37:25 +01:00
dellaert b12255285b More clear than operator overload 2014-11-30 00:13:29 +01:00
dellaert 8d9e108acc Check Vector by checking size 2014-11-29 21:43:48 +01:00
dellaert 370f2c6763 Isolated argument check 2014-11-29 21:11:13 +01:00