24 #ifndef PIFACTORPLANE_HPP_ 25 #define PIFACTORPLABE_HPP_ 28 #include "mrob/matrix_base.hpp" 29 #include "mrob/factor.hpp" 50 PiFactorPlane(
const Mat4 &Sobservation, std::shared_ptr<Node> &nodePose,
51 std::shared_ptr<Node> &nodePlane,
64 virtual void print()
const;
66 MatRefConst
get_obs()
const override {
return Sobs_;};
68 MatRefConst get_information_matrix()
const override {
return W_;};
69 MatRefConst
get_jacobian([[maybe_unused]] mrob::factor_id_t
id = 0)
const override {
return J_;};
77 bool reversedNodeOrder_;
80 Mat4 Sobs_, S_mul_T_transp_;
83 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
MatRefConst get_obs() const override
Definition: PiFactorPlane.hpp:66
virtual void print() const
Definition: PiFactorPlane.cpp:101
robustFactorType
Definition: factor.hpp:87
MatRefConst get_jacobian([[maybe_unused]] mrob::factor_id_t id=0) const override
Definition: PiFactorPlane.hpp:69
PiFactorPlane(const Mat4 &Sobservation, std::shared_ptr< Node > &nodePose, std::shared_ptr< Node > &nodePlane, Factor::robustFactorType robust_type=Factor::robustFactorType::QUADRATIC)
Definition: PiFactorPlane.cpp:33
virtual void evaluate_residuals() override
Definition: PiFactorPlane.cpp:56
virtual void evaluate_chi2() override
Definition: PiFactorPlane.cpp:96
Definition: PiFactorPlane.hpp:44
VectRefConst get_residual() const override
Definition: PiFactorPlane.hpp:67
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
Definition: factor.hpp:81
virtual void evaluate_jacobians() override
Definition: PiFactorPlane.cpp:73