24 #ifndef FACTORCAMERAPROJ3DLINE_HPP_ 25 #define FACTORCAMERAPROJ3DLINE_HPP_ 28 #include "mrob/matrix_base.hpp" 29 #include "mrob/SE3.hpp" 30 #include "mrob/factor.hpp" 61 std::shared_ptr<Node> &nodePose,
62 std::shared_ptr<Node> &nodePoint1,
63 std::shared_ptr<Node> &nodePoint2,
64 const Mat41 &camera_k,
65 const Mat2 &obsInf = Mat2::Identity(),
80 MatRefConst
get_obs()
const {
return line_obs_;};
82 MatRefConst get_information_matrix()
const {
return W_;};
83 MatRefConst
get_jacobian([[maybe_unused]] mrob::factor_id_t
id = 0)
const {
return J_;};
88 Mat31 point1_, point2_, local_point1_, local_point2_;
105 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Mat31 project_point_homog(const Mat31 &point)
Definition: factorCameraProj3dLine.cpp:53
void evaluate_residuals() override
Definition: factorCameraProj3dLine.cpp:80
robustFactorType
Definition: factor.hpp:87
Definition: factorCameraProj3dLine.hpp:57
Mat31 calculate_image_line(const Mat21 &p1, const Mat21 &p2)
Definition: factorCameraProj3dLine.cpp:68
MatRefConst get_jacobian([[maybe_unused]] mrob::factor_id_t id=0) const
Definition: factorCameraProj3dLine.hpp:83
void print() const
Definition: factorCameraProj3dLine.cpp:147
void evaluate_jacobians() override
Definition: factorCameraProj3dLine.cpp:92
void evaluate_chi2() override
Definition: factorCameraProj3dLine.cpp:143
Special Euclidean (group) in 3d Is the group representing rotations and translations, that is, rigid body transformations. SE3 = {T = [R t] | R SO3 , t Re^3 } [0 1] Associated to the groups of RBT, there is the Lie algebra se3 representing the same transformation in the tangent space around the identity. Particularly, xi =[w , v] Re^6, where w Re^3 represents the rotation and v the translation. We will preserve this order in this class.
Definition: matrix_base.hpp:36
MatRefConst get_obs() const
Definition: factorCameraProj3dLine.hpp:80
VectRefConst get_residual() const
Definition: factorCameraProj3dLine.hpp:81
Definition: factor.hpp:81