Commit Graph

11 Commits (20f29fba0cdbd154a146b58786591be9896af5b2)

Author SHA1 Message Date
Abe fbe9aac41c squash local changes on top of gtsam upstream pull from 6/14/2016 2016-06-18 23:13:59 -07:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
dellaert df4efbf2d7 Fixed python wrapper issue 2016-02-17 17:42:20 -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 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 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