Frank Dellaert
90e6eb95cf
Added GtsamTestCase
2019-03-20 17:35:31 -04:00
Frank Dellaert
a89e422a8a
Added python example and test
2019-03-19 17:04:48 -04:00
Frank Dellaert
90f5dae3d0
Merge remote-tracking branch 'origin/develop' into feature/optimization_params
2019-03-19 10:21:26 -04:00
Frank Dellaert
205803a0ea
Better optimization parameter wrapping, plus python test
2019-03-19 00:11:45 -04:00
Frank Dellaert
88ac6de4af
Wrapped parse3DFactors
2019-03-14 01:25:06 -04:00
Frank Dellaert
724a906bee
Test existing readG2o
2019-03-13 22:47:23 -04:00
matthew.broadway
32b38d775f
Merged in matt_broadway/gtsam/feature/clearer_setup_py_instructions (pull request #394 )
...
small setup.py improvements
2019-03-13 12:59:10 +00:00
Matthew Broadway
173191621e
made it possible to disable the setup.py check
2019-03-13 09:45:56 +00:00
Matthew Broadway
9982d79d74
added reasoning behind the setup.py unexpected location check
2019-03-13 09:02:04 +00:00
Jeremy Aguilon
fe647a9e94
Remove unneeeded file in build chain
2019-03-13 01:32:49 -04:00
Jeremy Aguilon
359fc433ae
Merged
2019-03-12 17:05:32 -04:00
Jeremy Aguilon
929d6696c2
Merge with upstream
2019-03-12 17:02:01 -04:00
Matthew Broadway
a4b713454a
updated cython README
2019-03-12 09:49:03 +00:00
Matthew Broadway
ecb8471e86
updated cython README
2019-03-12 09:47:25 +00:00
Matthew Broadway
5a0e7bb92a
fixed string formatting to work with python 2 and 3
2019-03-11 15:05:53 +00:00
Matthew Broadway
03500b004b
enforcing the setup script from being run from the installation directory
2019-03-11 15:02:11 +00:00
Matthew Broadway
91fa7adf07
added more keywords
2019-03-11 14:54:12 +00:00
Matthew Broadway
9b80f4b158
not using DeprecationWarning because it is ignored by default
2019-03-11 14:52:58 +00:00
Matthew Broadway
7161c04610
fixed __init__.py to not crash if gtsam_unstable doesn't exist
2019-03-11 14:52:58 +00:00
Matthew Broadway
fcfcceef71
added gtsam_unstable import back to gtsam
2019-03-11 14:52:58 +00:00
Matthew Broadway
803c14deb3
removed unnecessary variable from cmake
2019-03-11 14:52:58 +00:00
Matthew Broadway
290aad3372
small change to setup.py
2019-03-11 14:52:58 +00:00
Matthew Broadway
135ef5a0d0
baking in requirements and README to setup.py rather than reading at install time
2019-03-11 14:52:58 +00:00
Matthew Broadway
fe9ede47d1
added dlls to package_data
2019-03-11 14:52:58 +00:00
Matthew Broadway
d56efccead
setup.py only installs for the python version it is built for
2019-03-11 14:52:58 +00:00
Matthew Broadway
0d7b52d99f
copy __init__.py before compiling c++
2019-03-11 14:52:58 +00:00
Matthew Broadway
88dac759d7
setup.py gets installed into correct directory
2019-03-11 14:52:58 +00:00
Matthew Broadway
c1b048020e
fixed bug with detecting nested python packages in setup.py
2019-03-11 14:52:58 +00:00
Matthew Broadway
fe3003a688
install gtsam_unstable __init__.py
2019-03-11 14:52:58 +00:00
Matthew Broadway
a62197ec6e
gtsam_unstable as a separate package
2019-03-11 14:52:58 +00:00
Matthew Broadway
f6af989e67
setup.py install .so files
2019-03-11 14:52:58 +00:00
Matthew Broadway
54512731e3
added setup.py
2019-03-11 14:52:58 +00:00
Frank Dellaert
400be7f5d4
Merged in fix/python_test (pull request #389 )
...
Fixed 2 unit tests
2019-03-11 13:25:43 +00:00
mbway
8a81364daf
started porting more examples to python
2019-03-10 16:25:42 +00:00
Chris Beall
20c4af4ec6
Merged in feature/cython-plot2d-marginals (pull request #388 )
...
wip - plotting covariances in 2d in cython examples
2019-03-09 18:26:17 +00:00
Frank Dellaert
549fcca2ac
Fixed 2 unit tests
2019-03-09 13:06:31 -05:00
Jeremy Aguilon
e91e85203b
Merged with upstream/develop
2019-03-08 14:12:36 -05:00
Jeremy Aguilon
7d2e4d2e64
Fix warning message in the unit tests/examples
2019-03-06 17:47:34 -05:00
cbeall
2a967c74ab
wip - plotting covariances in 2d
2019-03-06 07:59:53 -08:00
Jeremy Aguilon
efa36f8901
Merged
2019-03-05 19:21:06 -05:00
Jeremy Aguilon
ed2300dd39
Remove unwanted lines
2019-03-05 18:08:48 -05:00
Jeremy Aguilon
f3baa4d5b0
Forgot to remove print statement
2019-03-05 18:08:22 -05:00
Jeremy Aguilon
409806efc6
Clumsy mistake - line should be inside if statement
2019-03-05 18:07:46 -05:00
Jeremy Aguilon
6bd8e44fc7
init
2019-03-05 17:35:50 -05:00
Matthew Broadway
e9e8ca3990
added option to specify python version
2019-02-28 09:14:39 +00:00
Matthew Broadway
a1fba6a5b1
removed experiments.py
2019-02-28 09:14:39 +00:00
Matthew Broadway
e251dbaebd
re-adding flags to pass to cmake to use correct python version
2019-02-28 09:14:39 +00:00
Matthew Broadway
43ac8ad343
made experiment script compatible with python 2 and 3
2019-02-28 09:14:39 +00:00
Matthew Broadway
a79e865475
added note about python interpreter version to README
2019-02-28 09:14:39 +00:00
Matthew Broadway
b63537a47c
fixed cython import for gtsam_unstable
2019-02-28 09:14:39 +00:00
Matthew Broadway
5670c73158
improved cython wrapper python3 support
2019-02-28 09:14:39 +00:00
Jeremy
6a73120cb5
Merge branch 'develop' of bitbucket.org:gtborg/gtsam into fixed-lag-smoother-wrapper
2019-02-27 23:39:28 -05:00
Jeremy
27d47c32bb
Update cmaklists
2019-02-27 23:38:59 -05:00
Jeremy Aguilon
2eee111960
Forgotten docstring
2019-02-27 13:58:40 -05:00
Jeremy Aguilon
1ca14d5164
Add comment
2019-02-27 13:10:00 -05:00
Jeremy Aguilon
5e97efa815
Liner and update Cmakelists
2019-02-27 13:04:38 -05:00
Jeremy
42ac0e589e
Implement unit test
2019-02-27 04:55:15 -05:00
Jeremy
93fd884aa7
Implement and add example
2019-02-27 04:37:02 -05:00
jlblancoc
6723b481a6
fix missing Eigen in Cython wrapper
2019-02-17 01:02:17 +01:00
Duy-Nguyen Ta
1cdc228d6a
remove trailing spaces
2019-02-11 10:58:34 -05:00
Frank Dellaert
7138236f71
Fixed static issue
2019-02-11 10:52:36 -05:00
Frank Dellaert
37ed46cee1
Added underscore to case conflicts until wrap can handle this.
2019-02-11 10:44:24 -05:00
Frank Dellaert
ca78668113
Deleted legacy files
2019-02-11 10:33:16 -05:00
Vikrant Shah
ddf0c83918
Fixing gtsam.utils import
2019-01-21 13:29:46 -05:00
Vikrant Shah
b3b69bfd21
Addressing Duy's comments about argparse and PEP8. Adding plot flag to the examples
2019-01-21 00:46:57 -05:00
Vikrant Shah
223020ec82
Adding wrapper for Pose3 for reading g2o files and examples for Pose2 and Pose3 slam using g2o file
2019-01-18 22:05:57 -05:00
Frank Dellaert
1999fba7ae
Cleaned up Pose3 unit test, added unit test for adjoint.
2018-12-31 15:38:12 -05:00
Frank Dellaert
e493fc0718
Added an example to show how GTSAM can be used to model planar manipulator arms.
2018-10-28 17:38:22 -04:00
Frank Dellaert
f4564f444e
2D pose plotting
2018-10-18 10:47:03 -04:00
Frank Dellaert
c6d9baf3ce
Merged in fix/ImuFactor (pull request #325 )
...
close issue #280
TBB/cython bug on Mac seems unrelated
2018-10-18 13:40:57 +00:00
Duy-Nguyen Ta
d802255eb3
support pythonic print for gtsam objects.
2018-10-17 05:40:57 -04:00
Frank Dellaert
264a240094
Fixed both C++ and python examples
2018-10-16 19:01:28 -04:00
Frank Dellaert
1d214d4529
Successful wrap of Scenario
2018-10-16 17:01:47 -04:00
Frank Dellaert
d751c65fab
Removed batch solution (as identical)
2018-10-16 15:09:56 -04:00
Frank Dellaert
f7c3f1da3f
Fixed acceleration measurement
2018-10-16 11:30:01 -04:00
Frank Dellaert
89101c1220
Addressed (some) comments by Duy
2018-10-16 10:36:13 -04:00
Frank Dellaert
97a5d5a64a
Python example with reasonable measurements, in body frame. Still a TODO left.
2018-10-14 14:53:20 -04:00
Frank Dellaert
16f8fb031a
Updated copyright
2018-10-14 12:11:33 -04:00
Frank Dellaert
aae802f89c
Merge branch 'develop' into feature/cython-examples
2018-10-14 10:34:07 -04:00
Frank Dellaert
2f5a60d039
naming of local function
2018-10-14 10:33:38 -04:00
Frank Dellaert
025450dcc5
Switched back to gtsam. pattern, added pylint exceptions
2018-10-14 08:06:59 -04:00
Frank Dellaert
f75c2f8427
Cleaned up, corrected bearings
2018-10-14 07:37:52 -04:00
Duy-Nguyen Ta
e807d62980
upgrade eigency to latest version with bug fixes.
2018-10-13 23:06:04 -04:00
Frank Dellaert
650b65f1fb
Kevin's port from cpp
2018-10-13 18:43:06 -04:00
Frank Dellaert
7097880d49
GTSAM examples, cython versions
2018-09-27 22:46:24 -04:00
Frank Dellaert
4ba7c59330
Plotting utilities
2018-09-27 22:45:14 -04:00
Frank Dellaert
4188a739ec
Fixed overloaded methods/constructors
2017-12-02 18:43:18 -08:00
Duy-Nguyen Ta
ee176b7669
fix a typo in requirements.txt
2017-10-13 21:59:33 -04:00
Duy-Nguyen Ta
0d47d273c6
Fix the dependency problem where cython didn't get called when the header file is updated. Also change target gtsam_cython to cythonize_gtsam.
2017-10-08 22:11:54 -04:00
Duy-Nguyen Ta
356f47a123
proper installation of gtsam_eigency's __init__.py
2017-08-15 12:33:42 -04:00
Duy-Nguyen Ta
973b2337a2
make unstable build again
2017-08-15 11:16:13 -04:00
dellaert
d712498c08
Fixed this test with V4 compatibility (where Points are not initialized)
2017-08-07 08:37:37 -07:00
dellaert
8ae9d7c577
Added more tests
2017-08-06 15:59:24 -07:00
dellaert
9505144f44
More unit tests, specifically one that exercises overloaded static method
2017-08-06 13:25:00 -07:00
Duy-Nguyen Ta
17c4c2ff19
don't install cmake and config files
2017-07-28 15:48:30 -04:00
Duy-Nguyen Ta
82531c561f
clonedEigency --> gtsam_eigency. Update readme.
2017-07-28 15:26:19 -04:00
Duy-Nguyen Ta
e7e75c3ac2
update readme
2017-07-27 22:44:16 -04:00
Duy-Nguyen Ta
742097aed0
eigency --> clonedEigency. Fixing bugs and improve eigency build.
2017-07-27 22:26:53 -04:00
Duy-Nguyen Ta
8283ff7b82
remove conversions_api.h
...
It's generated when cythonizing eigency conversions
2017-07-27 22:23:36 -04:00
Duy-Nguyen Ta
82deb22aec
update readme
2017-07-27 05:12:01 -04:00
Duy-Nguyen Ta
a715e064a6
kill system's eigency
2017-07-27 05:07:21 -04:00
Duy-Nguyen Ta
bbd667ad54
better dependencies.. hopefully..
2017-07-25 16:33:09 -04:00
Duy-Nguyen Ta
b1071b08a0
redirect stdcout to a stringstream so Python __str__() can properly return a string after calling the c++ print function
...
This is to avoid a printing issue in some Python's IDE when __str__() is called to update objects' values in Debug mode.
2017-07-25 16:32:26 -04:00
Duy-Nguyen Ta
306bce2226
update instructions for cython-wrapping external projects
2017-07-24 15:01:16 -04:00
Duy-Nguyen Ta
de74406d0d
update readme
2017-07-24 03:54:35 -04:00
Duy-Nguyen Ta
32ac96ea18
correct Eigen path for gtsam eigency
2017-07-24 03:13:16 -04:00
Duy-Nguyen Ta
6a59aa8046
fix dependencies for gtsam_unstable_cython
2017-07-23 15:08:40 -04:00
Duy-Nguyen Ta
77fb84b942
Option to use system eigency. Copy eigency to build folder so cython can find its header without modifying PYTHONPATH
2017-07-23 15:07:00 -04:00
Duy-Nguyen Ta
74f1de73ae
more meaningful var name
2017-07-23 15:05:24 -04:00
Duy-Nguyen Ta
d107c5e8ea
install eigency
2017-07-23 15:04:50 -04:00
Duy-Nguyen Ta
7977091e33
copy eigency into gtsam and cythonize it
2017-07-22 22:40:43 -04:00
Duy-Nguyen Ta
d25c15842c
update readme
2017-05-31 08:58:45 +08:00
Duy-Nguyen Ta
6b1c96869f
specify libs to link with cython module for flexibility
2017-05-31 08:45:54 +08:00
Duy-Nguyen Ta
504022a514
remove now redundant setup.py.in
...
Not used anymore with the manual cython compiling process
2017-05-24 23:56:08 +08:00
Duy-Nguyen Ta
1521a7e8ef
compile cython using the manual 2-step process
...
This is to leverage all compile and linking flags within the cmake build system.
http://cython.readthedocs.io/en/latest/src/reference/compilation.html#compiling-from-the-command-line
2017-05-24 23:55:15 +08:00
dellaert
c8dec5d8dc
Small changes in comments and docs
2017-05-20 12:23:41 -07:00
cbeall
265e8773ba
Fix cython build when GTSAM_BUILD_TYPE_POSTFIXES is enabled. And fix cython build when gtsam is built as part of a larger project, i.e. it is not the top-level project.
2017-04-07 18:43:08 -07:00
Duy-Nguyen Ta
d2dcb9133e
Revert "remove redundant install_cython_files. Use install_cython_scripts instead"
...
This reverts commit 37033e6f16
.
2017-04-07 12:10:28 -04:00
Duy-Nguyen Ta
37033e6f16
remove redundant install_cython_files. Use install_cython_scripts instead
2017-04-07 08:33:21 -04:00
chrisbeall
c42cebc037
Configure __init__.py based on setting of GTSAM_BUILD_UNSTABLE.
2017-04-07 00:29:27 -07:00
cbeall
6824ee0487
Fix link error for gtsam_unstable cython wrapper
2017-04-06 22:18:45 -07:00
cbeall
d2612d9fe1
Add Boost_INCLUDE_DIR to fix error when boost is not on default system path (Macports)
2017-03-30 13:18:05 -07:00
Duy-Nguyen Ta
61a3475372
fix installation path
2017-03-26 00:13:05 -04:00
Duy-Nguyen Ta
123ae36c63
put back requirements.txt, now with backports.
2017-03-25 23:38:49 -04:00
Duy-Nguyen Ta
1ec09ddf6a
more flexible destination folder for scripts installation
2017-03-25 23:35:46 -04:00
Duy-Nguyen Ta
b2243d950b
get compiler settings from cmake
2017-03-21 18:05:41 -04:00
Duy-Nguyen Ta
90ea744619
[mac/clang/libc++/c++11] force clang to use libc++ for c++11, instead of the default old libstdc++4.2.1 which doesn't support c++11
2017-03-21 15:02:21 -04:00
Duy-Nguyen Ta
a2333b9ef2
update cython/readme to troubleshoot eigency installation problems
2017-03-20 17:22:40 -04:00
Duy-Nguyen Ta
87443621c4
make gtsam_unstable_cython_wrapper dependent on gtsam_cython_wrapper.
2017-03-20 17:16:17 -04:00
Duy-Nguyen Ta
3e4a8b6b48
update todo with some nice-to-have features
2017-03-18 23:06:19 -04:00
Duy-Nguyen Ta
4a57d8cd27
update todo
2017-03-18 20:29:41 -04:00
Duy-Nguyen Ta
3daf8d7351
fix bad import * style
2017-03-18 19:50:35 -04:00
Duy-Nguyen Ta
d6c75b57f8
update todo
2017-03-18 19:49:37 -04:00
Duy-Nguyen Ta
c8e4648c66
better name: gtsam_short --> gtsam_test
2017-03-18 19:49:19 -04:00
Duy-Nguyen Ta
aa43cf725c
update TODO
2017-03-18 16:00:42 -04:00
Duy-Nguyen Ta
d18e638b08
cython wrap unstable
2017-03-18 15:52:08 -04:00
Duy-Nguyen Ta
a6281e1932
unify gtsam.h for matlab and cython wrapper
2017-03-18 15:33:01 -04:00
Duy-Nguyen Ta
6148f822ae
update
2017-03-17 11:26:25 -04:00
Duy-Nguyen Ta
347fed9377
wrap Vector,Matrix for Values::at in the short test
2017-03-15 13:57:01 -04:00
Duy-Nguyen Ta
685b0cb62f
remove np_utils Matrix and Vector functions
...
Not needed anymore.
2017-03-15 13:54:00 -04:00
Duy-Nguyen Ta
e2abfe256d
remove requirements.txt
...
@dellaert: not needed for only 2 packages and an exception for eigency
2017-03-08 10:59:06 -05:00
Duy-Nguyen Ta
ed8f7c5f82
[cython] remove copy constructor requirement
...
Using make_shared[C](other) instead of shared_ptr[C](new C(other)) to leverage the implicit default constructor inside C++
2017-03-06 01:06:53 -05:00
Duy-Nguyen Ta
d9d97c4bc7
Forward declare not only classes but their inheritance
...
This is needed for wrapping to Cython another project based on gtsam. The current scheme requires information about all parent classes. See updated comments in gtsam.h.
2016-12-19 17:47:30 -05:00
Duy-Nguyen Ta
7c5db5e90f
update README
2016-12-16 14:33:08 -05:00
Duy-Nguyen Ta
7abcdb1b45
reorganize script folders: more reasonable packaging
2016-12-16 14:17:15 -05:00
Duy-Nguyen Ta
a7c1c89c7b
update short test version
2016-12-16 00:27:32 -05:00
Duy-Nguyen Ta
c34349bb7c
Update README, showing how to wrap other projects using gtsam
2016-12-16 00:26:52 -05:00
Duy-Nguyen Ta
f3bf89b463
print for PreintegrationParams
2016-12-05 11:01:03 -05:00
Duy-Nguyen Ta
427d88ed5b
test -> tests
2016-11-30 05:59:03 -05:00
Duy-Nguyen Ta
21fa3f07e9
basic experiments for testing the wrapper
2016-11-30 05:58:23 -05:00