49 if (from_.count(from) > 0)
69 Eigen::Map<const Vector7> v(d);
76 Eigen::Map<Vector7> v(d);
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
virtual void initialEstimate(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
virtual bool getMeasurementData(double *d) const
virtual bool setMeasurementData(const double *d)
virtual bool setMeasurementFromState()
SE3Quat _inverseMeasurement
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual void setMeasurement(const SE3Quat &meas)
VertexContainer _vertices
std::set< Vertex * > VertexSet
A general case Vertex for optimization.
const Quaternion & rotation() const
const Vector3 & translation() const
SBACam Vertex, (x,y,z,qw,qx,qy,qz) the parameterization for the increments constructed is a 6d vector...
virtual void setEstimate(const SBACam &cam)
bool writeVector(std::ostream &os, const Eigen::DenseBase< Derived > &b)
bool readVector(std::istream &is, Eigen::DenseBase< Derived > &b)