40 assert(from.size() == 1 && from.count(
_vertices[0]) == 1 &&
41 "Can not initialize VertexSE2 position by VertexPointXY");
43 if (from.count(
_vertices[0]) != 1)
return;
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
base class to represent an edge connecting an arbitrary number of nodes
virtual void resize(size_t size)
const EstimateType & estimate() const
return the current estimate of the vertex
void setEstimate(const EstimateType &et)
set the estimate for the vertex also calls updateCache()
virtual bool read(std::istream &is)
read the vertex from a stream, i.e., the internal state of the vertex
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual void initialEstimate(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeSE2PointXYCalib()
VertexContainer _vertices
std::set< Vertex * > VertexSet
A general case Vertex for optimization.
2D pose Vertex, (x,y,theta)
bool writeVector(std::ostream &os, const Eigen::DenseBase< Derived > &b)
bool readVector(std::istream &is, Eigen::DenseBase< Derived > &b)