Commit Graph

393 Commits (7988a7050f26e448e94e5ca532251af01d4188dc)

Author SHA1 Message Date
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