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 |
Andrew Melim
|
6da48bc580
|
Even more comment improvements for wrap
|
2012-08-27 15:19:55 +00:00 |
Richard Roberts
|
cf4a4b4285
|
wrap turns exceptions into MATLAB errors
|
2012-08-22 22:40:24 +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
|
bcad0b661c
|
Added workaround for MSVC limitation on number of consecutive loops
|
2012-07-23 21:27:40 +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
|
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
|
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
|
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
|
4ae96c6642
|
Check dependencies before class attributes to avoid out-of-range exception
|
2012-07-13 21:54:57 +00:00 |
Richard Roberts
|
ce12f3d255
|
Code cleanup and comments
|
2012-07-12 22:28:28 +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 |
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 |
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 |
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 |
Richard Roberts
|
3c27daae18
|
wrap_mods_inheritance branch: in progress with inheritance in matlab wrapper
|
2012-07-08 12:27:39 +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
|
8f8975f47f
|
Removed obsolete code for generating matlab wrapper makefiles and build script
|
2012-07-05 14:04:51 +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 |
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 |
Andrew Melim
|
02df40bd73
|
Dependency checking for matlab.h
|
2012-06-30 01:33:41 +00:00 |
Andrew Melim
|
6d776812d3
|
new wrap! :)
|
2012-06-26 18:52:27 +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 |
Alex Cunningham
|
9efcf8e17c
|
Added option to include path to mex executable in CMake
|
2012-06-04 21:01:25 +00:00 |
Richard Roberts
|
592a251a05
|
Fixed path and compile problems with matlab wrapper on windows
|
2012-05-28 20:48:36 +00:00 |
Richard Roberts
|
ac150043bd
|
Fixed wrap under windows
|
2012-05-23 21:23:27 +00:00 |
Alex Cunningham
|
f8a03ddbca
|
Added better support for "using namespace x" to wrap - only applies to classes *after* it is called
|
2012-05-04 19:14:58 +00:00 |
Alex Cunningham
|
f2c7e891c4
|
Added 'unsigned char' as argument option to wrap, added make targets
|
2012-05-04 18:50:36 +00:00 |
Andrew Melim
|
a1da906d33
|
Memory leak fixed within wrap. Must call 'clear' before 'clear all' and 'clear classes'. Wrap now creates delete_classname files for all wrapped classes. MATLAB classes now derive from the handle superclass.
|
2012-03-30 05:34:23 +00:00 |
Alex Cunningham
|
c901ceee27
|
wrap: forward declarations now allow for namespaces
|
2012-02-01 15:19:34 +00:00 |
Frank Dellaert
|
a1aba7d6ff
|
Fixed argument parse error. Somehow it could parse either refs or ptrs, but noth both, and it depended on the order in which the rules were given in the argList_p. I just combined ptr and ref in one and now it works. Go figure.
|
2012-01-28 19:44:33 +00:00 |
Alex Cunningham
|
a8607d284d
|
Added wrap support for char as a argument or return value type
|
2012-01-23 18:28:11 +00:00 |
Alex Cunningham
|
3942f28a68
|
Wrap now only writes new files when there is a change, and install only updates files if necessary
|
2012-01-15 21:42:44 +00:00 |
Alex Cunningham
|
66a9d635b3
|
Unified file writing to use a custom class to allow for smart checking
|
2012-01-15 21:42:41 +00:00 |
Alex Cunningham
|
56bce0ca9f
|
Added dependency checking to return values in wrap, as well as forward declarations
|
2011-12-15 21:23:20 +00:00 |
Alex Cunningham
|
ea1f1e8b65
|
Parser now handles both namespace and class headers
|
2011-12-15 19:39:11 +00:00 |
Alex Cunningham
|
694320388f
|
Moved includes outside of classes in wrap parser
|
2011-12-15 16:18:03 +00:00 |
Alex Cunningham
|
6a0da1519a
|
Cleanup in wrap
|
2011-12-11 21:09:07 +00:00 |
Alex Cunningham
|
06dbc2b650
|
Changed namespace mechanism in wrap to "using namespace gtsam;" inside gtsam.h
|
2011-12-09 20:29:47 +00:00 |
Alex Cunningham
|
9dff4c35bd
|
Added include overrides to parser
|
2011-12-09 15:44:35 +00:00 |
Alex Cunningham
|
ead8247bd7
|
Added namespace support to return classes
|
2011-12-08 20:51:17 +00:00 |
Alex Cunningham
|
66711e1faa
|
Added namespace support to arguments
|
2011-12-08 20:51:15 +00:00 |
Alex Cunningham
|
48a2056020
|
Added codegen for namespace handling, examples exercising namespaces
|
2011-12-08 20:51:13 +00:00 |
Alex Cunningham
|
aa2eccbcb4
|
Parsing for namespaces now works in all tests
|
2011-12-08 20:51:08 +00:00 |
Alex Cunningham
|
90e9426d9c
|
Added more tests for namespaces, parser now supports nested namespaces
|
2011-12-08 20:51:07 +00:00 |
Alex Cunningham
|
1aecb58807
|
Simple namespace works
|
2011-12-08 20:51:05 +00:00 |
Alex Cunningham
|
1130cf43e0
|
Limited namespace handling in wrap parser
|
2011-12-08 20:50:38 +00:00 |
Andrew Melim
|
56818da224
|
Added dependency checking to wrapper. Wrapper will now throw an exception if an object depends on another object which has not been wrapped. Tests for dependency checking added. Moved geometry.h to tests folder.
|
2011-12-07 17:55:38 +00:00 |
Alex Cunningham
|
92a0cf67c9
|
Fixed ambiguity issues with returning non-ptr classes, added new copies of functions to gtsam.h and depreciated old ones
|
2011-12-07 03:05:37 +00:00 |
Alex Cunningham
|
1e1511950c
|
small tweaks, disabling broken function - need a parsing rule that distinguishes VectorValues and Vector
|
2011-12-07 03:05:35 +00:00 |
Alex Cunningham
|
f5f59bd213
|
Added better handling for pairs of classes with/without pointers
|
2011-12-07 03:05:33 +00:00 |
Alex Cunningham
|
dcc3e8d0f1
|
wrap: fixed errors in static function matlab codegen, added mechanism to allow for returning classes without shared_ptr
|
2011-12-07 03:05:30 +00:00 |
Alex Cunningham
|
58939b5684
|
Made the 'all' target work properly in the wrap-generated makefile
|
2011-12-06 16:50:27 +00:00 |
Alex Cunningham
|
eec3f0f370
|
Adding support for mex extensions in wrap, configure scripts slightly broken
|
2011-12-05 20:54:41 +00:00 |
Alex Cunningham
|
a38b7245be
|
added an (actual) makefile to parts generated by wrap
|
2011-12-05 20:54:37 +00:00 |
Alex Cunningham
|
3050dc2dde
|
Added wrap components to "wrap" namespace, added options for installing wrap program
|
2011-12-02 16:43:15 +00:00 |
Alex Cunningham
|
221a6ad877
|
Added static function parsing to wrap, included Expmap/Logmap in geometric objects. Static functions appear to still crash matlab, however.
|
2011-12-02 02:32:18 +00:00 |
Alex Cunningham
|
eb109c4dc5
|
Cleaned up debug code
|
2011-12-01 22:06:05 +00:00 |
Alex Cunningham
|
7e221aa7a1
|
Added comment support in wrap
|
2011-12-01 22:06:03 +00:00 |
Alex Cunningham
|
4b4815e97f
|
Added more functions to wrap, started going though wrap tests
|
2011-12-01 18:57:32 +00:00 |
Richard Roberts
|
8fcdfb8cb2
|
Don't need to 'cd' to toolbox directory to run 'make_gtsam' in matlab
|
2011-11-04 11:58:22 +00:00 |
Frank Dellaert
|
f62a6bda1e
|
wrapping PlanarSLAMExample_easy
|
2011-10-21 16:56:50 +00:00 |
Frank Dellaert
|
307fd2737a
|
Fixed instance variable naming convention
|
2011-10-21 02:35:11 +00:00 |
Frank Dellaert
|
5fd71a33eb
|
Documentation
|
2011-10-14 04:43:06 +00:00 |
Frank Dellaert
|
56d1d6ae34
|
Fixed some Doxygen problems with global replace
|
2011-10-14 03:23:14 +00:00 |
Alex Cunningham
|
f4d9ca72a8
|
Added back the matlab interface to gtsam
|
2011-10-13 18:41:56 +00:00 |
Richard Roberts
|
08beb34060
|
Moved doc and wrap to experimental
|
2010-10-25 21:16:20 +00:00 |
Kai Ni
|
24d499039f
|
prepend license information on all the codes
|
2010-10-14 04:54:38 +00:00 |
Richard Roberts
|
1df4385d84
|
Added 'verbose' flag, making unit tests silent
|
2010-02-23 17:04:49 +00:00 |
Frank Dellaert
|
47a01b1d90
|
Tried making tests less verbose
|
2010-02-23 15:13:49 +00:00 |
Frank Dellaert
|
82d541f6a3
|
Fixed wrapper problem
This was because VectorConfig was parsed as Vector. Just changing the order of the parsers fixed this.
|
2009-10-17 04:29:14 +00:00 |
Richard Roberts
|
d80fa24a9f
|
Fixing directory structure
|
2009-08-21 22:23:24 +00:00 |