Commit Graph

704 Commits (28f30a232d8b0fac02c4185bae2d1ece2600ddd2)

Author SHA1 Message Date
Varun Agrawal be70d1785c Merge branch 'develop' into imu-examples 2020-08-17 00:38:14 -04:00
Frank Dellaert b1e3b5495c Some behavior changes.
- maxIndex now does what it says
- id = size_t, Key is only for Values and Graph)
- re-admitted methods needed for wrapper.
2020-08-15 13:05:58 -04:00
Varun Agrawal a1f6e1585a use boost program_options for command line parsing 2020-08-11 01:32:58 -05:00
Varun Agrawal 4949f8bb9d reworked basic ImuFactorsExample 2020-08-11 01:32:44 -05:00
Varun Agrawal 3bc109de53 renamed ImuFactorExample2 to be more consistent with naming 2020-08-11 00:26:34 -05:00
Varun Agrawal aae9c19d0f example using CombinedImuFactor 2020-08-11 00:25:42 -05:00
Varun Agrawal 5da2108cd4 Merge branch 'develop' into imu-examples 2020-07-27 20:37:29 -05:00
Jose Luis Blanco Claraco 0198c648e3
Fix all new gcc warnings/errors: make explicit virtual/override methods.
Rules are:
- use "virtual" in base classes only.
- use "override" in all derived classes.
2020-07-26 11:20:42 +02:00
Varun Agrawal 6897ddc8aa Merge branch 'develop' into feature/g2o-vertices 2020-07-24 11:29:54 -05:00
Varun Agrawal 8a210188f3 test for readG2o 2020-07-24 03:10:14 -05:00
acxz e993afe2bf replace boost random with std random 2020-07-23 14:05:23 -04:00
Frank Dellaert 18b705835b
Merge pull request #263 from kvmanohar22/isam2_imu_example
adding functionality to use ISAM2 for imu preintegration example
2020-07-15 18:03:43 -04:00
Frank dellaert 4b4a0e532f Add BayesNet-inst.h at end of BayesNet.h 2020-07-14 08:50:20 -04:00
Frank Dellaert 954741093c
Merge branch 'develop' into isam2_imu_example 2020-07-13 21:06:24 -04:00
Frank dellaert 621e79f06c Add explicit HMM example 2020-07-12 23:25:26 -04:00
Frank dellaert 7dba3023d6 New discrete example 2020-07-12 23:25:26 -04:00
Varun Agrawal 48b0b2b76e Explicit type definition to handle warning 2020-07-10 23:01:18 -04:00
Varun Agrawal e41dbfc26c fix init issues with Vector3, use static matrices where possible 2020-07-10 21:45:01 -04:00
Varun Agrawal cd843f646f
Merge pull request #390 from borglab/fix/discrete_examples
Formatted and fixed discrete examples
2020-07-10 05:43:52 -04:00
Frank dellaert 3dcff34b46 Formatted and fixed discrete examples 2020-07-09 20:46:12 -04:00
Frank dellaert dc65a0a1d9 Added g2o test files 2020-07-09 16:27:32 -04:00
Frank Dellaert d0318172af
Merge pull request #249 from mindThomas/feature/isam2-kitti-example
Added ported C++ version of ISAM2 Kitti example
2020-07-09 15:17:18 -04:00
Thomas Jespersen e3712772cb ISAM2 Kitti example: Addressed review comments 2020-07-08 09:09:37 +08:00
Varun Agrawal 561218ae82 updated file docstring for ImuFactorExample2.cpp 2020-06-29 16:34:05 -05:00
Varun Agrawal 52a8dde6a7 updated filename in brief 2020-06-17 13:47:43 -05:00
Frank dellaert 0cd1e777bc Reformatted some and use of auto 2020-05-09 19:08:31 -04:00
Frank dellaert ff5a14831b Reformatted and refactored 2020-05-09 19:08:17 -04:00
Frank Dellaert 6a23c476a1
Merge pull request #279 from ghaggin/camera_mods
Fisheye Calibration
2020-05-09 16:44:54 -04:00
acxz 222e767e8d fix uninitialized variable Key first_pose 2020-05-06 23:49:51 -04:00
Frank Dellaert b4eb0c233d
Merge pull request #209 from acxz/tbb_fix
TBB deprecation fix (partial)
2020-05-06 18:52:56 -04:00
acxz e0cbc76456 change to more efficient call of threaded functions 2020-05-06 16:47:16 -04:00
acxz df9cf86cb0 replace task_scheduler_init with task arena/group 2020-04-13 11:30:57 -04:00
alescontrela 6c964a5a41 Fix Pose2SLAMExample_g2o example 2020-04-12 19:10:03 -04:00
alescontrela 93ba522582 Remove any unnecessary PriorFactor.h includes 2020-04-12 13:42:02 -04:00
alescontrela 211119b00e Replace addPrior<> with addPrior 2020-04-12 13:10:09 -04:00
acxz b4b487695d replace task_scheduler_init with task arena/group 2020-04-12 12:48:25 -04:00
alescontrela aa3ac32235 Change all old cases of graph.emplace_shared<PriorFactor<...>>(...) and graph.add(PriorFactor<...>(...)) to graph.addPrior<...>(...). Removed unnecessary PriorFactor.h includes. 2020-04-11 20:09:54 -04:00
alescontrela f4525b51e4 Change PriorFactor includes from gtsam/slam to gtsam/nonlinear 2020-04-10 22:26:22 -04:00
Glen Haggin 3ee552c7c6 Changed cacheing in jac func and fixed comments per PR discussion 2020-04-09 13:24:32 -04:00
Glen Haggin a488888d40 Added example with fisheye camera using the SFM data 2020-04-09 09:49:34 -04:00
Jose Luis Blanco Claraco 76b29b78af
Prefer C++11 nullptr 2020-04-06 23:31:05 +02:00
kvmanohar22 221dcaa13a adding functionality to use ISAM2 for imu preintegration example 2020-03-30 22:16:30 +05:30
Varun Agrawal 4197fa3c54 removed graphWithPrior from all examples while keeping functionality the same 2020-03-29 19:13:15 -04:00
Varun Agrawal e7bdc05689 Merge branch 'develop' of github.com:mbrossar/gtsam into develop 2020-03-29 12:01:08 -04:00
Varun Agrawal ca4daa0894
Merge pull request #258 from borglab/deprecate-simplecamera
Replace SimpleCamera with PinholeCameraCal3_S2
2020-03-23 08:08:18 -04:00
Varun Agrawal 8fdbf2fa6e added Cal3_S2 header and Frank's recommendations 2020-03-21 15:29:07 -04:00
acxz 8096b0e251 add deprecated task_scheduler_init unitl alternative is found 2020-03-16 00:49:17 -04:00
Thomas Jespersen 906d0277e9 Added ported C++ version of ISAM2 Kitti example 2020-03-16 00:56:02 +08:00
Varun Agrawal 75d5409d78 follow Google style guide naming convention for Sfm related data structs 2020-03-06 18:02:51 -05:00
Varun Agrawal 719975022c consistent naming scheme for SfM_Data 2020-03-06 17:56:32 -05:00
Varun Agrawal d9923fc3cc replaced/appended all calls to SimpleCamera with PinholeCameraCal3_S2 2020-02-21 19:42:55 -05:00
acxz bfc32e9f69 add deprecated task_scheduler_init until alternative is found 2020-01-13 07:29:41 -05:00
acxz aff24bd77b remove tbb.h include and specify individual includes needed
remove deprecated tbb::task_scheduler_init
2020-01-11 18:11:59 -05:00
Peter Mullen a99610b77a make code match comments when creating Pose3 noiseModel instances 2020-01-04 16:57:22 -08:00
Toni Rosinol a607bf6526 Add flag for CombinedImu 2019-12-21 18:59:11 -05:00
Toni e0fb001702 Remove ugly preprocessor directives, still hardcoded though 2019-12-21 18:59:11 -05:00
Martin Brossard 3d7ce45de6
Create Pose3Localization.cpp
Pose3Example_g2o with marginal computation.
2019-08-02 17:14:31 +02:00
Martin Brossard b925142b98
Create pose3Localizationexample.txt
pose3example.txt without loop closure
2019-08-02 17:13:02 +02:00
Frank Dellaert 6bcbfe2c67 Tightened odometry sigmas to avoid ILS 2019-06-11 20:42:54 -04:00
Frank Dellaert ff6fe5e5e3 get_* naming convention in GaussianConditional 2019-05-16 18:59:24 -04:00
Frank Dellaert 8801de4d63 Pose3 naming convention 2019-05-16 15:06:15 -04:00
Frank Dellaert 23f3f95ed2 deprecated get_noiseModel 2019-05-16 14:40:55 -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
dellaert a450ba1e55 Merge remote-tracking branch 'origin/develop' into feature/LPSolver
# Conflicts:
#	gtsam_unstable/linear/QPSVisitor.h
#	gtsam_unstable/linear/RawQP.cpp
2019-04-24 16:08:50 -04:00
dellaert 63de2f887e Fixed comment 2019-04-17 09:02:16 -04:00
Frank Dellaert 9b7eb34add Show how expressions make (optimization-based) inverse kinematics easy. 2019-04-15 15:19:40 -04:00
Frank Dellaert 18d26d12af Added some xml test files 2019-04-07 13:15:05 -04:00
Duy-Nguyen Ta 1cdc228d6a remove trailing spaces 2019-02-11 10:58:34 -05:00
Thomas Horstink e7d6cd4faf fixed typo in description 2019-01-04 17:12:04 +01:00
Thomas Horstink 9c382b6c14 changed the SFMdata functions so that it allows the passage of function arguments to generate a trajectory; default arguments result in the original behaviour (described in header). In the range bearing examples: fixed weirdo text-artifacts, add newline for readability, added underscore the prediction expression. 2019-01-04 16:17:33 +01:00
Thomas Horstink ba03b398f4 type in filename.... 2019-01-04 11:55:26 +01:00
Thomas Horstink 986346f2b9 another comment update 2019-01-04 11:53:50 +01:00
Thomas Horstink 7bb6863e75 little typo in a comment 2019-01-04 11:50:20 +01:00
Thomas Horstink d4398fb092 expression example of estimating trajectory, landmarks and sensor-body-transform simultaneously 2019-01-04 11:31:41 +01:00
Frank Dellaert 3c3f6d2b7c Switching to METIS ordering fixes out of memory error for large examples. 2018-12-31 13:08:41 -05:00
Frank Dellaert 6a58e88631 Added example by Wenqiang Zhou given in issue #369 2018-12-31 12:33:13 -05:00
Frank Dellaert 609019b585 Fixed warning 2018-12-31 12:30:53 -05:00
AndreiCostinescu e58ba2d2af Fixed possibly uninitialized warnings in ImuFactorExample2.cpp 2018-12-16 17:47:00 -05:00
Nghia Ho e8da58725f formatting 2018-12-14 12:18:43 -08:00
Nghia Ho 4da1b7189d change help output text 2018-12-14 12:16:19 -08:00
Nghia Ho 8b8947b95c fixed typo 2018-12-14 12:15:14 -08:00
Nghia Ho 937cdcf4d9 shorten parameter values 2018-12-14 12:12:33 -08:00
Nghia Ho 224af650bb add test code 2018-12-13 17:28:52 -08:00
dellaert d86782eebc Some remaining std::vector stragglers 2018-11-08 12:25:21 -05:00
dellaert 79d63010dd Give access to bearing/range 2018-11-06 13:28:47 -05:00
= f8c13a862d Remove Unused Tests and QPS Files. 2018-11-05 16:45:43 -05:00
= 45d3b99b26 Merge remote-tracking branch 'origin/develop' into feature/LPSolver 2018-11-01 16:24:56 -04:00
Frank Dellaert 9840286979 Fixed noise model, removed extraneous variable 2018-10-22 11:31:12 +00:00
Frank Dellaert 264a240094 Fixed both C++ and python examples 2018-10-16 19:01:28 -04:00
Frank Dellaert eb447d28a1 Added symbol keys 2018-10-13 17:48:36 -04:00
Frank Dellaert 18234f68fd Cleanup, c++11 2018-10-13 16:25:58 -04:00
Frank Dellaert c428e30784 Example due to Robert Truax in Issue #280 2018-10-13 15:29:07 -04:00
Frank Dellaert dbf14ca1d8 Merge remote-tracking branch 'origin/develop' into fix/isam2 2018-10-08 23:58:51 -04:00
Frank Dellaert ca80678ffc Fixed more warnings 2018-10-08 21:38:50 -04:00
Frank Dellaert efa35e6a82 Cleaned up example 2018-09-30 17:22:53 -04:00
Frank Dellaert 05d5179bc3 Some more cleanup 2018-09-29 17:31:46 -04:00
Frank Dellaert 224299ccb9 Cleaned up/naming conventions/docs 2018-09-29 00:05:39 -04:00
Frank Dellaert 67ffd65838 Added Alexander's example file 2018-09-29 00:04:13 -04:00
Yao Chen bd67779f74 Merged in feature/variadic-emplace_back (pull request #274)
Feature/variadic emplace_back

Approved-by: Jing Dong
2017-03-12 05:19:15 +00:00
Yao Chen 3c1a0a8801 Replaced graph.add with graph.emplace_shared if needed. 2016-10-01 11:41:37 -04:00
Yao Chen 249d6b0b1b Replaced graph.push_back with graph.emplace_shared if needed. 2016-10-01 11:17:41 -04:00
Yao Chen 95c75b8bae Updated functions 2016-09-09 08:33:51 -04:00
= ab1f6562c8 Fixes compile errors when using BOOST version 1.61.0 2016-08-06 00:59:07 -04:00
Ivan Jimenez 2ae903413a Merged develop into feature/LPSolver 2016-07-01 16:43:20 -04:00
= c98c772017 [TEST] added QPTest. Showcases failure to work on indeterminate linear systems. 2016-07-01 15:42:23 -04:00
= 15c6aa210b [TEST] Added Remaining Failing Tests AUG2D CONT-050 HS118 HS268 HS51 HS51 HS53 HS76 2016-07-01 13:02:59 -04:00
= ac1a02337e [TEST] Added Test HS35MOD
[FEATURE] Added support for FX bounds for QPS Parsing format.
2016-06-29 15:38:00 -04:00
= 4ba87c59e7 [TEST] Add HS35
[TEST] Disabled HS118
2016-06-29 15:24:27 -04:00
= c9efb4bbda [TEST] QP Now correctly handles negative constant values on hessian factors. 2016-06-28 19:51:51 -04:00
Frank Dellaert 7849150276 Avoid use of now defuct copy constructor 2016-06-19 12:29:37 -07:00
ivan 6bafe9932e Merge branch 'develop' into feature/LPSolver 2016-06-12 19:44:19 -04:00
Luca 5d5f0e770c got rid of useless Eigen stuff in example 2016-06-09 19:43:03 -04:00
Luca 71a47d1469 added comments 2016-06-09 10:51:16 -04:00
Frank Dellaert 853d327725 Deal with Point3 changes 2016-06-09 00:19:40 -07:00
Frank Dellaert 68af6d6622 Merge remote-tracking branch 'origin/develop' into feature/imuFactorExample 2016-06-08 23:39:04 -07:00
Frank Dellaert bd8129d3f7 Merged in feature/EigenPoint2 (pull request #256)
Point2's turn to be Eigenized
2016-06-08 22:46:40 -07:00
Luca dc415b7b0c reestablished header for output file 2016-06-07 21:00:34 -04:00
Luca 63bd6709f5 working example! 2016-06-07 20:54:42 -04:00
Luca 46e688bd36 cleaned up example 2016-06-07 20:36:18 -04:00
Luca c9e383e644 added IMU example, still debugging 2016-06-07 19:57:34 -04:00
Frank Dellaert a97502f5a1 Resolved all issues with typedefs 2016-06-06 21:57:52 -07:00
JzHuai0108 be494039d8 fix gtsam::ValuesIncorrectType 2016-06-06 11:11:57 -04:00
JzHuai0108 417fc13c7f fix gtsam::ValuesIncorrectType 2016-06-06 11:09:49 -04:00
dellaert 1ea390c014 Imroved ReadMe, now in markup 2016-06-05 18:58:35 -07:00
ivan 2e4a94e2bb Merge branch 'develop' into feature/LPSolver
# Conflicts:
#	gtsam_unstable/linear/QPSolver.cpp
#	gtsam_unstable/linear/QPSolver.h
2016-05-30 14:12:15 -04:00
dellaert ef38e80857 Removed BOOST_REVERSE_FOREACH 2016-05-22 14:11:42 -07:00
Yao Chen 20c586c398 Removed #include <boost/foreach.hpp> in both files in example folder. Tested it locally: success. 2016-05-20 09:35:27 -04:00
Yao Chen a9b4bfd261 Replaced BOOSE_FOREACH with for in examples folder. Tested the changed code locally: successful. 2016-05-20 09:20:03 -04:00
dellaert ccb7dd5b70 Removed some uses of BOOST_FOREACH 2016-05-18 14:34:53 -07:00
ivan 7ebe12b4a7 Added missing QP Example Data 2016-05-15 16:44:23 -04:00
Chris Beall cc0b7cfdc1 convert tabs to spaces. See https://bitbucket.org/gtborg/gtsam/wiki/C++%20Coding%20Conventions 2016-02-09 20:00:38 -05:00
Frank 3052afe42b Explicit template of insert<Point3> 2016-02-08 17:32:25 -08:00
Frank 23d4c0fd9f Deprecated several Point3 methods 2016-02-08 13:27:38 -08:00
Frank Dellaert 4d93a33f61 Static methods should be uppercase. 2016-01-26 23:09:58 -08:00
cbeall3 92e210b893 Fix examples and Matlab wrapper 2015-08-26 13:25:12 -04:00
Frank Dellaert 30435da070 Moved BearingRangeFactor to SAM 2015-07-12 18:57:26 -07:00
Frank Dellaert 3bad6fea67 moved RangeFactor to SAM 2015-07-12 12:12:59 -07:00
Frank Dellaert 377b90941b switch to Rodrigues everywhere 2015-07-05 16:11:04 -07:00
dellaert 464a82cc51 Merge remote-tracking branch 'origin/develop' into feature/betterOrdering
Conflicts:
	.cproject
	gtsam/inference/Ordering.h
	gtsam/nonlinear/LevenbergMarquardtOptimizer.cpp
	gtsam_unstable/nonlinear/BatchFixedLagSmoother.cpp
	gtsam_unstable/nonlinear/ConcurrentBatchSmoother.cpp
2015-06-28 15:41:58 -07:00
cbeall3 b0f04503c9 Merge remote-tracking branch 'origin/develop' into feature/SmartFactors3
# Conflicts:
#	gtsam/linear/tests/testRegularHessianFactor.cpp
#	gtsam/slam/SmartFactorBase.h
2015-06-23 10:03:42 -04:00
cbeall3 da726aa21f remove config.h include as global_includes.h and config.h are redundant 2015-06-22 12:02:40 -04:00
dellaert 47495c8f46 Included config where needed 2015-06-21 18:14:20 -07:00
Luca f8205bfe02 Merge branch 'develop' into feature/SmartFactors3
Conflicts:
	gtsam/geometry/CalibratedCamera.h
	gtsam/geometry/tests/testCalibratedCamera.cpp
	gtsam/geometry/triangulation.h
	gtsam/nonlinear/ExpressionFactor.h
	gtsam/slam/SmartProjectionFactor.h
	gtsam_unstable/slam/SmartStereoProjectionFactor.h
	tests/testExpressionFactor.cpp
2015-06-19 16:55:30 -04:00
Luca 917e7c177d fixed examples 2015-06-19 13:10:34 -04:00
Frank a585e8ac09 And one more warning... 2015-05-12 15:07:49 -07:00
Frank 057aef90d9 Fixed some more warnings on Ubuntu 2015-05-12 15:05:34 -07:00
dellaert f639ae0d7c Ignore generated files 2015-02-26 13:55:32 +01:00
dellaert a375e7b5be RADICAL2: The SmartProjectionPoseFactor (soon to be renamed SmartPinholePoseFactor, if it survives at all) now no longer stores shared calibrations. Values expect to contain PinholePoses not Pose3s now. The current state of affairs was simply a bug: one pose could be optimized for several different calibrations. It relied on the user to make sure all measurements for a specific pose to optimize were all given the same shared calibration, which was then stored *millions of times* in the pose factors. Instead, there is now *one* shared calibration per PinholePose unknown. 2015-02-26 13:55:16 +01:00
zhaoyang 48d549f383 remove unuseful comments 2015-02-23 10:31:25 -05:00
zhaoyang 0b9758d88c change to GTSAM timing 2015-02-23 10:24:34 -05:00