Frank Dellaert
be5aa56df7
Constructor from PMF
2022-01-15 08:15:46 -05:00
Calvin
2e8dcdd410
Added a convenience function for plotting 2D points.
2022-01-13 18:11:55 -06:00
John Lambert
0ff9110f3c
add missing type hint annotation import
2022-01-12 15:39:09 -07:00
John Lambert
0f1ff48db5
add missing type hint import
2022-01-12 16:49:12 -05:00
John Lambert
e2993eafe6
yapf pep8 reformat
2022-01-12 13:41:54 -05:00
John Lambert
f009a14151
add missing type hint
2022-01-12 13:24:08 -05:00
John Lambert
d66b1d7a84
fix syntax errors
2022-01-12 13:01:23 -05:00
John Lambert
b60ca0c107
Update test_Triangulation.py
2022-01-12 09:57:59 -07:00
Frank Dellaert
a7b7a8b0fa
Working html for conditionals
2022-01-09 10:20:59 -05:00
Frank Dellaert
8c3d512629
Fixed python test
2022-01-02 23:24:03 -05:00
Frank Dellaert
c51bba81d8
Fix sample()
2022-01-02 22:30:26 -05:00
Frank Dellaert
a38de28535
Tested python wrapper without Lie*
2022-01-02 15:00:49 -05:00
John Lambert
fa38b297af
forece nonnegative scale for Sim(3)
2021-12-30 12:50:26 -05:00
Frank Dellaert
a6ea6f9153
single-value sample()
2021-12-28 17:49:18 -05:00
Frank Dellaert
340ac7569d
Removed 2 and 3 key constructors for DecisionTreeFactor because wrapper is awesome!
2021-12-28 13:00:14 -05:00
Frank Dellaert
93e9756ef0
Removed all specialized constructors, because wrapper is awesome!
2021-12-28 09:47:18 -05:00
Frank Dellaert
911819c7f2
enumerate
2021-12-27 13:55:11 -05:00
Frank Dellaert
c622dde7a7
Fix typo in test
2021-12-27 13:55:05 -05:00
Frank Dellaert
457d074858
likelihood
2021-12-27 13:01:29 -05:00
Frank Dellaert
dbe5c0fa81
Allow a vector of doubles for single-variable factors
2021-12-26 23:42:12 -05:00
Frank Dellaert
3339517340
Additional DiscreteConditional constructors to support wrapper.
2021-12-26 16:54:21 -05:00
Frank Dellaert
a1b8f52da8
Wrap single-argument methods
2021-12-26 15:25:33 -05:00
Frank Dellaert
4727783304
Wrap DiscretePrior
2021-12-26 14:11:46 -05:00
Varun Agrawal
ffa73a47ee
Add DiscreteConditional unit test for markdown printing
2021-12-25 09:33:04 -05:00
Frank Dellaert
00c4af16ec
markdown for DiscreteBayesTree
2021-12-24 14:34:47 -05:00
Frank Dellaert
b29b0eaa1c
Test and dot file
2021-12-23 18:20:00 -05:00
Varun Agrawal
3f20c0016e
make gtsam_unstable conform to python wrapping layout
2021-12-22 14:19:22 -05:00
Frank Dellaert
a5351137ab
Show factor graph in notebook
2021-12-20 00:26:13 -05:00
Frank Dellaert
74951bee33
wrap and notebook
2021-12-19 22:39:22 -05:00
Frank Dellaert
7257797a5f
Wrap () operators
2021-12-16 13:52:58 -05:00
Frank Dellaert
a4dab12bb0
Wrapped and test Discrete Bayes Nets
2021-12-15 21:57:58 -05:00
Frank Dellaert
f59342882a
Use evaluate not value
2021-12-15 06:34:46 -05:00
Frank Dellaert
ebc37eeba5
Wrapped more DiscreteFactorGraph functionality
2021-12-15 06:07:20 -05:00
Frank Dellaert
02dbcb4989
Get rid of "and" business
2021-12-13 08:55:32 -05:00
Frank Dellaert
16672daf83
Merge branch 'develop' into feature/discrete_wrapper
2021-12-13 08:42:42 -05:00
Frank Dellaert
5a2ce5af3b
wrapped and tested EssentialMatrixConstraint
2021-12-11 13:21:15 -05:00
Frank Dellaert
7891154d8e
Merge branch 'develop' into feature/discrete_wrapper
2021-12-06 13:22:25 -05:00
roderick-koehle
8846324b34
Merge branch 'borglab:develop' into Fix-Cal3Fisheye-Jacobian
2021-11-22 21:05:15 +01:00
Gerry Chen
496a206d08
Merge pull request #922 from borglab/feature/Pose3adjointJacobians
...
Add Jacobian of second argument to `adjoint` and `adjointTranpsose`
2021-11-11 02:32:46 -05:00
Varun Agrawal
cd7cb2e137
Merge pull request #921 from borglab/fix/python-tests
2021-11-10 22:41:46 -05:00
Gerry Chen
d86fc98706
update python wrapper
2021-11-10 19:01:31 -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
0ccb18b055
add return type definitions
...
Because my time is more valuable than a reviewer's pedanticness
2021-11-10 14:27:28 -05:00
Varun Agrawal
5c9c60a0be
address reviewer comments
2021-11-10 13:57:31 -05:00
Varun Agrawal
1bcb44784a
format and refactor the SFM BAL example
2021-11-09 18:19:47 -05:00
John Lambert
60053906a6
add python unit tests
2021-11-06 16:15:20 -04:00
Varun Agrawal
41dc3f876b
Merge pull request #872 from borglab/fix/imu-examples
2021-10-29 09:34:09 -04:00
Varun Agrawal
b15297ae40
address review comments
2021-10-28 15:19:36 -04:00
jerredchen
99ce18c857
formatting by Google style
2021-10-28 12:29:00 -04:00
jerredchen
44fa7e552e
Merge branch 'develop' of https://github.com/borglab/gtsam into origin/feature/python_examples
2021-10-28 10:00:38 -04:00
roderick-koehle
296c937ca8
Fix calling scaling_factor static method.
2021-10-28 15:55:25 +02:00
Varun Agrawal
d98e6e500a
address review comments
2021-10-28 09:51:31 -04:00
roderick-koehle
2763bd8968
Convergence of equidistant scaling utilizing atan2
2021-10-28 14:34:04 +02:00
roderick-koehle
91103d5f47
Check numeric stability close to optical axis
2021-10-28 11:20:12 +02:00
roderick-koehle
f8444813ae
Merge branch 'borglab:develop' into Fix-Cal3Fisheye-Jacobian
2021-10-28 11:15:17 +02:00
jerredchen
c51a1a2309
removed ground truth; set ang in deg and convert to rad for Pose3iSAM2
2021-10-27 22:35:03 -04:00
jerredchen
e31beee22b
removed ground truth; angles set in deg and converted to rad
2021-10-27 22:33:11 -04:00
Frank Dellaert
f50f963e57
Add main
2021-10-27 13:44:54 -04:00
Varun Agrawal
15e57c7ec8
specify optional args as Optional type
2021-10-27 10:03:31 -04:00
Varun Agrawal
755484c579
fix small bug
2021-10-27 10:01:50 -04:00
Varun Agrawal
e4a2af5f3f
address review comments
2021-10-27 09:58:07 -04:00
Varun Agrawal
d852c7e79b
update CMake
2021-10-25 13:01:58 -04:00
jerredchen
79f7861f0c
made changes according to Frank
2021-10-24 15:34:49 -04:00
Varun Agrawal
c56579c61d
Merge pull request #903 from borglab/feature/python-examples
2021-10-23 01:06:09 -04:00
Varun Agrawal
cb0e62b1ad
Merge pull request #899 from borglab/add-pose2-lago-to-wrapper
2021-10-22 22:17:15 -04:00
Varun Agrawal
f8f93cab21
add type annotations
2021-10-22 19:28:11 -04:00
John Lambert
a93c58abd6
use Point3 instead of artificial vector3
2021-10-22 15:05:37 -04:00
John Lambert
d48b7371bb
use Point3 instead of artificial vector3
2021-10-22 15:05:05 -04:00
Varun Agrawal
430530ca54
put all example scripts inside main() functions and apply formatting
2021-10-22 14:40:30 -04:00
roderick-koehle
1640f172e6
Test jacobian of Cal3Unified for on-axis point
2021-10-22 19:34:27 +02:00
roderick-koehle
0a1fead551
Test of jacobian of Cal3Fisheye for on-axis point
2021-10-22 19:33:06 +02:00
John Lambert
bc68ecb5ab
use unittest framework instead of pytest
2021-10-22 01:18:51 -04:00
Varun Agrawal
b3e8bf2325
fix the included_imu_measurement_count scope
2021-10-21 18:45:57 -04:00
Varun Agrawal
1e84fd9cc4
refactor the example to make it cleaner
2021-10-21 16:33:32 -04:00
John Lambert
84d291003f
add lago unit test, since lago namespace cannot be imported properly be wrapper
2021-10-21 16:14:44 -04:00
John Lambert
3ce02ba21e
fix typos in python example file
2021-10-21 16:08:33 -04:00
Varun Agrawal
03ac36c8c3
use python f-strings
2021-10-21 15:12:31 -04:00
Varun Agrawal
279c645028
fix type annotation
2021-10-21 15:08:21 -04:00
Varun Agrawal
86ab7d323a
Merge branch 'develop' into fix/566
2021-10-21 15:02:33 -04:00
Varun Agrawal
6145466dec
add type annotations
2021-10-21 15:02:24 -04:00
John Lambert
b9f10cdb15
use nested namespace
2021-10-21 11:04:06 -06:00
John Lambert
c5e24dbae4
add LAGO example to Python
2021-10-21 10:37:00 -04:00
Varun Agrawal
21c1945334
address review comments
2021-10-18 12:23:38 -04:00
Varun Agrawal
7793a2ddc1
clean up the __init__ file
2021-10-18 09:16:49 -04:00
Varun Agrawal
108c77b57a
use variables to store targets
2021-10-18 08:56:08 -04:00
jerredchen
00c541aca6
adjusted docstrings to match google style guide
2021-10-14 13:42:21 -04:00
John Lambert
80ebd5a63b
Add specific examples to stress-test the log map
2021-10-13 19:41:04 -04:00
jerredchen
47c45c633f
Added minor comments for documentation
2021-10-13 11:03:40 -04:00
jerredchen
859c5f8d07
added new Python examples using iSAM2
2021-10-13 00:13:05 -04:00
Fan Jiang
64bbc79bf6
Add wrapping and tests
2021-10-08 16:06:09 -04:00
John Lambert
225ac77f2f
fix assert
2021-10-07 21:04:58 -04:00
John Lambert
0b0897d465
fix typo
2021-10-07 17:21:22 -04:00
John Lambert
bb87dcf759
add python unit test for Rot3
2021-10-07 17:20:47 -04:00
Frank Dellaert
055d8c7495
Added WIP python test
2021-10-04 21:56:39 -04:00
Frank Dellaert
e022084a06
Added wrapper files
2021-10-04 21:56:06 -04:00
Varun Agrawal
7076244b60
update template to record correct name of cpp file
2021-09-10 11:53:41 -04:00
Varun Agrawal
19850425b8
clean up and refactoring to use custom preintegration params
2021-09-10 11:02:14 -04:00
Varun Agrawal
5131f6b0a6
fix matplotlib deprecation
2021-09-03 08:05:11 -04:00
Varun Agrawal
67a26c1f93
refactor to remove all pylint errors
2021-09-03 08:04:59 -04:00
Varun Agrawal
1205df2c07
update documentation for boost::optional binding
2021-09-01 15:32:43 -04:00
Varun Agrawal
9f661c01cf
formatting
2021-09-01 15:29:39 -04:00
Varun Agrawal
fbdef91c54
add support for boost::optional return type in geometry.i
2021-09-01 15:29:29 -04:00
John Lambert
bc641f893d
directly import only classes from gtsam
2021-08-31 14:14:37 -04:00
John Lambert
3fc7692b4a
import align from gtsam directly
2021-08-31 08:35:43 -06:00
John Lambert
5c737c3cc4
fix missing imports
2021-08-31 09:42:49 -04:00
John Lambert
2d2ca21d1a
add python unit test on Pose2.align()
2021-08-31 09:14:59 -04:00
John Lambert
cff3c5b4f4
start python unit test for align()
2021-08-31 06:26:52 -06:00
John Lambert
55785f8180
add Point2Pairs to specializations
2021-08-30 16:44:58 -04:00
John Lambert
8bd2e6a976
add gtsam::Point2Pairs to CMakeLists.txt
2021-08-30 16:44:11 -04:00
Varun Agrawal
289cb8f35b
break down tests to make reporting clearer
2021-08-29 04:36:57 -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
Gerry Chen
2f6b8d6314
docstrings and formatting
2021-08-27 12:01:06 -04:00
Gerry Chen
b99bf4e929
add <pybind/stl.h> and fix constructor argument order
2021-08-27 11:23:38 -04:00
Gerry Chen
15120ce9ab
python unit test for FitBasis
2021-08-27 10:41:41 -04:00
Varun Agrawal
ff7ddf48bd
Basis functions ( #403 )
2021-08-27 08:10:31 -04:00
Varun Agrawal
d4202a23ec
add missing import of Pose3
2021-08-23 18:45:37 -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
366ad84773
wrap NonlinearEquality2 + python unit test
2021-08-23 02:13:31 -04:00
Frank Dellaert
57bdf33f6e
Merge pull request #855 from borglab/SFMdata-add-type-hints
...
clean up SFMdata python module
2021-08-22 11:17:03 -04:00
John Lambert
67403b0e96
clean up SFMdata
2021-08-21 21:08:37 -06:00
John Lambert
36421243aa
improve docstring
2021-08-21 20:22:53 -06:00
John Lambert
068e558d34
Expand DSF map unit tests
2021-08-21 20:16:39 -06:00
Varun Agrawal
23858f31e9
working implementation
2021-08-20 13:37:27 -04:00
Varun Agrawal
0098e76e99
full slew of tests
2021-08-20 00:55:15 -04:00
Varun Agrawal
e056a3393c
added Python tests
2021-08-19 23:32:52 -04:00
Fan Jiang
4ea2b2ee9a
Merge pull request #844 from borglab/add-python-type-hints
...
Add python type annotations to some older python files
2021-08-17 00:57:55 -04:00
John Lambert
939c3047e7
add Optional type annotations where needed
2021-08-12 20:01:03 -04:00
John Lambert
db9b98030b
import GncLMParams, GncLMOptimizer to prevent pybind's automatic long names from name concat
2021-08-12 18:31:24 -04:00
John Lambert
8a97f7ddeb
add missing docstring for an input arg
2021-08-12 09:15:33 -04:00
John Lambert
1684cb1bf4
add missing type hint
2021-08-12 09:09:37 -04:00
John Lambert
c0ae0ccd68
add more missing type hints
2021-08-12 08:11:34 -04:00
John Lambert
68794468f2
clean up plot.py with modern type hints
2021-08-12 08:06:12 -04:00
John Lambert
678d1c7270
add type hints to visual_data_generator.py
2021-08-12 07:48:23 -04:00
John Lambert
c20fcc5a7c
add type hints, use numpy instead of math module
2021-08-12 07:44:56 -04:00
John Lambert
85e58a78bb
clean up test_Pose3SLAMExample.py
2021-08-12 07:41:45 -04:00
John Lambert
c9bcb1430c
test GNC along with other non-linear optimizers in python unit tests
2021-08-12 03:26:53 -04:00
John Lambert
651815724b
try imports
2021-08-11 21:33:10 -04:00
Varun Agrawal
f6a432961a
first pass at IMUKittiExampleGPS.py
2021-08-01 05:25:56 -07:00
Varun Agrawal
2dd22c64fd
Merge branch 'develop' into feature/wrap-multiple-interfaces
2021-07-14 21:56:09 -04:00
Varun Agrawal
6919ad9277
update interface files with latest develop
2021-07-14 21:53:20 -04:00
roderick-koehle
c2bbe78e86
Remove comment
2021-07-14 11:16:00 +02:00
roderick-koehle
16cfc7fd38
Remove commented out line
2021-07-14 11:15:10 +02:00
roderick-koehle
305521e014
Merge branch 'borglab:develop' into python-fisheye-interface
2021-07-14 09:37:32 +02:00
roderick-koehle
d130387a7d
Minor fix test_Cal3Fisheye
2021-07-13 22:12:14 +02:00
roderick-koehle
3e41ece75a
Minor fix test_Cal3Unified
2021-07-13 22:10:38 +02:00
roderick-koehle
17c37de7c4
Shared setup triangulation unit test
2021-07-13 22:07:19 +02:00
roderick-koehle
3402e46ad1
Shared data for triangulation unit tests
2021-07-13 22:00:21 +02:00
John Lambert
fa42d96360
Merge pull request #817 from borglab/wrapper-shonan-averaging-2
...
Add ShonanAveraging2 interface to wrapper with BetweenFactorPose2s, that does not require g2o files
2021-07-13 13:37:34 -06:00
John Lambert
54d3471121
update logic in angular error comparison
2021-07-13 08:18:45 -06:00
roderick-koehle
f53f5db4d1
Merge branch 'borglab:develop' into python-fisheye-interface
2021-07-13 12:03:10 +02:00
John Lambert
c4a4e13196
fix assert on angles
2021-07-13 00:16:24 -06:00
John Lambert
d7151ed284
use mod when comparing angles
2021-07-12 20:52:36 -04:00
John Lambert
cce952fbb3
use simple example for unit test
2021-07-12 19:35:34 -04:00
John Lambert
690300124c
fix typo
2021-07-11 22:47:14 -04:00
John Lambert
61c5e89de3
try increasing pmax to pass test
2021-07-11 22:46:54 -04:00
Varun Agrawal
17842dcea7
fixes
2021-07-11 08:10:11 -07:00
Varun Agrawal
e8e3094556
update CMake
2021-07-11 08:10:09 -07:00
Varun Agrawal
54063934fa
update template for wrapper
2021-07-11 08:10:06 -07:00
Varun Agrawal
f33e6a801f
break up preamble and specializations so there are no duplicate includes
2021-07-11 08:10:05 -07:00
roderick-koehle
c595767cae
Unittest, triangulation for Cal3Unified
2021-07-11 14:14:08 +02:00
roderick-koehle
941594c94b
Testing CameraSet and triangulatePoint3
...
Currently triangulatePoint3 returns wrong results for fisheye models. The template for PinholePose may be implemented for a fixed size of variable dimensions.
2021-07-11 14:11:40 +02:00
roderick-koehle
0a73961f5a
Update ignore list in CMakeFile
2021-07-10 23:05:53 +02:00
roderick-koehle
3118fde6d3
Missing CameraSet binding specialisations
...
Add pybind specialisations for CameraSetCal3Unified and CameraSetCal3Fisheye.
2021-07-10 23:00:24 +02:00
John Lambert
aebb90573a
set pmin and pmax in unit test
2021-07-10 11:41:46 -04:00
John Lambert
63236cf7af
improve wrapper compilation instructions, when TBB not installed
2021-07-10 11:37:59 -04:00
John Lambert
db801f164d
add missing import to python unit test
2021-07-10 10:31:27 -04:00
John Lambert
64514387b4
check in python unit test for new functionality
2021-07-10 00:57:01 -04:00
roderick-koehle
6205057ccb
Use of common setUpClass method
2021-07-09 11:17:38 +02:00
roderick-koehle
bdeb60679b
Introduce setUpClass, python snake_case variables
...
Test case fails if object depth z is not equal 1.
2021-07-09 11:14:10 +02:00
roderick-koehle
19e8cde733
Extend unit testing of omnidirectional projection
...
Test projection function and factors using a stereoscopic (xi=1) reference model, i.e the image height is given by y = 2 f tan(theta/2).
2021-07-08 19:59:56 +02:00
roderick-koehle
c8fc3cd216
Unit test for equidistant fisheye
2021-07-08 19:53:41 +02:00
Varun Agrawal
52bf1cd765
add cmake command to run GTSAM python tests
2021-06-13 10:24:15 -04:00
Varun Agrawal
6f02ebde14
Merge pull request #781 from danbarla/danbarla_dev
2021-06-09 22:45:51 -04:00
Fan Jiang
1ebf675201
Fix example in docs
2021-06-05 19:35:32 -04:00
Fan Jiang
93ebc9d5e9
Address Frank's comments
2021-06-05 19:32:00 -04:00
Fan Jiang
56faf3c4a8
Add unit test for optimization a factor graph
2021-06-05 01:18:02 -04:00
Fan Jiang
22ddab7921
Trajectory Estimation example
2021-06-05 00:37:55 -04:00
Fan Jiang
880d5b57af
Fixed Python factor for TBB
2021-06-05 00:18:45 -04:00
Dan Barladeanu
c7dd909ea5
fix comment to docstring
2021-06-03 23:17:35 +03:00
Dan Barladeanu
fcd31692b8
Comments Only.
...
Added Kalman Filter definitions in test_KalmanFilter.py
2021-06-03 21:54:38 +03:00
Fan Jiang
0e44261b1e
Add more comments
2021-05-21 19:27:46 -04:00
Fan Jiang
7de3714d54
Address Frank's comments
2021-05-21 16:11:53 -04:00
Fan Jiang
a8ed71abbc
Add documentation
2021-05-21 13:38:03 -04:00
Fan Jiang
615a932f30
Remove unnecessary comment
2021-05-17 20:11:17 -04:00
Fan Jiang
5d1fd83a2c
Add printing for CustomFactor
2021-05-17 19:19:20 -04:00
Fan Jiang
66e397cb38
Allow KeyVector to just be lists
2021-05-17 14:36:14 -04:00
Fan Jiang
3638b3745f
Change to using nullptr
2021-05-17 14:22:57 -04:00
Fan Jiang
866d6b1fa1
Working CustomFactor
2021-05-14 16:24:31 -04:00
Varun Agrawal
26a8b602a5
add pybind11/operators.h to interface template
2021-05-04 12:17:36 -04:00
Varun Agrawal
323a15d56c
Merge branch 'develop' into feature/update_print_wrap
2021-04-20 17:32:55 -04:00
Gerry Chen
24755c1845
documentation about wrap update instructions
2021-04-12 22:17:37 -04:00
Gerry Chen
2257a37184
include pybind::iostream to the python wrapper cpp template
2021-04-12 21:50:23 -04:00
Gerry Chen
8c6efb5917
include pybind11/function
2021-04-08 05:23:02 -04:00
Varun Agrawal
73b0436755
fix numpy deprecation warnings
2021-03-24 00:33:25 -04:00
Varun Agrawal
436c8fa436
Merge pull request #711 from borglab/feature/matlab-wrap
2021-03-14 11:13:44 -04:00
Varun Agrawal
1618218cff
fix holder_type typo
2021-03-13 18:30:12 -05:00
Varun Agrawal
99f351da4c
Merge branch 'develop' into feature/matlab-wrap
2021-03-10 15:59:57 -05:00
John Lambert
4428148961
reformat with black
2021-03-10 10:23:27 -05:00
John Lambert
490c14b95e
Merge branch 'develop' of https://github.com/borglab/gtsam into sim3-alignment
2021-03-10 09:32:00 -05:00
John Lambert
5da50a5a6f
improve docstring
2021-03-10 08:53:43 -05:00
Varun Agrawal
6f81bdea7b
offload matlab wrapping to the wrap project
2021-03-09 15:07:15 -05:00
Ayush Baid
1670e68e2f
enabling markers and testing pickle roundtrip for few classes
2021-03-08 20:18:09 -05:00
John Lambert
5ab7af0a09
dont conflate notation on aTb
2021-03-05 17:58:43 -05:00
John Lambert
eaf457e625
update test notation to have just 1 world frame, and fix typo in abPointPairs
2021-03-05 14:26:37 -05:00
John Lambert
f5504d0645
add another unit test, but this one fails
2021-03-03 00:56:17 -05:00
John Lambert
0bb4d68487
add a unit test for line case
2021-03-03 00:44:07 -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
7477f9e0b0
updated python setup files so that example data is loaded correctly
2021-01-04 13:13:26 -05:00
Varun Agrawal
3a80b38a9a
updates to Cmake to use the new wrap package
2021-01-04 13:13:01 -05:00
Varun Agrawal
3da2885831
remove unused imports
2020-12-05 18:18:30 -05:00
Varun Agrawal
d05f360c11
more formatting
2020-12-05 18:15:53 -05:00
Varun Agrawal
a7248163e8
format python triangulation tests
2020-12-05 18:09:56 -05:00
Varun Agrawal
b24f943c36
Revert "code formatted"
...
This reverts commit 8be6890b20
.
2020-12-05 18:08:45 -05:00
Sushmita
858884f1e7
moved camera_set to generate_measurements
2020-12-05 13:16:13 -05:00
Sushmita
44d1d69274
removed typedef and formatted code
2020-12-05 12:07:39 -05:00
Sushmita
8be6890b20
code formatted
2020-12-03 21:10:10 -05:00
Sushmita
adf3ce5574
moved measurement generation to separate function
2020-12-03 20:59:16 -05:00
Sushmita
7125179e4b
added cmake and preamble
2020-12-03 20:58:51 -05:00
Sushmita
2e39433469
added utility functions and code cleanup
2020-12-01 23:21:21 -05:00
Sushmita
2fab69e0e8
Merge branch 'develop' of https://github.com/borglab/gtsam into feature/wrap_camVector
2020-12-01 19:32:44 -05:00
Sushmita
8fd2d98424
templated functions where possible
2020-12-01 19:31:44 -05:00
Varun Agrawal
92757a10f0
Merge pull request #616 from borglab/fix/misc
...
Miscellaneous fixes
2020-11-30 15:31:48 -05:00
Varun Agrawal
d9018a9593
update Python test
2020-11-30 10:40:39 -05:00
Sushmita
e484a70b5f
removed commented code
2020-11-28 23:21:55 -05:00
Sushmita
362afce864
moved landmark variable to setup
2020-11-28 17:34:04 -05:00
Sushmita
a524b17cde
Merge branch 'develop' of https://github.com/borglab/gtsam into feature/wrap_camVector
2020-11-28 16:37:52 -05:00
Sushmita
cc54b18fe5
docs fixed and error threshold reduced
2020-11-28 15:49:08 -05:00
Varun Agrawal
cb115560ec
fixes to plot code
2020-11-27 19:36:57 -05:00
Sushmita
02e94730a6
vector of cameras and triangulation function wrapped
2020-11-27 00:14:52 -05:00
Sushmita Warrier
cc0433827e
Merge branch 'develop' into feature/wrap_SfmData
2020-11-08 17:11:39 -05:00
Sushmita
65a6d06bf1
sfmtrack constructor changed to accept point
2020-11-01 21:29:38 -05:00
Sushmita
ee0eefbc86
added new constructor and changed to emplace
2020-10-27 21:52:31 -04:00
Sushmita
a7b71cf203
remved commented code
2020-10-24 19:06:35 -04:00
Sushmita
38010860e4
changed setP method name
...
removed commented code
2020-10-24 15:46:47 -04:00
Sushmita
a68b0798f9
wrapped sfmtrack
2020-10-21 23:44:02 -04:00
Sushmita
045780a151
changed Measurements to measurements
2020-10-21 23:43:17 -04:00
John Lambert
5be4571d5d
update list of C++ examples that have been ported to Python
2020-10-19 14:32:36 -04:00
John Lambert
f8d534e8e5
merge with cleaned up comments
2020-10-19 09:12:59 -04:00
John Lambert
0d88438a2a
renamed myData to scene_data, and explained BAL parameterization
2020-10-19 09:08:54 -04:00
Sushmita
ed387e3817
unittested features in SfmData
2020-10-18 11:17:10 -04:00
John Lambert
b1c53000f7
clean up comments
2020-10-17 12:47:57 -04:00
John Lambert
b4bbad32df
fix typo
2020-10-14 21:33:13 -04:00
John Lambert
d5d7395f69
Merge branch 'develop' of https://github.com/borglab/gtsam into add_python_sfm_example_bal
2020-10-14 21:24:49 -04:00
John Lambert
c9d719cb1f
make a note about how the eror drops
2020-10-14 16:03:14 -04:00
John Lambert
25d801bd15
use argparse defaults
2020-10-14 15:22:23 -04:00
Sushmita
bda6222da4
python wrapper for sfmdata
2020-10-11 16:46:10 -04:00
Akshay Krishnan
ac9077ff67
Renaming SFMCamera to PinholeCameraCal3Bundler
2020-10-10 08:57:09 +00:00
John Lambert
c97af55c63
remove breakpoints
2020-10-09 23:33:53 -04:00
Akshay Krishnan
93825d0bc7
Wrapping SfmCamera to be used with GeneralSFMFactor
2020-10-08 07:23:35 +00:00
Fan Jiang
114f069f23
Add unit test for python serdes
2020-10-07 02:29:29 -04:00
John Lambert
08636189fb
add WIP PR
2020-10-05 14:35:27 -04:00
Akshay Krishnan
627c015727
Merge pull request #535 from borglab/feature/1dsfm_example
...
Wrapping MFAS and 1dsfm python example
2020-10-03 08:42:18 -07:00
akrishnan86
03ca905342
removing shared ptr, iostream, renaming
2020-10-02 23:44:55 -07:00
akrishnan86
f11ce11678
fixing one variable that was not renamed
2020-10-02 08:03:28 -07:00
akrishnan86
695f75bc8d
readability changes
2020-10-02 07:56:41 -07:00
akrishnan86
a490017669
outlier rejection in separate fn and other readability changes
2020-10-01 22:19:17 -07:00
John Lambert
04c12c364f
add
2020-10-01 23:40:54 -04:00
Varun Agrawal
b30448733c
remove all Cython references
2020-10-01 19:56:35 -04:00
akrishnan86
634682738e
renaming variables
2020-09-30 23:25:20 -07:00
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
Frank Dellaert
f6ef1d6d2c
Merge pull request #537 from johnwlambert/SfmTrack_expose_p
...
Expose 3d point attribute p of SfmTrack in wrapper
2020-09-23 07:59:54 -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
John Lambert
fe0312fd63
Update README.md
2020-09-21 09:58:03 -04:00
John Lambert
133b81867c
Update README.md
2020-09-21 09:40:42 -04:00
John Lambert
bb22773a81
Update README.md
2020-09-21 09:39:46 -04:00
John Lambert
bcaed27c54
improve python wrapper cmake flag instructions
2020-09-21 09:38:35 -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
Varun Agrawal
ac3e564293
Better location for setting Python dataset directory in CMake
2020-08-31 10:10:54 -04:00
Varun Agrawal
3674b9c65f
Add data files to python package
2020-08-31 09:51:14 -04:00
akrishnan86
7ffa54f896
TAvg wrapper builds
2020-08-30 21:53:12 -07: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
b74c053c65
Proper method to deal with markdown in setup.py
2020-08-23 22:01:49 -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
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
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
60e0293511
update readme
2020-08-18 11:13:55 -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
8a130c1a54
Remove eigency
2020-08-18 11:00:11 -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
Fan Jiang
e9deca590a
Sync with varun's pr
2020-07-29 13:54:49 -04:00
Fan Jiang
08da0ab5a6
Change to new KeyVector accessor
2020-07-28 11:16:58 -04:00
Fan Jiang
b6ab778e96
Fix import typo
2020-07-28 11:05:24 -04:00
Varun Agrawal
95b77f7634
sort imports in python examples
2020-07-27 21:25:44 -05:00
Varun Agrawal
95d3582c2e
replaced SimpleCamera with PinholeCamera and updated tests
2020-07-27 21:25:27 -05:00
Varun Agrawal
c8806dcb24
rename ImuFactorExample2 to more descriptive name
2020-07-27 21:01:47 -05:00
Varun Agrawal
0b550b355f
update ImuFactorExample2.py
2020-07-27 21:01:47 -05:00
Varun Agrawal
858f5d42d3
add incremental plotting function
2020-07-27 21:01:47 -05:00
Varun Agrawal
e92c5e2ed4
fix warnings from subplots and improve code
2020-07-27 21:01:47 -05:00
Varun Agrawal
7114cf93d3
update ImuFactorExample.py
2020-07-27 21:01:47 -05:00
Fan Jiang
bc95b41efc
Update more to match cython
2020-07-27 15:16:26 -04:00
Fan Jiang
7b4266ed6b
Update to match cython
2020-07-27 14:35:28 -04:00
Fan Jiang
128db80fec
Fix Pose2 plot
2020-07-27 11:17:06 -04:00
Fan Jiang
48b0c845dc
Sync ImuFactorExample2
2020-07-27 11:01:59 -04:00
Fan Jiang
2bda74950a
Sync ImuFactorExample
2020-07-27 10:56:09 -04:00
Fan Jiang
9216934ca8
Replace with new python tests
2020-07-27 09:32:31 -04:00
Fan Jiang
7873c36088
Add unstable files
2020-07-27 09:30:24 -04:00
Fan Jiang
c0c2564ac6
Copy cython files
2020-07-27 09:29:28 -04:00
dellaert
e88282c31a
removed python
2019-05-19 11:30:32 -04:00
Frank Dellaert
8801de4d63
Pose3 naming convention
2019-05-16 15:06:15 -04:00
Duy-Nguyen Ta
b2e5dadcdb
Merge branch 'develop' of https://bitbucket.org/gtborg/gtsam into fix/trailing_whitespaces
...
# Conflicts:
# gtsam/symbolic/tests/testVariableIndex.cpp
# gtsam_unstable/gtsam_unstable.h
# gtsam_unstable/linear/RawQP.cpp
# gtsam_unstable/linear/RawQP.h
2019-05-12 09:26:28 -04:00
Varun Agrawal
9a322db815
Added deprecation notice for python folder
2019-04-15 12:50:53 -04:00
Duy-Nguyen Ta
1cdc228d6a
remove trailing spaces
2019-02-11 10:58:34 -05:00
Frank Dellaert
ae86bf0271
BackprojectFromCamera and some small fixes from Skydio
2018-05-11 15:13:14 -07:00
Haldean Brown
42e7e31340
Add new Pose3::bearing overload to Python wrapper
2017-03-13 10:31:37 -07: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
Abe
fbe9aac41c
squash local changes on top of gtsam upstream pull from 6/14/2016
2016-06-18 23:13:59 -07:00
Frank Dellaert
8c931f2839
Merged in EllonPaiva/gtsam/fix/python_warnings (pull request #261 )
...
[python] Use macro to avoid shared_ptr registration warnings in boost python
2016-06-13 16:29:19 -07:00
Ellon Mendes
62e0cb6613
[python] Put the macro into a separated file (python/handwritten/common.h)
2016-06-13 15:18:24 +02:00
Ellon Mendes
9de6d200b2
[python] Use macro to avoid shared_ptr registration warnings in boost python
...
Warning message was:
../lib/python2.7/site-packages/gtsam/__init__.py:1: RuntimeWarning: to-Python converter for boost::shared_ptr<CLASS_NAME> already registered; second conversion method ignored.
2016-06-10 10:15:29 +02:00
Frank Dellaert
b30a7685db
Fix IMU example
2016-06-09 00:19:54 -07:00
Frank Dellaert
a79be00dd6
no wrapping if typedef
2016-06-08 18:34:24 -07:00
Frank
be21889e9d
One flag to rule them all: GTSAM_TYPEDEF_POINTS_TO_VECTORS
2016-06-06 18:31:10 -07:00
dellaert
bdbbe0203d
Derive Point2 from Vector2 and deprecate a number of methods
2016-06-05 23:52:04 -07:00
dellaert
9f84b46e3f
TRying to get past compile issue on Jenkins
2016-06-05 01:16:35 -07:00
dellaert
8aecbfd951
Trying different fix for Python wrapper
2016-06-05 01:04:18 -07:00
dellaert
cdf9c53b96
Removed base class so python wrapper compiles
2016-06-04 17:52:10 -07:00
dellaert
ad54d7805c
Return value, not const reference
2016-04-10 18:30:41 -07:00
dellaert
1233a9c9b7
Merge remote-tracking branch 'origin/develop' into feature/Feature/FixedValues
...
Conflicts:
gtsam.h
python/handwritten/nonlinear/Values.cpp
2016-04-10 17:40:26 -07:00
dellaert
6ccc2a84b3
Deal with changes in Values
2016-04-10 17:26:29 -07:00
Ellon Mendes
5c16caf38b
Wrap NonlinearFactorGraph's clone method to python
2016-02-26 14:47:05 +01:00
Frank
0372a959ee
Many small improvements, bug-fixes, and tests
2016-02-24 11:01:19 -08:00
dellaert
6d4cf0c115
Fix compile issue
2016-02-18 09:55:59 -08:00
dellaert
a9b0d81be4
Yet another overload fix in python wrapper
2016-02-17 18:56:44 -08:00
dellaert
df4efbf2d7
Fixed python wrapper issue
2016-02-17 17:42:20 -08:00
Frank
fefb74350a
Merge branch 'feature/lightweightPoint3' into feature/Vector3
...
Conflicts:
gtsam/geometry/Point3.cpp
2016-02-09 18:03:17 -08:00
Frank
90e7a9a194
Made all methods with derivatives available as free functions
2016-02-09 18:01:47 -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
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
1d62faa5a5
Refactored plot without underscores
2016-01-28 01:32:36 -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
361101fdd9
Improved/refactored example
2016-01-28 01:31:05 -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
1e1c0dbff1
Works with bias on all 6 axes !
2016-01-28 00:58:31 -08:00
dellaert
dbe2fe59a3
Cleaned up, committed to atT
2016-01-28 00:58:07 -08:00
dellaert
9dbe61a05e
Cleaned up plot
2016-01-28 00:57:24 -08:00
dellaert
85e231bea5
Fully working !
2016-01-28 00:29:18 -08:00
Frank
c49a97a9c6
Fix initial values guess
2016-01-27 21:23:57 -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
ac6fb495a6
Full optimization
2016-01-27 14:16:18 -08:00
Frank
69a53f8e00
simplify keys
2016-01-27 14:16:09 -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
1ba304a2e3
Moved preintegration into separate example, inherit from it
2016-01-27 12:18:37 -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
d39759d8c8
Appropriate dt for integration
2016-01-26 21:37:22 -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
5f491ac52f
ScenarioRunner used to sumulate noise
2016-01-26 17:37:38 -08:00
Frank
8e54e00348
ScenarioRunner wrapped and tested
2016-01-26 17:37:23 -08:00
Frank
cf07c22c2c
Showing trajectory and ground truth quantities
2016-01-26 15:46:36 -08:00
Frank
ac57680dee
Interactive and shorthand symbols
2016-01-26 14:55:33 -08:00
Frank
ea3d72c66f
Show a loop Scenario
2016-01-26 14:41:55 -08:00
Frank
c25e1e6b73
Wrapped ConstantTwistScenario
2016-01-26 14:16:24 -08:00
Frank
a126c91d6f
Skeleton with interactive plotting
2016-01-26 13:19:25 -08:00
Frank Dellaert
a6c265fda0
OdometryExample and necessary wrapping
2016-01-25 00:58:08 -08:00
Frank Dellaert
312b8f5da0
Cleaned up example
2016-01-25 00:57:35 -08:00
Frank Dellaert
6ee3e42d27
Update README
2016-01-25 00:09:51 -08:00
Chris Beall
cd0215d9a8
Add back empty __init__.py file for gtsam_tests. Seems required to be able to do "import gtsam_tests", but it can be empty.
2016-01-24 23:47:36 -05: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
Chris Beall
6b85a8db14
typo
2016-01-24 20:54:16 -05: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
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
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
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
31a88ba910
Remove some variables to improve readbility
2015-12-02 15:29:07 +01:00
Ellon Mendes
87211319fb
Update python/README.md
2015-12-02 14:35:51 +01:00
Ellon Mendes
4f509c2dff
Improve printing when copying .py files
2015-12-02 14:15:10 +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
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
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
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
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
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
4f98ec889c
Fix python instalation using distutils
...
Conflicts:
python/README.md
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
8fa1acc553
Move plot functions to a submodule utils
2015-12-02 13:35:16 +01:00