Commit Graph

24 Commits (68af6d66220a02a0c7ab409c9fabffbf8bf5f14f)

Author SHA1 Message Date
Frank Dellaert a79be00dd6 no wrapping if typedef 2016-06-08 18:34:24 -07:00
Frank be21889e9d One flag to rule them all: GTSAM_TYPEDEF_POINTS_TO_VECTORS 2016-06-06 18:31:10 -07:00
dellaert bdbbe0203d Derive Point2 from Vector2 and deprecate a number of methods 2016-06-05 23:52:04 -07:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
dellaert 6d4cf0c115 Fix compile issue 2016-02-18 09:55:59 -08:00
dellaert a9b0d81be4 Yet another overload fix in python wrapper 2016-02-17 18:56:44 -08:00
dellaert df4efbf2d7 Fixed python wrapper issue 2016-02-17 17:42:20 -08:00
Frank fefb74350a Merge branch 'feature/lightweightPoint3' into feature/Vector3
Conflicts:
	gtsam/geometry/Point3.cpp
2016-02-09 18:03:17 -08:00
Frank 90e7a9a194 Made all methods with derivatives available as free functions 2016-02-09 18:01:47 -08:00
Frank 3394e85ef7 Now allows for a flag to compile Point3 as derived from Vector3 2016-02-08 17:34:42 -08:00
Frank 4319bece1e Deprecated some more methods 2016-02-08 15:16:11 -08:00
Frank Dellaert 6eece9cc60 Quaternion now also uppercase 2016-01-26 23:57:34 -08:00
Ellon Mendes 383986902a Add quaternion() method, use properly quaternion named constructor, and add some comments on RzRyRx 2015-12-11 18:19:05 +01:00
Ellon Mendes 868f1511fc Add Quaternion named constructor to Rot3 in the python module 2015-12-08 14:31:24 +01:00
Ellon Mendes 57373c8c47 Wrap Cayley methods to python only if not using Quaternions 2015-12-02 13:35:17 +01:00
Ellon Mendes 7576dc359d Wrap more methods of Pose3 to python 2015-12-02 13:35:16 +01:00
Ellon Mendes 49d02c798f Wrap PinholeBaseK to python and declare it as parent of PinholeCamera 2015-12-02 13:35:16 +01:00
Ellon Mendes 6196f95301 Wrap Cal3_S2 to python 2015-12-02 13:35:16 +01:00
Ellon Mendes 0e134c09db Wrap PinholeCameraCal3_S2 to python 2015-12-02 13:35:16 +01:00
Ellon Mendes 05f6237f71 Define NO_IMPORT_ARRAY in all cpp files before including NumpyEigenConverter.hpp
This fixes the segmentation fault when converting numpy and Eigen.

The reason is that NumpyEigenConverter.hpp includes numpy/arrayobject.h, and for
the numpy's C-API to work in multiple files we need to define NO_IMPORT_ARRAY
before including numpy/arrayobject.h in all the source files but the one that
defines the module initialization (exportgtsam.cpp in out case), as explained
here:
http://docs.scipy.org/doc/numpy/reference/c-api.array.html#importing-the-api

Note that PY_ARRAY_UNIQUE_SYMBOL, also needed to work multifile, is already
defined on NumpyEigenConverter.hpp.
2015-12-02 13:35:15 +01:00
Ellon Mendes c140a784fe Add constness to matrices and vectors 2015-12-02 13:35:15 +01:00
Ellon Mendes d76ed71c99 Move my developments to the handwritten structure of files that existed before
There's a problem with numpy_eigen causing a segmentation fault.
2015-12-02 13:35:15 +01:00
Ellon Mendes ffae37a675 Revert python module to use old handwritten files
Just noticed several handwritten files here. I'm reverting the python module to
use these handwritten files to later add the files I was wrapping to the same
framework.

Classes from geometry were wrapped for an old C++ interface, so several
boost python's .def(...) were commented out.

Conflicts:
	python/gtsam/.gitignore
2015-12-02 13:35:15 +01:00
Andrew Melim 20f5c46507 Reworked python directory structure. Added readme on constructing python module. Added first unit test for point2. Everything needed to get it passing is also here, including some renaming of variables and emitted library names
Conflicts:
	cmake/GtsamPythonWrap.cmake
	python/handwritten/examples/OdometeryExample.py
	wrap/Module.cpp
2015-12-02 13:35:14 +01:00