Commit Graph

129 Commits (cc56e3313c6961eec04a32e9b2f58ca8bd81ea87)

Author SHA1 Message Date
akrishnan86 98404ad27e updating defaultdict init 2020-09-27 18:55:14 -07:00
Frank Dellaert b5014b1403
Merge pull request #540 from borglab/fix/imu-factor-example
ImuFactorExample minor fixes
2020-09-25 15:31:43 -04:00
akrishnan86 fbb26eea07 naming and other changes - review1 2020-09-24 22:32:04 -07:00
Varun Agrawal 74c4a60e83 small fixes to ensure marginals are computed correctly 2020-09-24 17:34:30 -04:00
John Lambert 8e0b0c1641
mark SFMExample_bal as still in progress 2020-09-22 15:49:05 -04:00
John Lambert 34f670e9d5 remove BAL for now, and add get3dPoint() for p access 2020-09-22 15:44:31 -04:00
akrishnan86 4b06616dfe adding documentation for example 2020-09-21 20:40:43 -07:00
John Lambert 749971d57c Merge branch 'SFMExample_bal_python' of https://github.com/johnwlambert/gtsam into SFMExample_bal_python 2020-09-21 14:21:47 -04:00
John Lambert afa74c4f57 cannot retrieve p attribute 2020-09-21 14:21:33 -04:00
John Lambert 0d19859f82 add python equivalent of c++ sfm data calls 2020-09-21 12:28:46 -04:00
John Lambert 2af56303fc add p 2020-09-21 12:28:16 -04:00
John Lambert 0e7719ae98
update python examples list 2020-09-21 12:19:33 -04:00
John Lambert 7478c19aad
update example list 2020-09-21 12:16:20 -04:00
John Lambert 169d42f313
use cleaner checkmark symbol in readme 2020-09-21 12:08:18 -04:00
Akshay Krishnan 565467f2ff translation averaging example 2020-09-20 20:34:10 +00:00
akrishnan86 1ed651b1a2 wrap MFAS 2020-09-18 23:14:07 -07:00
Varun Agrawal aa67e3c276 Make SharedNoiseModel as optional parameter, remove hardcoded verbosity, and silence test. 2020-09-17 21:36:34 -04:00
Akshay Krishnan 79827eb802
Merge branch 'develop' into feature/wrap_translation_averaging 2020-09-07 20:08:50 -07:00
Akshay Krishnan 556531f8b7 translation recovery unit tests pass 2020-09-06 23:54:27 +00:00
akrishnan86 0fb5c0d228 translation recovery py test 2020-09-06 11:56:13 -07:00
Fan Jiang 788a8771c4 Add the unit test for DSF in Python 2020-09-06 14:34:30 -04: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
akrishnan86 9b481cb790 wrapping translation recovery doesnt build 2020-08-27 22:18:53 -07:00
Varun Agrawal 32943df612
Merge pull request #365 from borglab/imu-examples
Reworked IMU examples
2020-08-24 13:54:39 -04:00
Fan Jiang 8e5dbeba57 Fix preamble.h 2020-08-21 11:57:01 -04:00
Fan Jiang 7f32553440 Merge remote-tracking branch 'origin/develop' into feature/tbb_fixes 2020-08-21 11:56:51 -04:00
Varun Agrawal 9e1c4fc2fb Merge branch 'develop' into imu-examples 2020-08-21 11:25:39 -04:00
Frank dellaert 12d8ae2f5f Address review comments 2020-08-21 11:01:08 -04:00
Fan Jiang 4ba494aa3f Cleanup preamble and specialization 2020-08-21 10:43:19 -04:00
Frank Dellaert 30ee2b9409
Merge branch 'develop' into feature/ShonanCLI 2020-08-21 09:46:04 -04:00
Frank dellaert 9f660f9b98 Made 2D and 3D translation recovery work, and added plot 2020-08-20 23:26:29 -04:00
Frank dellaert af7ced4112 Now plots 2D or 3D trajectories (on a 3D plot) 2020-08-20 23:25:51 -04:00
Frank dellaert 84e0bc5351 Added more support for Pose2 data 2020-08-20 23:25:28 -04:00
Frank dellaert 3d477f3a38 Fixed Point2 and Point3 to have similar behavior as in C++
- to also take vectors
- to be initialized to Nan
2020-08-20 18:50:47 -04:00
Fan Jiang 67ddcaf22d Add missing newline 2020-08-20 18:17:44 -04:00
Fan Jiang fb96e049c4 Fix Python wrapper with TBB on 2020-08-20 16:58:21 -04:00
Frank dellaert 96a59e6a14 Python CLI 2020-08-19 23:43:24 -04:00
Frank Dellaert cb2a8cd950 Added Shonan Averaging unit tests 2020-08-18 23:19:56 -04:00
Fan Jiang cbddcd0f51 Add docs for preamble and specialization.h 2020-08-18 11:32:05 -04:00
Fan Jiang 0c3b08ef4c Document tricks to allow direct import from xxx 2020-08-18 11:29:13 -04:00
Fan Jiang 09c1e3b3f4 Add documentation to the templates 2020-08-18 11:26:34 -04:00
Fan Jiang d790f235a7 Add supplimentary files used by the new pybind11 wrapper 2020-08-18 11:03:51 -04:00
Fan Jiang 03306cba9c Migrated all examples and tests 2020-08-18 11:02:35 -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 723d00a40a Small fixes 2020-08-17 19:21:06 -04:00
Fan Jiang b0d100b8fb Python supplementary files 2020-08-17 14:38:00 -04:00
Fan Jiang fa97bc2372 Newline 2020-07-31 12:48:50 -04:00
Fan Jiang c0486d39a0 Import classes used more than once 2020-07-31 12:47:08 -04:00
Fan Jiang b02cc3f7e3 remove function import 2020-07-31 12:42:09 -04:00
Fan Jiang 1cabd2000f Sync with new_wrapper develop branch 2020-07-31 12:39:04 -04:00
Fan Jiang fda79057e4 import from is working 2020-07-31 12:16:25 -04:00
Fan Jiang 3d4a8e16a2 Moved python files 2020-07-31 11:49:31 -04:00
dellaert e88282c31a removed python 2019-05-19 11:30:32 -04:00
Ellon Mendes 5482f1f5eb [python] Make python library hidden by renaming gtsampy.so to _gtsampy.so
This commit also fixes a naming problem of the python .so module
(_libgtsam_python.so -> _gtsampy.so)
2017-03-07 15:24:36 -08:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
dellaert 7b493812e8 Adapt to new dir structure 2016-01-24 15:51:04 -08:00
dellaert 0605abfea5 Chaned dir structure a bit 2016-01-24 15:50:31 -08: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 09ec306013 Update __ini__.py to be supported in python 2 and 3 2015-12-02 13:35:17 +01:00
Ellon Mendes 72bcc4f08e Change VisualISAM2Example to work with python 2 and python 3 2015-12-02 13:35:17 +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 8fa1acc553 Move plot functions to a submodule utils 2015-12-02 13:35:16 +01:00
Ellon Mendes 4f37929d80 Add ploting to VisualISAM2Example.py 2015-12-02 13:35:16 +01:00
Ellon Mendes a6b48194fd Print result of example to console 2015-12-02 13:35:16 +01:00
Ellon Mendes cba6085557 Add VisualISAM2Example. Still need to finish some details of the example 2015-12-02 13:35:16 +01:00
Ellon Mendes 982d81e1c9 Add python version of SFMdata as gtsam.examples submodule
The gtsam.examples submodule should be loaded explicitely:
>>> import gtsam.examples
2015-12-02 13:35:16 +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
Ellon Mendes 9a97248ee4 Put classes in namespaces close to gtsam's C++ interface 2015-12-02 13:35:15 +01:00
Ellon Mendes 72d73c6721 Add slam as submodule of gtsam python module 2015-12-02 13:35:15 +01:00
Ellon Mendes 7cfd57339a Add nonlinear submodule of gtsam python module 2015-12-02 13:35:15 +01:00
Ellon Mendes ff1cd140bb Register convertion between numpy and eigen in a separated submodule 2015-12-02 13:35:14 +01:00
Ellon Mendes a0064f3aab Add geometry submodule of python module 2015-12-02 13:35:14 +01:00
Ellon Mendes 96d6b79f5e Start organizing python module
Organize gtsam modules into submodules. Start with a handwritten noiseModel
module.

Conflicts:
	CMakeLists.txt
2015-12-02 13:35:14 +01:00
Andrew Melim dca285a9d8 Remove library 2015-12-02 13:35:14 +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 def2f1a91c Installation script for python Distutils for python package. Installs to default python dist-packages location call : python setup.py install 2015-12-02 13:35:14 +01:00