Commit Graph

41 Commits (6f81bdea7b078ff447a520544f04e0c2606344e3)

Author SHA1 Message Date
Varun Agrawal 6f81bdea7b offload matlab wrapping to the wrap project 2021-03-09 15:07:15 -05:00
Varun Agrawal 3a80b38a9a updates to Cmake to use the new wrap package 2021-01-04 13:13:01 -05:00
Sushmita 7125179e4b added cmake and preamble 2020-12-03 20:58:51 -05:00
Sushmita 8fd2d98424 templated functions where possible 2020-12-01 19:31:44 -05:00
Sushmita 02e94730a6 vector of cameras and triangulation function wrapped 2020-11-27 00:14:52 -05:00
akrishnan86 1ed651b1a2 wrap MFAS 2020-09-18 23:14:07 -07:00
Akshay Krishnan 79827eb802
Merge branch 'develop' into feature/wrap_translation_averaging 2020-09-07 20:08:50 -07:00
Fan Jiang e43f78bfe8 Wrap DSFMap so SFM can use them 2020-09-06 14:31:48 -04:00
Varun Agrawal 43dfe0f47d Add python version of findExampleDataFile 2020-08-31 13:56:56 -04:00
Varun Agrawal ac3e564293 Better location for setting Python dataset directory in CMake 2020-08-31 10:10:54 -04:00
akrishnan86 7ffa54f896 TAvg wrapper builds 2020-08-30 21:53:12 -07:00
Frank dellaert 84e0bc5351 Added more support for Pose2 data 2020-08-20 23:25:28 -04:00
Fan Jiang 8154dfd10b Add dependency for python-install 2020-08-18 22:39:13 -04:00
Fan Jiang 3d846ef7a8 Reformat CMake files 2020-08-18 11:47:38 -04:00
Fan Jiang d790f235a7 Add supplimentary files used by the new pybind11 wrapper 2020-08-18 11:03:51 -04:00
Fan Jiang 6604b4f45b Renamed cython to python 2020-08-18 10:56:08 -04:00
Fan Jiang bb6aea3b8f Remove python folder temporarily 2020-08-18 10:55:45 -04:00
Fan Jiang b0d100b8fb Python supplementary files 2020-08-17 14:38:00 -04:00
dellaert e88282c31a removed python 2019-05-19 11:30:32 -04:00
Frank 52f3432988 Moved numpy_eigen headers to a more logical place 2016-01-28 16:47:12 -08:00
Chris Beall 00da6d3f81 string concat the CMake 2.8-friendly way 2016-01-24 23:29:06 -05:00
Chris Beall 8c0f928f11 Another attempt at fixing installation of _libgtsam_python.so. package_data is relative to package_dir, so the previous approach doesn't work when package_dir is in the source tree (and we don't want to copy the lib to source, or all of the source into lib). Using data_files method instead. 2016-01-24 23:22:40 -05: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
Chris Beall 4c44ddc4e6 Print all python-related dependency warnings at the end of cmake output with all the other warnings. Don't automatically toggle GTSAM_BUILD_PYTHON option to OFF - this is more consistent with how other options are handled. 2016-01-21 01:13:22 -05:00
dellaert c77997fbb1 Fixed typo 2016-01-19 23:18:39 -08:00
cbeall3 31888d653c Remove CMake option to use 3rdparty numpy C-API 2016-01-19 14:45:34 -05:00
Ellon Mendes 46178731c6 "cmake -E copy_if_different" -> "cmake -E copy" for .py files
"cmake -E copy" is enough because it checks the timestamp to decide if it the
copy should be made or not.
2015-12-03 13:01:19 +01:00
Ellon Mendes 4f509c2dff Improve printing when copying .py files 2015-12-02 14:15:10 +01:00
Ellon Mendes 4671b03e74 Only copy .py files if they've changed 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 dfc15a2f17 Rename python module related cmake variables to improve readability 2015-12-02 13:35:17 +01:00
Ellon Mendes eb798f88fe Add NumPy C-API 1.8.2 to gtsam/3rdparty; Add option o use system or bundled one 2015-12-02 13:35:17 +01:00
Ellon Mendes 40a567c1ed Look for NumPy C-API if building the python module 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 5b116a4a67 Add option to chose target python version to create module 2015-12-02 13:35:16 +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
Andrew Melim 4e00f70e82 Updating cmake build 2015-12-02 13:35:14 +01:00
Andrew Melim 414e6b58f9 Finally fixed templates, moved into single library for simplicity, add noisemodels, nonlinear 2015-12-02 13:35:14 +01:00
Andrew Melim d0efbadac8 Example on how to wrap templated classes such as factors 2015-12-02 13:35:14 +01:00
Andrew Melim ec934770f3 Initial stages of python wrapping. Issues with method overloading, boost optionals. Testing with Point2 only now 2015-12-02 13:35:13 +01:00