Commit Graph

66 Commits (9a7dba75c49cd79c1432b6d3380c1e0f6cb0eb0f)

Author SHA1 Message Date
Frank 4319bece1e Deprecated some more methods 2016-02-08 15:16:11 -08:00
Frank 0560467bfc Merge remote-tracking branch 'origin/fix/move_numpy_eigen' into feature/ImuFactorPush2 2016-01-28 16:57:12 -08:00
Frank 52f3432988 Moved numpy_eigen headers to a more logical place 2016-01-28 16:47:12 -08:00
dellaert c4494ba969 Small changes 2016-01-28 01:32:20 -08:00
dellaert 659caa58c1 getNonlinearFactor 2016-01-28 01:32:02 -08:00
dellaert 1b9b90803a Committed to MATLAB atT methods 2016-01-28 01:31:44 -08:00
dellaert 558dfa458a Merge remote-tracking branch 'origin/develop' into feature/ImuFactorPush2
Conflicts:
	gtsam/navigation/tests/testCombinedImuFactor.cpp
	gtsam/navigation/tests/testImuFactor.cpp
2016-01-28 01:13:08 -08:00
dellaert dbe2fe59a3 Cleaned up, committed to atT 2016-01-28 00:58:07 -08:00
Frank 1c19b4e803 More wrapping 2016-01-27 21:23:45 -08:00
Frank 7b60c50297 New method computeError, and more derivative checking (though, expression factors already checked out) 2016-01-27 16:51:09 -08:00
Frank 653a41bc5a Compare prediction with actual navState in two scenarios 2016-01-27 15:15:55 -08:00
Frank 8126e6b51d add navState method 2016-01-27 15:15:33 -08:00
Frank 02e2b37b08 Add a few more template arguments 2016-01-27 14:15:50 -08:00
Frank fa97e5d220 Better printing 2016-01-27 14:15:16 -08:00
Frank 3bb34679be Split into two units 2016-01-27 13:17:03 -08:00
Frank b6ead53c25 Validate bias correction 2016-01-27 11:50:36 -08:00
Frank Dellaert 6eece9cc60 Quaternion now also uppercase 2016-01-26 23:57:34 -08:00
Frank Dellaert 15dfd932f1 Tying up loose ends, ostream, get rid of cov_ 2016-01-26 21:35:32 -08:00
Frank ae867e8d6e Integrate the IMU, plot the prediction 2016-01-26 18:13:28 -08:00
Frank 8e54e00348 ScenarioRunner wrapped and tested 2016-01-26 17:37:23 -08:00
Frank c25e1e6b73 Wrapped ConstantTwistScenario 2016-01-26 14:16:24 -08:00
Frank Dellaert a6c265fda0 OdometryExample and necessary wrapping 2016-01-25 00:58:08 -08:00
dellaert fb8a62dd1d Used python.in to generate setup.py
Also fixed cmake stuff to copy library to correct location
Minor improvements of cmake
Automatic install of python package
2016-01-24 15:28:16 -08:00
Ellon Mendes 4f4d7c2af5 Add value_exists() and calculate_pose3_estimate to ISAM2 in python 2015-12-11 18:20:33 +01: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 31a88ba910 Remove some variables to improve readbility 2015-12-02 15:29:07 +01:00
Ellon Mendes 81a1fe1c3a Create a proper target to generate python/gtsam/_libgtsam_python.so in the build directory 2015-12-02 13:35:17 +01:00
Ellon Mendes 768c594299 Copy python/gtsam to build/python directory
Not the best way since the gtsam module into build/python won't be updated if
.py files change in the python module.
2015-12-02 13:35:17 +01:00
Ellon Mendes 888af6b948 Remove unused lines that generate warnings on CMake 3.4 2015-12-02 13:35:17 +01:00
Ellon Mendes 2e4a96dc18 Do not store RPATH into _libgtsam_python.so
Since we're copying the .so from the build dir to python/gtsam _outside_ the
build dir, we should remove the rpath from the .so, so it will search the
library in the system, and not in the build directory, after installed using
setup.py
2015-12-02 13:35:17 +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 dfc15a2f17 Rename python module related cmake variables to improve readability 2015-12-02 13:35:17 +01:00
Ellon Mendes d51c6f3313 Fix cmake to use default python and boost python versions 2015-12-02 13:35:17 +01:00
Ellon Mendes dfa2b53eeb import_array() --> import_array1() 2015-12-02 13:35:16 +01:00
Ellon Mendes 5b116a4a67 Add option to chose target python version to create module 2015-12-02 13:35:16 +01:00
Ellon Mendes ea6ecdd9d5 Move subdirlist macro to cmake/GtsamPythonWrap.cmake
Conflicts:
	cmake/GtsamPythonWrap.cmake
2015-12-02 13:35:16 +01:00
Ellon Mendes d3db7309bc Make libgtsam_python a hidden module by adding '_' before lib name 2015-12-02 13:35:16 +01:00
Ellon Mendes 46a1970731 Wrap KeyVector to python
While here, do small cleanup on exportgtsam.cpp
2015-12-02 13:35:16 +01:00
Ellon Mendes 92bfcaa004 Wrap some properties of ISAM2Params to python 2015-12-02 13:35:16 +01:00
Ellon Mendes bc73a5132a Wrap few more missing methods on ISAM2 and NonlinearFactorGraph 2015-12-02 13:35:16 +01:00
Ellon Mendes 7576dc359d Wrap more methods of Pose3 to python 2015-12-02 13:35:16 +01:00
Ellon Mendes 8ae3dda6a6 Add helper functions to better handle gtsam.Symbol on 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 c878278687 Wrap GenericProjectionFactor to python 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 818db17392 Wrap symbol 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 ade8ab4053 Remove old files which content was was already moved to other src files 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