Commit Graph

260 Commits (1daac6baf0eb1bf6827f087d1a894c08b32b0df1)

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