Commit Graph

70 Commits (165d6b16b1ed28430f59667644b6b1331173d107)

Author SHA1 Message Date
kartik arcot d1d5336ed0 global find/replace. Does not compile 2023-01-23 18:26:44 -08:00
Frank Dellaert 4675fd67d0 removed deprecated code 2023-01-20 22:50:05 -08:00
HViktorTsoi f911ccf176 Move Rot3::quaternion to the deprecated block 2022-06-08 16:30:10 +08:00
lilong.huang f95b449904 fix typo issue in comment 2022-05-26 09:21:29 +08:00
Christian Berg ceeb1142ec Throw exception in Rot3::RQ for derivatives close to singularity
Also added more tests and a TODO to investigate a more efficient method of
getting the jacobian of Rot3::xyz
2020-09-15 21:05:02 +02:00
Christian Berg 4566321a99 Added Jacobians for Rot3::xyz and related conversions to euler angles 2020-09-12 12:19:48 +02:00
Varun Agrawal e4b30fd580 use static_cast for Rot3 matrix 2020-06-19 16:06:33 -05:00
Varun Agrawal d7522ab970 moved matlab-style matrix format definition back to cpp, updated all formatters 2020-06-19 16:03:40 -05:00
Varun Agrawal 0e42a96294 Cleaned up printing of Rot3 2020-06-18 11:09:37 -05:00
Varun Agrawal f235aaf8c4 use Eigen formatting for Rot3 ostream 2020-06-16 18:18:55 -05:00
Varun Agrawal e90530d70b Merge branch 'develop' into fix/rotations 2020-03-20 12:27:26 -04:00
Varun Agrawal 7b6a80eba2 Revert "test for stability of RQ due to atan2 as well as fix"
This reverts commit 1d5239dd25.
2020-03-18 19:14:19 -04:00
Varun Agrawal 1d5239dd25 test for stability of RQ due to atan2 as well as fix 2020-03-18 18:20:18 -04:00
Varun Agrawal e987cb53a0 Lots of improvements to Rot3
- Ensure axis in AxisAngle constructor is a unit vector. Added test.
- Improved rotation inverse with support for quaternions.
- Use Eigen::Transpose for transpose return type.
- Roll/Pitch/Yaw is more efficient.
- Fix/Remove old TODOs.
2020-03-17 14:00:27 -04:00
Frank Dellaert 0d46932456 Proper const 2020-03-17 13:15:35 -04:00
Varun Agrawal 170d1526b7 axisAngle maintains angle between [0, π] so updated docs and tests accordingly 2020-03-16 23:33:34 -04:00
Varun Agrawal 8f2a00e4bd fix for angle outside the range (-pi,pi] and added more tests to verify 2020-03-14 10:10:00 -04:00
Varun Agrawal 1553d4321c correct way of maintaining angle of axis-angle representation within (-pi,pi] 2020-03-13 19:33:57 -04:00
Varun Agrawal ab46c7c3ce removed static ToAxisAngle function 2020-03-09 16:01:24 -04:00
Varun Agrawal 0fbe63aa17 static function & method for axis-angle with improved tests and fix for sign ambiguity 2020-03-08 17:07:40 -04:00
Varun Agrawal 7019d6f4b8 convert axisAngle to static ToAxisAngle, update tests 2020-03-07 08:35:08 -05:00
Varun Agrawal 087247c6e0 return axis-angle representation instead of just angle, updated test to be much simpler 2020-03-06 17:54:25 -05:00
Varun Agrawal 0e6efb98d7 compute angle in degrees between 2 Rot3 matrices 2020-03-06 16:30:07 -05:00
Frank Dellaert 8b201f07bb Random now uses std header <random>. 2020-02-28 07:21:54 -08:00
Frank 0372a959ee Many small improvements, bug-fixes, and tests 2016-02-24 11:01:19 -08:00
Frank 0a7fd27f28 Working on getting a simple typedef to compile - as well as dealing with Point3() now creating uninitialized memory. 2016-02-10 17:48:52 -08:00
Frank Dellaert 6eece9cc60 Quaternion now also uppercase 2016-01-26 23:57:34 -08:00
Frank Dellaert bb9543f251 Renamed two-argument versions of Rodrigues to AxisAngle 2015-07-05 16:33:10 -07:00
Frank Dellaert 4342aa5901 Renamed rodriguez variants to preoper naming convention (uppercase for static) and spelling (Rodrigues). Also, now call Expmap in either SO3 or Quaternion. 2015-07-05 15:38:54 -07:00
dellaert 982ddaeecb Moved ExpmapDerivative and LogmapDerivative to SO3 2015-02-10 20:14:59 +01:00
dellaert 8191ad5078 Rot3 modernization: now derives from LieGroup, SLOW_CAYLEY is gone, retract and localCoordinates auto-generated so no more flag. Might re-add instance-based expmap and logmap in LieGroup for convenienece. 2014-12-24 17:43:38 +01:00
dellaert 78386ad144 Merge ExmapeDerivative/LogmapDerivative changes from 'origin/develop' into feature/tighteningTraits
Conflicts:
	gtsam/base/LieScalar.h
	gtsam/geometry/Point2.h
	gtsam/geometry/Point3.h
	gtsam/geometry/Rot3.h
	gtsam/geometry/Rot3M.cpp
	gtsam/geometry/Rot3Q.cpp
	gtsam/geometry/tests/testRot3.cpp
2014-12-24 13:55:15 +01:00
dellaert e0a767e7fd Renamed all dexpL/dexpInvL, merged Luca/Duy versions in Rot3 2014-12-24 12:25:53 +01:00
dellaert c6ae119414 Tightened what is needed for Lie, i.e., fewer versions of retract/localCoordinates 2014-12-22 23:42:52 +01:00
Luca 36358308fd minor code optimization in ExpmapDerivative 2014-12-10 16:56:21 -05:00
Luca b3f0f3877c capitalized ExpmapDerivative and LogmapDerivative 2014-12-10 16:16:29 -05:00
Luca bf8de1341b Merge branch 'develop' 2014-12-09 17:13:30 -05:00
Luca e82b815a48 renamed right jacobian of expmap and logmap (removed "right", according to Frank's suggestion :-) 2014-12-09 17:10:04 -05:00
cbeall3 971a53cfb5 Fixed size vectors for all Logmap, localcoordinates and vector methods 2014-12-07 13:51:17 -05:00
nsrinivasan7 bd6f210b87 changed << to =. gives error because range() was removed from PinholeCamera.h ? 2014-12-04 09:36:00 -05:00
nsrinivasan7 deff8b1e25 fixed the (*) to -> and code some more code beautification. 2014-12-03 11:27:18 -05:00
nsrinivasan7 7116661a2e changed naming convention of const matrices to _DxD. @dellaert 2014-12-03 10:58:09 -05:00
Natesh Srinivasan 4e557d38e6 updated Matrix.h with commonly used matrices. 2014-12-03 09:59:10 -05:00
nsrinivasan7 595afb51fe fixed Rot3(). @dellaert, I will do the '->', Identity(), setZero() etc . once I am fully done with geometry. 2014-12-01 18:20:03 -05:00
dellaert c1c6a30e50 Removed print statement 2014-10-23 22:39:07 +02:00
dellaert cfe56a0aa8 Removed transpose_. It did speed up things but was bad design. Will need to profile again and find different ways to cope with transpose() overhead. One way is to return a Eigen::Transpose<> object as hinted to in comments. 2014-10-23 19:13:37 +02:00
dellaert 79efd2f3fc SLERP with Zhaoyang, not really part of BAD, but here it originated :-) 2014-10-23 19:11:44 +02:00
dellaert 483d713859 unrotate is same now, with transpose_ 2014-10-22 22:16:35 +02:00
dellaert c4bf680e96 Cached Rot3::transpose(). Inspired by @cbeall3 fix of Unit3, I realized that with one million points and 1000 cameras, the same Matrix3 (R_.transpose()) was computed a 1000 more times than needed. Especially with quaternions this would be expensive, even with Rot3Q. 2014-10-15 11:51:41 +02:00
dellaert b704b7b1a1 Faster versions 2014-10-07 19:34:45 +02:00