Commit Graph

237 Commits (b51e89c910d50ca6fd98fce1818bac77fac9da94)

Author SHA1 Message Date
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 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 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 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 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 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 19ea0436db Moved to header 2014-12-01 11:35:48 +01:00
dellaert d25636685b TypeListGrammar 2014-12-01 11:32:33 +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 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 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 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 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 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 8d9e108acc Check Vector by checking size 2014-11-29 21:43:48 +01:00
dellaert ea070353d6 non-serialization expected values 2014-11-29 13:59:23 +01:00
dellaert 1fd0f964ea Allow Eigen type in typedefs 2014-11-29 13:53:59 +01:00
dellaert 7fdcc98ea5 Updated tests with serialization 2014-11-29 13:50:04 +01:00
dellaert 5ab9b8e439 Test Vector and Matrix as template values 2014-11-29 13:45:11 +01:00
dellaert ab08cb65b0 Fixed unit test 2014-11-22 22:13:21 +01:00
dellaert 755cc60b6f python wrapper file generated at this point 2014-11-14 17:47:46 +01:00
dellaert 6c24fc2aca Python prototype 2014-11-14 17:47:25 +01:00
dellaert e07402a58a Re-factored matlab_code only emits code: it does not post-process the classes anymore. That is now done in parse_Markup, i.e., the constructor.... 2014-11-14 17:04:45 +01:00
dellaert 7a4748d3dc Simplified method/function hierarchy drastically, and renamed bottom addOverload to initializeOrCheck to reflect what it does. Also, gratuitous re-ordering of addOverload arguments. 2014-11-14 16:44:08 +01:00
dellaert 2d654f7fa7 Fixed some wrap unit tests that were left by the wayside 2014-11-14 01:12:43 +01:00
dellaert 67bc951ac2 Fixed proxy files and calls for static methods 2014-11-13 23:21:05 +01:00
dellaert e07da1c82d Added matlabName, and made data members private 2014-11-13 22:43:29 +01:00
dellaert 8ef78db9d8 Fixed template expansion of classes 2014-11-13 21:53:58 +01:00
dellaert 09e3c7df9f struct Constructor: public ArgumentOverloads 2014-11-13 21:34:59 +01:00
dellaert b451e97f6f New TemplateSubstitution object simplifies a lot 2014-11-13 17:28:05 +01:00
dellaert a5e0adb7e6 Made methods and global functions derive from Function 2014-11-13 12:52:41 +01:00
dellaert 341ad9f288 gtsam.h with templated Values::at now compiles ! 2014-11-13 01:26:06 +01:00
dellaert 3c1daa5d6f Templated methods work !!!! 2014-11-13 00:39:15 +01:00
dellaert 5ca71a2eb9 Fixed exception bug 2014-11-12 23:54:37 +01:00
dellaert 1ea0225030 Big refactor because methods now private member of Class 2014-11-12 23:23:07 +01:00
dellaert ad9f3b334c test addOverload 2014-11-12 22:06:53 +01:00
dellaert b7da52a61b Method unit test 2014-11-12 21:54:43 +01:00
dellaert 72d44fe0af Fixed docs 2014-11-12 20:50:20 +01:00
dellaert 67ab69d5ba Merge remote-tracking branch 'origin/fix/BAD_wrap' into fix/BAD_wrap_checkpoint
Conflicts:
	wrap/Module.cpp
2014-11-12 19:22:03 +01:00
dellaert 34a0913125 Fixed issue with templateArgName overloading 2014-11-12 19:09:30 +01:00
dellaert bad8e85c11 Little fudge? I think in MATLAB these are the same. 2014-11-12 15:31:04 +01:00
dellaert 0a23529032 Everything compiles 2014-11-12 14:37:08 +01:00
dellaert 77935bd631 Massive edit: new Qualified type groups namespaces with name, eliminates a lot of clutter. 2014-11-12 02:49:23 +01:00
dellaert 2ab5e17cd8 Added tests for doubly templated class and typedef 2014-11-11 23:09:20 +01:00
dellaert b8d9d5b6ca Starting down the path of a templated method 2014-11-11 22:38:50 +01:00
dellaert c66d6bd1a4 Added templated class 2014-11-11 18:14:17 +01:00
dellaert 752d4800f1 Added new set of expected files in case serialize is turned off 2014-11-11 13:43:25 +01:00
dellaert 5048946ae9 Make sure it works for namespaces as well 2014-05-25 16:37:43 -04:00
dellaert 399c5e5551 Added test for overloaded global functions 2014-05-25 16:28:59 -04:00
dellaert 5e9632e781 Now using emit_conditional_call (changed indenting) 2014-05-25 16:28:39 -04:00
dellaert 1129b384b2 Header order 2014-05-25 16:03:28 -04:00
dellaert 9a102e8c59 Handle special case of single overload with all numeric arguments 2014-05-25 15:21:49 -04:00
dellaert a38504dc6a Ignore some files 2014-05-25 15:21:33 -04:00
dellaert 61baef3be0 Don't emit overloads unless there are any 2014-05-25 13:37:44 -04:00
Richard Roberts 661a157553 Working on standardizing/simplifying building unit tests and examples. Much simpler cmake function to add a glob of tests, doing away with convenience libraries, and removing other options that we never change from their defaults. 2014-02-13 01:34:31 -05:00
Richard Roberts 2d60d2cdfa Fixed more unit tests 2013-08-06 18:04:40 +00:00
Chris Beall e1b24acc96 add missing end on saveobj 2013-06-25 18:36:57 +00:00
Alex Cunningham 0e1f07acaa Added matlab codegen for matlab save/load hooks. Can now save and load a gtsam object to/from a mat file 2013-06-22 23:16:53 +00:00
Alex Cunningham 9f9807ef19 Yet even more rebasing 2013-06-20 17:08:29 +00:00
Alex Cunningham 90246a4dab Rebasing... 2013-06-20 17:08:27 +00:00
Alex Cunningham 23de91d44d serialization works for graph and PriorFactor. Added second flag for serialization: can add "void serializable()" or "void serialize()" to allow for either just exporting (necessary if no default constructor), or implementing the full serialization functions 2013-06-19 17:50:05 +00:00
Alex Cunningham ed3ab55538 Fixed wrap test, now passes 2013-06-19 17:50:04 +00:00
Alex Cunningham f1b1a2f7d2 Added export flags, Values now serializes 2013-06-19 17:50:03 +00:00
Alex Cunningham 4d76386aa7 Updated expected values to match newer codegen 2013-06-19 17:50:02 +00:00
Alex Cunningham 14c5f205dd basic serialization works 2013-06-19 17:50:00 +00:00
Alex Cunningham 07407ff763 Completed codegen for serialize/deserialize functions 2013-06-19 17:49:59 +00:00
Alex Cunningham 8e73619989 Adding codegen components for serialization - in progress 2013-06-19 17:49:57 +00:00
Alex Cunningham c7576deb15 Added flag for serializable to parser, no codegen yet 2013-06-19 17:49:55 +00:00