57 Vector4 ppt(pt(0), pt(1), pt(2), 1);
60 perr = p.head<2>() / p(2);
86 double ipz2 = 1.0 / (pz * pz);
88 std::cout <<
"[SetJac] infinite jac" << std::endl;
92 double ipz2fx = ipz2 * cam.
Kcam(0, 0);
93 double ipz2fy = ipz2 * cam.
Kcam(1, 1);
114 dp = -cam.
w2n.col(0);
117 dp = -cam.
w2n.col(1);
120 dp = -cam.
w2n.col(2);
BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexCam >::template JacobianType< D, VertexXj::Dimension > & _jacobianOplusXj
BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexCam >::template JacobianType< D, VertexXi::Dimension > & _jacobianOplusXi
bool writeInformationMatrix(std::ostream &os) const
write the upper trinagular part of the information matrix into the stream
bool readInformationMatrix(std::istream &is)
EIGEN_STRONG_INLINE const Measurement & measurement() const
accessor functions for the measurement represented by the edge
EIGEN_STRONG_INLINE const InformationType & information() const
information matrix of the constraint
Measurement _measurement
the measurement of the edge
const EstimateType & estimate() const
return the current estimate of the vertex
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeProjectP2MC()
virtual void computeError()
return the error estimate as a 2-vector
virtual void linearizeOplus()
Jacobian for monocular projection.
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
VertexContainer _vertices
Eigen::Matrix< double, 3, 4 > w2i
Eigen::Matrix< double, 3, 4 > w2n
const Vector3 & translation() const
SBACam Vertex, (x,y,z,qw,qx,qy,qz) the parameterization for the increments constructed is a 6d vector...
Vertex for a tracked point in space.
bool writeVector(std::ostream &os, const Eigen::DenseBase< Derived > &b)
bool readVector(std::istream &is, Eigen::DenseBase< Derived > &b)