A collection of functions to compute jacobians of diverse transformations, etc (some functions are redirections to existing methods elsewhere, so this namespace is actually used with grouping purposes).
Since most functions in this namespace are inline, their use implies no execution time overload and the code may be more clear to read, so it's recommended to use them where needed.
Functions | |
void | jacob_quat_from_yawpitchroll (mrpt::math::CMatrixFixedNumeric< double, 4, 3 > &out_dq_dr, const double yaw, const double pitch, const double roll) |
Computes the 4x3 Jacobian of the transformation from a 3D pose angles (yaw pitch roll) into a Quaternion, that is, the Jacobian of:
With : , and . More... | |
void | jacob_quat_from_yawpitchroll (mrpt::math::CMatrixFixedNumeric< double, 4, 3 > &out_dq_dr, const mrpt::poses::CPose3D &in_pose) |
Computes the 4x3 Jacobian of the transformation from a 3D pose angles (yaw pitch roll) into a Quaternion, that is, the Jacobian of:
With : , and . More... | |
void | jacob_yawpitchroll_from_quat (mrpt::math::CMatrixFixedNumeric< double, 3, 4 > &out_dr_dq) |
Computes the 3x4 Jacobian of the transformation from a quaternion (qr qx qy qz) to 3D pose angles (yaw pitch roll). More... | |
template<class QUATERNION , class MATRIXLIKE > | |
void | jacob_quat_rotation (const QUATERNION &quaternion, MATRIXLIKE &out_mat4x4) |
Compute the Jacobian of the rotation composition operation , that is the 4x4 matrix . More... | |
void | jacobs_6D_pose_comp (const mrpt::poses::CPose3D &x, const mrpt::poses::CPose3D &u, CMatrixDouble66 &out_df_dx, CMatrixDouble66 &out_df_du) |
Given the 3D(6D) pose composition , compute the two 6x6 Jacobians and . More... | |
void | jacobs_6D_pose_comp (const mrpt::poses::CPose3DQuat &x, const mrpt::poses::CPose3DQuat &u, CMatrixDouble77 &out_df_dx, CMatrixDouble77 &out_df_du) |
Given the 3D(6D) pose composition , compute the two 6x6 Jacobians and . More... | |
void | jacobs_2D_pose_comp (const mrpt::poses::CPosePDFGaussian &x, const mrpt::poses::CPosePDFGaussian &u, CMatrixDouble33 &out_df_dx, CMatrixDouble33 &out_df_du) |
Given the 2D pose composition , compute the two 3x3 Jacobians and . More... | |
template<class VECTORLIKE , class VECTORLIKE2 , class VECTORLIKE3 , class MATRIXLIKE , class USERPARAM > | |
void | jacob_numeric_estimate (const VECTORLIKE &x, void(*functor)(const VECTORLIKE &x, const USERPARAM &y, VECTORLIKE3 &out), const VECTORLIKE2 &increments, const USERPARAM &userParam, MATRIXLIKE &out_Jacobian) |
Numerical estimation of the Jacobian of a user-supplied function - this template redirects to mrpt::math::estimateJacobian, see that function for documentation. More... | |
|
inline |
Numerical estimation of the Jacobian of a user-supplied function - this template redirects to mrpt::math::estimateJacobian, see that function for documentation.
Definition at line 119 of file jacobians.h.
References mrpt::math::estimateJacobian().
Referenced by Pose3DTests::check_jacob_expe_e_at_0(), Pose3DTests::check_jacob_LnT_T(), mrpt::poses::CPose3DPDFGaussian::copyFrom(), mrpt::vision::recompute_errors_and_Jacobians(), Pose3DQuatTests::test_composePointJacob(), Pose3DTests::test_composePointJacob(), Pose3DTests::test_composePointJacob_se3(), Pose3DQuatTests::test_invComposePointJacob(), Pose3DTests::test_invComposePointJacob(), Pose3DTests::test_invComposePointJacob_se3(), Pose3DTests::test_Jacob_dAexpeD_de(), Pose3DTests::test_Jacob_dexpeD_de(), SE_traits_tests< POSE_TYPE >::test_jacobs_P1DP2inv(), Pose3DQuatTests::test_normalizeJacob(), Pose3DQuatTests::test_sphericalCoords(), Pose3DQuatPDFGaussTests::testCompositionJacobian(), Pose3DPDFGaussTests::testCompositionJacobian(), and mrpt::math::transform_gaussian_linear().
|
inline |
Computes the 4x3 Jacobian of the transformation from a 3D pose angles (yaw pitch roll) into a Quaternion, that is, the Jacobian of:
With : , and .
Definition at line 34 of file jacobians.h.
References mrpt::obs::gnss::pitch, mrpt::obs::gnss::roll, and mrpt::math::UNINITIALIZED_QUATERNION.
|
inline |
Computes the 4x3 Jacobian of the transformation from a 3D pose angles (yaw pitch roll) into a Quaternion, that is, the Jacobian of:
With : , and .
Definition at line 51 of file jacobians.h.
References mrpt::poses::CPose3D::getAsQuaternion(), and mrpt::math::UNINITIALIZED_QUATERNION.
|
inline |
Compute the Jacobian of the rotation composition operation , that is the 4x4 matrix .
The output matrix can be a dynamic or fixed size (4x4) matrix. The input quaternion can be mrpt::math::CQuaternionFloat or mrpt::math::CQuaternionDouble.
Definition at line 76 of file jacobians.h.
|
inline |
Computes the 3x4 Jacobian of the transformation from a quaternion (qr qx qy qz) to 3D pose angles (yaw pitch roll).
Definition at line 64 of file jacobians.h.
References MRPT_UNUSED_PARAM, and THROW_EXCEPTION.
|
inline |
Given the 2D pose composition , compute the two 3x3 Jacobians and .
For the equations, see CPosePDF::jacobiansPoseComposition
Definition at line 108 of file jacobians.h.
References mrpt::poses::CPosePDF::jacobiansPoseComposition().
|
inline |
Given the 3D(6D) pose composition , compute the two 6x6 Jacobians and .
For the equations, see CPose3DPDF::jacobiansPoseComposition
Definition at line 84 of file jacobians.h.
References mrpt::poses::CPose3DPDF::jacobiansPoseComposition().
|
inline |
Given the 3D(6D) pose composition , compute the two 6x6 Jacobians and .
For the equations, see CPose3DQuatPDF::jacobiansPoseComposition
Definition at line 96 of file jacobians.h.
References mrpt::poses::CPose3DQuatPDF::jacobiansPoseComposition().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |