Commit Graph

134 Commits (f64ebfd4d8e59ec3c0d3a63ce4a23acbf0019858)

Author SHA1 Message Date
senselessdev1 00cadab3b0 Merge branch 'develop' of https://github.com/borglab/gtsam into dsf-gtsfm-to-gtsam-port 2022-07-25 00:20:24 -04:00
Varun Agrawal c15d288418 Merge branch 'develop' into custom-factor-separate 2022-07-22 22:49:45 -04:00
Varun Agrawal 7edd021956 fix copying of test files in Cmake 2022-07-22 14:00:03 -04:00
Amado Antonini 029631e483 Merge branch 'develop' into main 2022-07-21 11:42:48 -04:00
Varun Agrawal 3d3703441c wrap custom factor in a separate file 2022-07-19 14:10:46 -04:00
senselessdev1 809923a6f2 Start GTSFM's DSF port to C++ 2022-07-15 23:32:03 -04:00
Fan Jiang d5fd279449 Merge remote-tracking branch 'origin/develop' into fan/prototype-hybrid-tr 2022-05-21 13:56:41 -07:00
Varun Agrawal 1d67019f54 remove user flag for pip install 2022-05-11 12:06:11 -04:00
Akshay Krishnan 3a81d42d2c
Merge branch 'develop' into ta-add-methods 2022-05-09 22:49:34 -07:00
Fan Jiang 1bf995234a Merge remote-tracking branch 'origin/develop' into fan/prototype-hybrid-tr 2022-05-08 11:45:22 -07:00
Akshay Krishnan 2e8d8ddf88 Merge branch 'develop' of github.com:borglab/gtsam into ta-add-methods 2022-05-05 21:49:51 -07:00
Akshay Krishnan 279b9bedf9 wrapper changes 2022-05-05 18:52:01 -07:00
Fan Jiang 28b216b72f Correct the binding for BinaryMeasurement 2022-05-03 16:24:09 -04:00
Fan Jiang 86b9761b5b Also copy the preambles and specializations 2022-05-03 13:57:48 -04:00
Gerry Chen 48310cf8d4
fix bug that python utils files don't regenerate upon edit 2022-04-20 16:33:50 -04:00
Fan Jiang 1fe7e743c4 Merge remote-tracking branch 'origin/develop' into fan/prototype-hybrid-tr 2022-04-16 15:59:03 -04:00
Fan Jiang d2dc620b1e Add Python bindings 2022-03-25 17:14:00 -06:00
Varun Agrawal 9ed73270f6 update to use pip for installation and install to user directory by default 2022-03-24 16:28:34 -04:00
Frank Dellaert 01f3fe50e4 Merge branch 'develop' into wrap-karcher-mean-rot3 2022-01-28 10:59:31 -05:00
John Lambert 6678fe01ad
add Rot3Vector to python/CMakeLists.txt 2022-01-26 17:59:20 -07:00
Frank Dellaert 2fda2a1c00 Added inference module 2022-01-26 08:13:09 -05:00
senselessDev b35ed16675
remove --prefix for setup.py 2022-01-24 13:59:58 +01:00
senselessDev fb0575720c consider CMAKE_INSTALL_PREFIX for python-install target 2022-01-23 14:48:39 +01:00
senselessDev 67ca0b9c4e add python test files to test target dependencies 2022-01-23 14:19:26 +01:00
Frank Dellaert a38de28535 Tested python wrapper without Lie* 2022-01-02 15:00:49 -05:00
Frank Dellaert 7891154d8e Merge branch 'develop' into feature/discrete_wrapper 2021-12-06 13:22:25 -05:00
Varun Agrawal 0cbec6736a update cmake to copy python tests whenever they are updated 2021-11-10 18:23:38 -05:00
Varun Agrawal d852c7e79b update CMake 2021-10-25 13:01:58 -04:00
Varun Agrawal 21c1945334 address review comments 2021-10-18 12:23:38 -04:00
Varun Agrawal 108c77b57a use variables to store targets 2021-10-18 08:56:08 -04:00
Fan Jiang 64bbc79bf6 Add wrapping and tests 2021-10-08 16:06:09 -04:00
Frank Dellaert e022084a06 Added wrapper files 2021-10-04 21:56:06 -04:00
John Lambert 8bd2e6a976
add gtsam::Point2Pairs to CMakeLists.txt 2021-08-30 16:44:11 -04:00
Varun Agrawal 286b2fa4b0 fix python tests and make verbose so they are easy to debug 2021-08-28 15:37:06 -04:00
Varun Agrawal ff7ddf48bd
Basis functions (#403) 2021-08-27 08:10:31 -04:00
Varun Agrawal 5baf0ce85a Update `make python-test` so that it works even if GTSAM is already installed 2021-08-23 02:14:04 -04:00
Varun Agrawal 6919ad9277 update interface files with latest develop 2021-07-14 21:53:20 -04:00
Varun Agrawal e8e3094556 update CMake 2021-07-11 08:10:09 -07:00
Varun Agrawal 52bf1cd765 add cmake command to run GTSAM python tests 2021-06-13 10:24:15 -04:00
Varun Agrawal 436c8fa436
Merge pull request #711 from borglab/feature/matlab-wrap 2021-03-14 11:13:44 -04:00
Varun Agrawal 6f81bdea7b offload matlab wrapping to the wrap project 2021-03-09 15:07:15 -05:00
John Lambert 104031dca3 Rename PointPairs to Point3Pairs everywhere per popular demand 2021-03-03 00:25:04 -05:00
John Lambert 7d90e5040b add Align() for pose3pairs 2021-02-25 20:51:33 -05:00
John Lambert 0effe69df2 add sim3 Point3 align to wrapper 2021-02-24 15:26:13 -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