VisServo.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012-2019 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #pragma once
6 
7 // include
8 // SpaceVecAlg
9 #include <rbdyn/config.hh>
10 
11 #include <SpaceVecAlg/SpaceVecAlg>
12 
13 namespace rbd
14 {
22 RBDYN_DLLAPI void imagePointJacobian(const Eigen::Vector2d & point2d,
23  const double depthEstimate,
24  Eigen::Matrix<double, 2, 6> & jac);
25 
32 RBDYN_DLLAPI void imagePointJacobian(const Eigen::Vector3d & point3d, Eigen::Matrix<double, 2, 6> & jac);
33 
43 RBDYN_DLLAPI void imagePointJacobianDot(const Eigen::Vector2d & imagePoint,
44  const Eigen::Vector2d & imagePointSpeed,
45  const double depth,
46  const double depthDot,
47  Eigen::Matrix<double, 2, 6> & jac);
48 
57 RBDYN_DLLAPI void poseJacobian(const Eigen::Matrix3d & rotation, Eigen::Matrix<double, 6, 6> & jac);
58 
66 RBDYN_DLLAPI void depthDotJacobian(const Eigen::Vector2d & imagePointSpeed,
67  const double depthEstimate,
68  Eigen::Matrix<double, 1, 6> & jac);
69 
77 RBDYN_DLLAPI void getAngleAxis(const Eigen::Matrix3d & rotation, double & rot_angle, Eigen::Vector3d & rot_axis);
78 
85 RBDYN_DLLAPI void getSkewSym(const Eigen::Vector3d & vector, Eigen::Matrix3d & matrix);
86 } // namespace rbd
rbd::depthDotJacobian
RBDYN_DLLAPI void depthDotJacobian(const Eigen::Vector2d &imagePointSpeed, const double depthEstimate, Eigen::Matrix< double, 1, 6 > &jac)
rbd::imagePointJacobianDot
RBDYN_DLLAPI void imagePointJacobianDot(const Eigen::Vector2d &imagePoint, const Eigen::Vector2d &imagePointSpeed, const double depth, const double depthDot, Eigen::Matrix< double, 2, 6 > &jac)
rbd
Definition: common.h:20
rbd::poseJacobian
RBDYN_DLLAPI void poseJacobian(const Eigen::Matrix3d &rotation, Eigen::Matrix< double, 6, 6 > &jac)
rbd::imagePointJacobian
RBDYN_DLLAPI void imagePointJacobian(const Eigen::Vector2d &point2d, const double depthEstimate, Eigen::Matrix< double, 2, 6 > &jac)
rbd::getAngleAxis
RBDYN_DLLAPI void getAngleAxis(const Eigen::Matrix3d &rotation, double &rot_angle, Eigen::Vector3d &rot_axis)
rbd::getSkewSym
RBDYN_DLLAPI void getSkewSym(const Eigen::Vector3d &vector, Eigen::Matrix3d &matrix)