Duy-Nguyen Ta
6044bffd8a
handle Key by adding noninstantiating normal typedef rule. Fix copy constructor in template classes: using This.
2016-09-12 18:17:47 -04:00
Duy-Nguyen Ta
1b04c6713b
handle "This". Wrap all geometry
2016-09-11 18:14:19 -04:00
Duy-Nguyen Ta
948e6262db
first version ever compiled.
...
... Not without some changes:
- add traits<size_t> in Key.h
- add these to JacobianFactor:
explicit JacobianFactor(const Eigen::Map<Vector>& b_in);
Vector py_getb() { return getb(); }
Matrix py_getA() { return getA(); }
---------
... Remaining corner cases:
☐ Eigency: Map[] to Block
☐ Eigency: ambiguous call: A(const T&) A(const Vector& v) and Eigency A(Map[Vector]& v)
☐ Fix return properly
☐ handle pair
☐ Fix method template of Vector/Matrix: template argument is [Vector] while arugment is Map[Vector]
☐ Constructor: generate default constructor? (hack: if it's serializable?)
☐ Constructor: ambiguous construct from Vector/Matrix
☐ Key and size_t: traits<size_t> doesn't exist
☐ [Nice to have] Auto delete duplicate methods in derived class
2016-09-10 19:50:12 -04:00
Duy-Nguyen Ta
2496de85a9
check if default constructor exists. Autogenerate copy constructor by default
2016-09-10 19:44:53 -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
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
ecde851d8c
[inprogress] cython wrapper
2016-09-08 13:33:32 -04:00
dellaert
72fe66d468
Removed headers
2016-05-22 14:22:36 -07:00
dellaert
14ef786dfe
Removing empty in favor of boost::optional
2014-11-30 10:38:24 +01:00
dellaert
6c24fc2aca
Python prototype
2014-11-14 17:47:25 +01:00
Richard Roberts
686051c032
Convert DOS line endings to UNIX
2014-01-09 16:39:27 -05: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
Chris Beall
4297d24c96
changed tabs to spaces for consistent indentation in all of GTSAM
2012-10-02 14:40:07 +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
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
ce12f3d255
Code cleanup and comments
2012-07-12 22:28:28 +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
Richard Roberts
3c27daae18
wrap_mods_inheritance branch: in progress with inheritance in matlab wrapper
2012-07-08 12:27:39 +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
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
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
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
f0c8c023a0
Added small verbosity changes, verbose now defaults to false in wrap.cpp
2012-06-29 18:38:54 +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
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
Frank Dellaert
9868355b40
Changed & to && to avoid MATLAB warnings
2012-01-15 04:17:21 +00:00
Frank Dellaert
0c03fd010d
Constructors now check argument types to allow multiple constructors in MATLAB with the same number of arguments
2012-01-10 05:06:46 +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
48a2056020
Added codegen for namespace handling, examples exercising namespaces
2011-12-08 20:51:13 +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
Frank Dellaert
3ce23e1f71
Fixed wrap unit test by moving emitted comments or removing them
2011-11-03 23:13:09 +00:00
Frank Dellaert
5d6f4ae7e5
Change ordering of comments so "doc class" works in MATLAB
2011-10-30 20:57:34 +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
Richard Roberts
d80fa24a9f
Fixing directory structure
2009-08-21 22:23:24 +00:00