48 "CACHE_SE3_OFFSET", pv);
85 assert(v &&
"Vertex for the Prior edge is not set");
89 if (
_information.block<3, 3>(0, 0).array().abs().sum() ==
92 newEstimate.translation() = v->
estimate().translation();
bool writeInformationMatrix(std::ostream &os) const
write the upper trinagular part of the information matrix into the stream
bool readInformationMatrix(std::istream &is)
bool readParamIds(std::istream &is)
reads the param IDs from the stream
EIGEN_STRONG_INLINE const Measurement & measurement() const
accessor functions for the measurement represented by the edge
virtual void setMeasurement(const Measurement &m)
InformationType _information
EIGEN_STRONG_INLINE const InformationType & information() const
information matrix of the constraint
bool writeParamIds(std::ostream &os) const
write the param IDs that are potentially used by the edge
Measurement _measurement
the measurement of the edge
BaseFixedSizedEdge< D, Vector3, VertexSE3 >::template JacobianType< D, VertexXi::Dimension > & _jacobianOplusXi
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 void initialEstimate(const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *)
ParameterSE3Offset * _offsetParam
virtual bool write(std::ostream &os) const
write the vertex to a stream
virtual bool setMeasurementFromState()
virtual void linearizeOplus()
EIGEN_MAKE_ALIGNED_OPERATOR_NEW EdgeSE3XYZPrior()
virtual void computeError()
virtual bool resolveCaches()
VertexContainer _vertices
std::set< Vertex * > VertexSet
bool installParameter(ParameterType *&p, size_t argNo, int paramId=-1)
void resizeParameters(size_t newSize)
void resolveCache(CacheType *&cache, OptimizableGraph::Vertex *, const std::string &_type, const ParameterVector ¶meters)
A general case Vertex for optimization.
const Isometry3 & offset() const
rotation of the offset as 3x3 rotation matrix
3D pose Vertex, represented as an Isometry3
bool writeVector(std::ostream &os, const Eigen::DenseBase< Derived > &b)
bool readVector(std::istream &is, Eigen::DenseBase< Derived > &b)
Eigen::Transform< double, 3, Eigen::Isometry, Eigen::ColMajor > Isometry3
std::vector< Parameter * > ParameterVector