Commit Graph

606 Commits (b8292399d643f2ae445116b81caee7c57c9dcb96)

Author SHA1 Message Date
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
dellaert 0261c59063 static property is known by function! Makes so much more sense... 2014-11-29 20:59:38 +01:00
dellaert 0eaabd700b Refactored emit call 2014-11-29 20:53:38 +01:00
dellaert e2ab47b610 Added Vector and Matrix to forward declarations 2014-11-29 20:01:48 +01:00
dellaert fb8283cf11 Fixed message 2014-11-29 19:47:45 +01:00
dellaert 6e691b06ff Private table_ 2014-11-29 19:38:51 +01:00
dellaert b0fa5ce684 Cut out unused arguments 2014-11-29 19:34:46 +01:00
dellaert c609666ab9 More informative fail 2014-11-29 16:13:23 +01:00
dellaert c68c21c187 headers 2014-11-29 16:13:02 +01:00
dellaert 6c0439f6ea Method and StaticMethod now inherit from MethodBase - much better 2014-11-29 15:31:29 +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 be00e1c348 Allow Vector and Matrix in list of template values 2014-11-29 13:44:49 +01:00
dellaert ab08cb65b0 Fixed unit test 2014-11-22 22:13:21 +01:00
dellaert 018e66be7f Fixed compile issue 2014-11-21 16:56:22 +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 b7dc6b3687 Fixed many utilities and examples 2014-11-14 00:51:11 +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 8a05136ca0 Fixed proxy wrapper name 2014-11-13 22:15:36 +01:00
dellaert 8ef78db9d8 Fixed template expansion of classes 2014-11-13 21:53:58 +01:00
dellaert a4fe404d82 Fixed constructor name in proxy 2014-11-13 21:53:33 +01:00
dellaert 09e3c7df9f struct Constructor: public ArgumentOverloads 2014-11-13 21:34:59 +01:00
dellaert efd544527f Stream operator for many classes 2014-11-13 21:11:29 +01:00
dellaert 482dbd9226 Made TemplateSubstitution into an operator, and added stream operator 2014-11-13 19:34:25 +01:00
dellaert fe481dc775 typedef to cope with abundance of strings 2014-11-13 18:58:44 +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 16ba6ba254 Added Function Base class 2014-11-13 12:52:01 +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 e9a58ff225 Fixed pointer issue 2014-11-12 20:52:07 +01:00
dellaert 7d4f5a4820 Make explicit whether wrapper or proxy is written to... 2014-11-12 20:51:47 +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 c8ac7f8980 Cleaned up variables 2014-11-12 18:04:38 +01:00
dellaert 2ad5a51e74 MAde some method private, and renamed return_type -> str 2014-11-12 15:31:40 +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 443b710a8d Re-factoring ReturnValue 2014-11-12 13:31:46 +01:00
dellaert 9b9d9a6b54 Eliminated copy/paste 2014-11-12 03:26:13 +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 6f333965a9 Massive edit: new Qualified type groups namespaces with name, eliminates a lot of clutter. 2014-11-12 02:46:49 +01:00
dellaert 2ab5e17cd8 Added tests for doubly templated class and typedef 2014-11-11 23:09:20 +01:00
dellaert 8ab83a7cff Simplified expand 2014-11-11 22:55:36 +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 8a555c7e05 Comment 2014-11-11 13:42:25 +01:00
dellaert 2946bcdc82 Slight refactor/comments 2014-11-10 17:56:22 +01:00
Chris Beall 470527ff99 fix warnings on Windows. No need to create variable in catch statement if you're not going to use it. It generates unreferenced variable warnings. 2014-06-01 11:30:04 -04: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 925f23515d Better reporting of whitespace changes only 2014-05-25 16:27:29 -04:00
dellaert 1129b384b2 Header order 2014-05-25 16:03:28 -04:00
dellaert 05a38ca263 Standard BORG formatting 2014-05-25 16:01:30 -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 5987f78be3 Methods to check whether arguments are scalar 2014-05-25 15:21:13 -04:00
dellaert 9d9614d185 Split up into two calls 2014-05-25 14:59:20 -04:00
dellaert 52cd200718 ReturnValue now emits, eliminated some copy/paste. Also removed unused verbose field/argument in ReturnValue 2014-05-25 14:53:32 -04:00
dellaert 05008ecaa3 Comments 2014-05-25 14:40:39 -04:00
dellaert 406419317f eliminated more copy/paste mess between Method and StaticMethod 2014-05-25 14:35:07 -04:00
dellaert 61baef3be0 Don't emit overloads unless there are any 2014-05-25 13:37:44 -04:00
dellaert 1002696f83 Formatting and headers 2014-05-25 13:29:06 -04:00
dellaert 43e238c6ab Formatting and headers 2014-05-25 13:26:14 -04:00
dellaert 95b85e8494 Now using ArgumentList::emit_prototype everywhere, for non copy/paste code 2014-05-25 13:22:10 -04:00
dellaert 4403d47865 Slight refactor 2014-05-25 13:12:48 -04:00
dellaert 47e9016693 Fixed so prints expected file then actual, as expected (no pun intended) 2014-05-25 13:02:54 -04:00
dellaert 26cae48338 First successful use of new ArgumentList::emit_prototype method 2014-05-25 13:02:29 -04:00
dellaert 80b7d91264 emit prototype method (to eliminate horrible copy/paste mess someone thought was good programming style) 2014-05-25 13:01:36 -04:00
dellaert 82d6bae4b9 Standard BORG formatting 2014-05-25 12:43:19 -04:00
dellaert 02c3fe9516 Standard BORG formatting 2014-05-25 12:06:34 -04:00
Richard Roberts 1770f44ad9 Fixed a number of clang warnings 2014-02-23 18:53:48 -05: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 686051c032 Convert DOS line endings to UNIX 2014-01-09 16:39:27 -05:00
Richard Roberts 501635352d Some cleanup in compiling wrappers 2013-12-12 18:37:27 +00:00
Andrew Melim c378d7379f Remove accidental commit in Module 2013-10-26 22:41:18 +00:00
Andrew Melim 5e29bc5b67 Return set partitions from DFSMap 2013-10-26 22:22:31 +00:00
Alex Cunningham ee38b8f884 Put disabling of serialization in the right place 2013-10-25 14:10:28 +00:00
Alex Cunningham 876edb4197 Added cmake flag to disable serialization for wrapped objects directly, rather than outright disabling serialization. By default GTSAM_WRAP_SERIALIZATION is on, turn it off to ignore serialization flags in gtsam.h 2013-10-24 14:38:04 +00:00
Richard Roberts 93a2a486af Fixed compile error due to not returning a value 2013-08-25 20:02:28 +00:00
Richard Roberts 2d60d2cdfa Fixed more unit tests 2013-08-06 18:04:40 +00:00
Richard Roberts 59f2620f4c Needed to link wrap with Boost Regex library 2013-07-18 14:09:19 +00:00
Richard Roberts a897015a11 Fixed VS folder 2013-07-02 13:03:00 +00:00
Chris Beall e1b24acc96 add missing end on saveobj 2013-06-25 18:36:57 +00:00
Chris Beall ef5fb525de add missing end on saveobj 2013-06-25 18:30:59 +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 62d25abb1a More rebasing... 2013-06-20 17:08:28 +00:00
Alex Cunningham f299217cfb Rebasing... 2013-06-20 17:08:28 +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 5789c7de83 Added codegen for cpp wrapper 2013-06-19 17:49:58 +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
Duy-Nguyen Ta b1b05887fc allow method starting with uppercase letter to be wrapped in matlab. Wrap Pose3's AdjointMap and Adjoint operator 2013-04-21 19:29:41 +00:00
Richard Roberts 547323cc79 Fixed a bunch of compiler warnings 2013-04-05 21:34:04 +00:00
Duy-Nguyen Ta 3a62daf985 bug fix: remove a redundantly generated double quote when verbose is on 2013-03-15 23:24:30 +00:00
Alex Cunningham f8c42ddd52 Comments only 2013-02-14 20:42:16 +00:00
Richard Roberts 6572400bc3 Improved handling of Boost shared libraries on Windows 2013-02-04 21:28:39 +00:00
Richard Roberts 12f8152891 Small bug fix in wrap - for return types, try to parse 'pair' before a simple type to prevent 'pair' spuriously being stored as the namespace of the return type, which causes return type validation to fail for pairs of simple types, i.e. 'pair<int,int>' 2013-01-28 17:41:42 +00:00
Richard Roberts 981c3363e6 Whitespace 2013-01-28 17:41:41 +00:00
Richard Roberts c2c52fbdbe Added try/catch in wrap.cpp to print out error message on exception 2013-01-28 17:41:40 +00:00
Richard Roberts 0898e4a6aa Wrap prints more detailed error message for parse errors 2012-12-03 19:08:16 +00:00
Alex Cunningham d57838b4cb Cleaned up commented code, tweaked formatting 2012-11-27 19:03:23 +00:00
Alex Cunningham 0030a28e45 all tests pass with new hack to parse pointers on arguments 2012-11-27 19:03:22 +00:00
Alex Cunningham 2f44bc0a1a Simple hack around assigning return category flags, tests pass in debug, fail on pointer argument passing in release mode 2012-11-27 19:03:21 +00:00
Alex Cunningham ab7655e5eb Further debugging and tests of parsing issue with return type flags 2012-11-27 19:03:20 +00:00
Alex Cunningham d1b9185918 Trying more variations. Fixed small valgrind issue that didn't actually have an effect 2012-11-27 19:03:19 +00:00
Alex Cunningham 47fcb17ead Small variations on parser to try to debug problem 2012-11-27 19:03:18 +00:00
Alex Cunningham 16ad77cb53 Adding tests and notes to investigate errors parsing return types 2012-11-27 19:03:16 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Andrew Melim a2474ef354 Starting to add support for STL containers in wrap 2012-09-18 18:36:42 +00:00
Frank Dellaert aeb43bc8fc Used technique described in http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html to turn off excessive warnings generated by boost lambda headers 2012-09-16 18:07:50 +00:00
Andrew Melim 4752c10e21 Inherited methods show up on doc. ISAM2 for MATLAB now inherets from Bayes Tree 2012-09-08 19:51:23 +00:00
Frank Dellaert d8a6b6a5e4 Vastly improved "help gtsam" and "doc gtsam" output 2012-09-08 05:44:26 +00:00
Andrew Melim 9938b4785d Changed method summaries to lower case 2012-09-03 22:48:08 +00:00
Andrew Melim 84a806bf39 Final fixes made for wrap comments 2012-08-29 20:27:10 +00:00
Andrew Melim d0a1e662a7 Wrap comments are now EVEN better 2012-08-28 21:44:45 +00:00
Andrew Melim 7d9139a854 Fix wrap tests 2012-08-27 18:10:51 +00:00
Andrew Melim a6545b4e01 Fixed wrap tests and changed comments 2012-08-27 17:54:25 +00:00
Andrew Melim c3e615b2df Added doxygen info to wrap commenting system 2012-08-27 15:30:47 +00:00
Andrew Melim 6da48bc580 Even more comment improvements for wrap 2012-08-27 15:19:55 +00:00
Andrew Melim 4b28f4d082 Changed comment phrasing 2012-08-26 22:00:16 +00:00
Andrew Melim 0d70be459e Added method comments for wrap 2012-08-26 21:58:18 +00:00
Andrew Melim ea70673b36 Added overload constructor comments to matlab files 2012-08-26 15:46:19 +00:00
Richard Roberts cbbf62aeeb Updated wrap unit tests 2012-08-22 22:40:38 +00:00
Richard Roberts cf4a4b4285 wrap turns exceptions into MATLAB errors 2012-08-22 22:40:24 +00:00
Richard Roberts d95ca7857b Updated wrap unit tests 2012-07-27 19:16:00 +00:00
Richard Roberts aef5ae269f Added argument and return type checking for global wrapped functions 2012-07-27 19:01:53 +00:00
Richard Roberts 5177f31a5d Merge remote-tracking branch 'svn/trunk' into remove_slam_namespaces
Conflicts:
	gtsam/nonlinear/SuccessiveLinearizationOptimizer.h
	matlab/examples/Pose2SLAMExample_circle.m
	matlab/examples/Pose2SLAMExample_graph.m
	matlab/examples/StereoVOExample_large.m
	tests/testGradientDescentOptimizer.cpp
2012-07-27 19:01:43 +00:00
Richard Roberts 021641e912 Fixed typo and prevented double-evaluation of function when returning a pair in a wrapped function 2012-07-26 14:06:37 +00:00
Richard Roberts bcad0b661c Added workaround for MSVC limitation on number of consecutive loops 2012-07-23 21:27:40 +00:00
Richard Roberts 0b08923c41 Generated code formatting fix 2012-07-23 21:27:38 +00:00
Richard Roberts 87d1e0a488 Added 'This' keyword in wrap templates to substitute instantiated class 2012-07-23 21:27:36 +00:00
Richard Roberts 065b7ee1e6 In wrap tests, read file in text mode to translate line endings 2012-07-23 19:29:57 +00:00
Alex Cunningham 656f573c0a Removed from wrap the use of "using namespace xxx" statements - wasn't fully supported before, and now we have real namespace support 2012-07-23 18:24:43 +00:00
Alex Cunningham 79c9bc99ff Some additional cleanup in wrap 2012-07-23 18:24:39 +00:00
Alex Cunningham b7c2177f0b Generating code for global functions now works 2012-07-23 18:24:35 +00:00
Alex Cunningham ece5888cac Removed need in wrap to end namespaces in special non-standard tag - can now just use } 2012-07-23 14:09:44 +00:00
Alex Cunningham e7e564268d global function parsing now tested and working 2012-07-23 14:09:42 +00:00
Alex Cunningham 26fce2d400 Adding support for global functions - parsing works 2012-07-23 14:09:40 +00:00
Richard Roberts 8dbffd4629 Wrap generates Matlab namespaces, so now 'import gtsam.*' allows class names like Values, NonlinearFactor, to be used. Without import, syntax is gtsam.Values, etc. 2012-07-18 15:47:06 +00:00
Richard Roberts 90fd122876 Updated wrap expected files from double clear all bug fix 2012-07-17 22:10:39 +00:00
Richard Roberts b5e10eadb8 Fixed bug where calling 'clear all' only once caused a problem where the wrap module recreated the RTTI table but MATLAB then deletes it, causing an error about the RTTI table being missing later on. 2012-07-17 19:49:36 +00:00
Alex Cunningham 4b772b43cf Simplified include handling in wrap: no more default includes, includes are not associated with a class or a namespace. 2012-07-17 18:30:02 +00:00
Richard Roberts 4bcc974cae Updated unit tests after changing namespace handling 2012-07-17 17:38:31 +00:00
Richard Roberts 10c5ebae73 Always write and read wrap files in binary mode to prevent writing CRLF line endings on windows (messes up expected unit test files) 2012-07-17 17:38:29 +00:00
Richard Roberts e9f710a1ac More flexible handling of includes in wrap - can now use multiple includes both at the namespace and class levels, and namespace includes do not override the default class-name includes of their enclosed classes. 2012-07-17 15:51:35 +00:00
Alex Cunningham a87d12a7b7 pacified warning 2012-07-14 20:30:30 +00:00
Richard Roberts ee2889d4b3 Improved error message 2012-07-13 21:59:30 +00:00
Richard Roberts 6c9608752e Small cleanups / fixes in handling of compile options 2012-07-13 21:55:00 +00:00
Richard Roberts 4ae96c6642 Check dependencies before class attributes to avoid out-of-range exception 2012-07-13 21:54:57 +00:00
Richard Roberts aa5beafd94 Wrap include path bug fix 2012-07-13 21:54:55 +00:00
Richard Roberts 191d73df0b Simplified matlab wrapper cmake options 2012-07-13 21:54:52 +00:00
Richard Roberts 7f63d23565 Added missing files from last commit - code cleanup and comments 2012-07-13 21:54:48 +00:00
Richard Roberts ce12f3d255 Code cleanup and comments 2012-07-12 22:28:28 +00:00
Richard Roberts b1a58e4447 Updated expected wrap unit test files 2012-07-12 02:11:36 +00:00
Richard Roberts 55a153ebc6 Wrapped Cal3DS2, RangeFactor, BearingFactor, and GenericProjectionFactor 2012-07-12 02:11:32 +00:00
Richard Roberts 76e5375dea Added support for multi-argument templates that are then instantiated with typedefs in wrap interface header. 2012-07-12 02:11:29 +00:00
Richard Roberts c4f19a2b96 Can define template classes in wrap interface file with a fixed list of template argument expansions, to quickly generate many classes, e.g. template<T = {gtsam::Point2,gtsam::Point3}> class BetweenFactor ... generates gtsamBetweenFactorPoint2, gtsamBetweenFactorPoint3, etc. 2012-07-11 21:43:16 +00:00
Richard Roberts 42dec286ee Removed unused argument list member from Deconstructor 2012-07-11 21:43:13 +00:00
Alex Cunningham 774fcb5ca9 Fixed include sorting bug in wrap 2012-07-11 15:58:01 +00:00
Richard Roberts 1993e6952b Merged from branch 'branches/wrap_mods_inheritance' into branch 'branches/wrap_mods' 2012-07-11 15:45:45 +00:00
Richard Roberts 7c176dd76d Automatic returning of derived-most type in matlab wrapper working but not yet well-tested 2012-07-11 15:44:04 +00:00
Alex Cunningham f3406f3bc9 Small change to wrap to avoid redundant includes in cpp file 2012-07-11 14:54:13 +00:00
Alex Cunningham 2e6de9e9a1 Fixed wrap unit test 2012-07-11 14:54:11 +00:00
Richard Roberts 33a64fc7b5 Removed debug prints 2012-07-10 22:53:35 +00:00
Richard Roberts af11b6c0a0 Create table of RTTI type names at wrap module creation time - will support code to create most derived type from base type in matlab wrapper 2012-07-10 22:51:19 +00:00
Richard Roberts 0c384dc35a Added a check that all wrapped classes involved in a heirarchy are marked virtual 2012-07-10 22:38:21 +00:00
Alex Cunningham 5d58dbd512 Fixed testWrap so that it passes, fixed dependency checking in codegen, fixed warnings 2012-07-10 14:21:58 +00:00
Alex Cunningham 6daa86f137 Fixed C++ versioning issue in wrap, now compiles and toolbox passes matlab tests, testWrap now compiles but does not pass 2012-07-10 14:21:56 +00:00
Richard Roberts 4a0866b519 Merge remote-tracking branch 'svn/branches/wrap_mods' into wrap_mods_inheritance
Conflicts:
	gtsam.h
2012-07-09 20:27:23 +00:00
Richard Roberts e915e666b5 Can return abstract base classes from functions in matlab wrapper, i.e. Values::at 2012-07-09 20:19:37 +00:00
Alex Cunningham e451a95991 Added wrap target to exported/installed targets 2012-07-09 17:14:21 +00:00
Richard Roberts 8a8b27005f wrap_mods_inheritance branch - Can now pass derived classes in as base class arguments (i.e. pass gtsamPose2 where gtsamValues.insert expects gtsamValue) 2012-07-09 00:02:43 +00:00
Alex Cunningham 9c876ed6b0 Wrap tests now pass with new file structure 2012-07-08 20:23:47 +00:00
Richard Roberts 3c27daae18 wrap_mods_inheritance branch: in progress with inheritance in matlab wrapper 2012-07-08 12:27:39 +00:00
Alex Cunningham 169c0191c6 Added header needed for uint64_t 2012-07-06 18:58:35 +00:00
Richard Roberts da5c924d58 Merged from branch 'trunk' 2012-07-06 18:37:55 +00:00
Alex Cunningham fe133ef97c Updated expected files to match current wrap test 2012-07-05 17:14:40 +00:00
Richard Roberts b460f2a721 Added missing 'typename's 2012-07-05 17:08:40 +00:00
Richard Roberts f774a380ec Implemented method overloading in matlab wrapper, made static functions static in matlab classes 2012-07-05 14:05:00 +00:00
Richard Roberts 8ab18498ad Add to collector through matlab function to allow returning objects from other wrap modules 2012-07-05 14:04:57 +00:00
Richard Roberts 8f8975f47f Removed obsolete code for generating matlab wrapper makefiles and build script 2012-07-05 14:04:51 +00:00
Richard Roberts 1ee7162383 Fixed warnings 2012-07-05 14:04:46 +00:00
Richard Roberts b5937ce35d Modified wrap to generate a single cpp wrapper file containing all wrapped functions, and one .m file per class and static method. 2012-07-05 14:04:36 +00:00
Richard Roberts d2620d2ebc Add headers to wrap_lib target 2012-07-03 15:33:16 +00:00
Andrew Melim e40ce8b44d Fixed class issue calling destructor 2012-07-03 01:28:41 +00:00
Richard Roberts b163d26d5e Fixed invalid iterator bug during clear all in Matlab wrapper 2012-07-02 22:33:36 +00:00
Richard Roberts b8a627b19c Fixed 64/32-bit pointer detection in Matlab wrapper under Windows 2012-07-02 22:33:28 +00:00
Andrew Melim 15b3dd9d5f adding new constructors for matlab wrap tests 2012-07-02 19:09:50 +00:00
Andrew Melim ead88ae35a Changes to wrap requested by frank. Wrap now allows for multiple includes. Changes to wrap tests 2012-07-02 18:18:11 +00:00
Alex Cunningham 9273c3d18c Added minimal output to wrap generation 2012-07-01 18:00:35 +00:00
Alex Cunningham 7ba7aa6cfc Updated wrap unit tests for new wrap changes 2012-06-30 20:04:16 +00:00
Alex Cunningham b33713a02e Merge branch 'master' into new_wrap_local
Conflicts:
	.cproject
	gtsam.h
2012-06-30 20:04:12 +00:00
Andrew Melim 02df40bd73 Dependency checking for matlab.h 2012-06-30 01:33:41 +00:00
Andrew Melim f0c8c023a0 Added small verbosity changes, verbose now defaults to false in wrap.cpp 2012-06-29 18:38:54 +00:00
Alex Cunningham 3ab79d1597 Fixed wrap test 2012-06-28 16:13:22 +00:00
Andrew Melim fb00f4b834 fixes for two word args 2012-06-27 21:50:45 +00:00
Andrew Melim ea0c85ef06 Crash for some objects is now fixed 2012-06-27 16:22:12 +00:00
Andrew Melim 6d776812d3 new wrap! :) 2012-06-26 18:52:27 +00:00
Frank Dellaert 1b23ebbdbf Fixed wrap unit test after adding documentation 2012-06-24 14:49:35 +00:00
Frank Dellaert ce767762e9 Better documentation for MATLAB methods 2012-06-24 14:32:06 +00:00
Duy-Nguyen Ta 6f1ea87a00 clean up noise model: Remove Shared[NoiseModel] classes and headers, typedef for backward compatibility in NoiseModel.h. Fix all tests and examples to create shared noise models through static functions in noise model classes. Fix MATLAB wrapper and examples as well. Add tests for MATLAB examples 2012-06-22 19:36:49 +00:00
Duy-Nguyen Ta f9a8d69a75 specialized templates to support noise model class inheritance 2012-06-19 06:06:26 +00:00
Frank Dellaert 7832b586e6 Small detail in constructors 2012-06-15 01:00:50 +00:00
Frank Dellaert d13db7a997 Fixed wrap problem where a double could not be passed to a method taking a size_t. Also, if a method takes a bool, you now *have* to pass a logical in matlab (i.e., true or false) 2012-06-13 12:03:33 +00:00
Alex Cunningham 3a9b647b8f Updated expected wrap values 2012-06-06 12:03:49 +00:00
Frank Dellaert 76a1ae0102 Fixed emit of comment string 2012-06-06 04:28:50 +00:00
Alex Cunningham 00b6f177d2 Removing unnecessary boost dependencies - may need more fixing 2012-06-05 19:25:31 +00:00
Alex Cunningham ad3b431c4d Moved building of wrap libraries to a cmake macro and moved install for matlab components to the appropriate folder 2012-06-05 18:05:00 +00:00
Alex Cunningham 02ce40546f Changed names of cmake flags to be more intuitive, fixed include/library path issues for building the mex binaries 2012-06-05 17:20:19 +00:00
Richard Roberts 90578e2532 Merge remote-tracking branch 'svn/trunk' into windows
Conflicts:
	gtsam.h
	wrap/CMakeLists.txt
2012-06-05 13:11:34 +00:00
Chris Beall 129e29d4b2 fix related to mex command 2012-06-04 22:09:33 +00:00