64 double x = xyz_trans[0];
65 double y = xyz_trans[1];
66 double z = xyz_trans[2];
69 Eigen::Matrix<double, 2, 3> tmp;
72 tmp(0, 2) = -x / z *
fx;
76 tmp(1, 2) = -y / z *
fy;
98 res[0] = proj[0] *
fx +
cx;
99 res[1] = proj[1] *
fy +
cy;
BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSE3Expmap >::template JacobianType< D, VertexXj::Dimension > & _jacobianOplusXj
BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSE3Expmap >::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
Measurement _measurement
the measurement of the edge
const EstimateType & estimate() const
return the current estimate of the vertex
bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
Vector2 cam_project(const Vector3 &trans_xyz) const
virtual void linearizeOplus()
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeSE3ProjectXYZ()
bool write(std::ostream &os) const
write the vertex to a stream
VertexContainer _vertices
const Quaternion & rotation() const
Vector3 map(const Vector3 &xyz) const
Vertex for a tracked point in space.
SE3 Vertex parameterized internally with a transformation matrix and externally with its exponential ...
bool writeVector(std::ostream &os, const Eigen::DenseBase< Derived > &b)
bool readVector(std::istream &is, Eigen::DenseBase< Derived > &b)
G2O_TYPES_SLAM3D_API Vector2 project(const Vector3 &)