|
g2o
|
#include <base_edge.h>
Inherits g2o::OptimizableGraph::Edge.
Inherited by g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexBaseline >, g2o::BaseFixedSizedEdge< D, g2o::Vector2, VertexCameraBAL, VertexPointBAL >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexCircle >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexParams >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPosition3D >, g2o::BaseFixedSizedEdge< D, Eigen::VectorXd, FPolynomialCoefficientVertex, PPolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, double, PolynomialCoefficientVertex >, g2o::BaseFixedSizedEdge< D, Eigen::Vector3d, VertexPositionVelocity3D, VertexPositionVelocity3D >, g2o::BaseFixedSizedEdge< D, E, VertexXi, VertexXj >, g2o::BaseFixedSizedEdge< D, E, VertexXi >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Line2D, VertexLine2D, VertexLine2D >, g2o::BaseFixedSizedEdge< D, double, VertexLine2D, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector4, VertexPlane, VertexPlane >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexCam >, g2o::BaseFixedSizedEdge< 2, Vector2, VertexPointXYZ, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, double, VertexCam, VertexCam >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, Line2D, VertexSE2, VertexLine2D >, g2o::BaseFixedSizedEdge< 3, VelocityMeasurement, VertexSE2, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, double, VertexSE2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, SE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, OdomAndLaserMotion, VertexSE2, VertexOdomDifferentialParams >, g2o::BaseFixedSizedEdge< D, Vector4, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE2, VertexSegment2D >, g2o::BaseFixedSizedEdge< 3, SE2, VertexSE2, VertexSE2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE2 >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, SE3Quat, VertexSE3Expmap, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Line3D, VertexSE3, VertexLine3D >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, Isometry3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Vector2, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Sim3, VertexSim3Expmap, VertexSim3Expmap >, g2o::BaseFixedSizedEdge< D, Vector3, VertexSE3Expmap >, g2o::BaseFixedSizedEdge< D, Vector2, VertexPointXY >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ >, g2o::BaseFixedSizedEdge< D, EdgeGICP, VertexSE3, VertexSE3 >, g2o::BaseFixedSizedEdge< D, Vector3, VertexPointXYZ, VertexSCam >, g2o::BaseFixedSizedEdge< D, Eigen::Vector2d, VertexSE2, VertexPointXY >, g2o::BaseVariableSizedEdge<-1, VectorX >, g2o::BaseVariableSizedEdge< 2, Vector2 >, g2o::BaseVariableSizedEdge< 4, Vector4 >, g2o::BaseVariableSizedEdge< 6, Isometry3 >, g2o::BaseVariableSizedEdge< 3, Plane3D >, g2o::BaseFixedSizedEdge< D, E, VertexTypes >, and g2o::BaseVariableSizedEdge< D, E >.

Public Types | |
| typedef E | Measurement |
| typedef internal::BaseEdgeTraits< D >::ErrorVector | ErrorVector |
| typedef internal::BaseEdgeTraits< D >::InformationType | InformationType |
Public Member Functions | |
| BaseEdge () | |
| BaseEdge & | operator= (const BaseEdge &)=delete |
| BaseEdge (const BaseEdge &)=delete | |
| virtual | ~BaseEdge () |
| virtual double | chi2 () const |
| virtual const double * | errorData () const |
| returns the error vector cached after calling the computeError; | |
| virtual double * | errorData () |
| const ErrorVector & | error () const |
| ErrorVector & | error () |
| EIGEN_STRONG_INLINE const InformationType & | information () const |
| information matrix of the constraint | |
| EIGEN_STRONG_INLINE InformationType & | information () |
| void | setInformation (const InformationType &information) |
| virtual const double * | informationData () const |
| virtual double * | informationData () |
| EIGEN_STRONG_INLINE const Measurement & | measurement () const |
| accessor functions for the measurement represented by the edge | |
| virtual void | setMeasurement (const Measurement &m) |
| virtual int | rank () const |
| virtual void | initialEstimate (const OptimizableGraph::VertexSet &, OptimizableGraph::Vertex *) |
| template<int Dim = D> | |
| std::enable_if< Dim==-1, void >::type | setDimension (int dim) |
Public Member Functions inherited from g2o::OptimizableGraph::Edge | |
| Edge () | |
| virtual | ~Edge () |
| virtual bool | allVerticesFixed () const =0 |
| virtual void | computeError ()=0 |
| virtual bool | setMeasurementData (const double *m) |
| virtual bool | getMeasurementData (double *m) const |
| virtual int | measurementDimension () const |
| virtual bool | setMeasurementFromState () |
| RobustKernel * | robustKernel () const |
| if NOT NULL, error of this edge will be robustifed with the kernel | |
| void | setRobustKernel (RobustKernel *ptr) |
| virtual void | constructQuadraticForm ()=0 |
| virtual void | mapHessianMemory (double *d, int i, int j, bool rowMajor)=0 |
| virtual void | linearizeOplus (JacobianWorkspace &jacobianWorkspace)=0 |
| virtual double | initialEstimatePossible (const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to) |
| int | level () const |
| returns the level of the edge | |
| void | setLevel (int l) |
| sets the level of the edge | |
| int | dimension () const |
| returns the dimensions of the error function | |
| G2O_ATTRIBUTE_DEPRECATED (virtual Vertex *createFrom()) | |
| G2O_ATTRIBUTE_DEPRECATED (virtual Vertex *createTo()) | |
| virtual Vertex * | createVertex (int) |
| virtual bool | read (std::istream &is)=0 |
| read the vertex from a stream, i.e., the internal state of the vertex | |
| virtual bool | write (std::ostream &os) const =0 |
| write the vertex to a stream | |
| long long | internalId () const |
| the internal ID of the edge | |
| OptimizableGraph * | graph () |
| const OptimizableGraph * | graph () const |
| bool | setParameterId (int argNum, int paramId) |
| const Parameter * | parameter (int argNo) const |
| size_t | numParameters () const |
| void | resizeParameters (size_t newSize) |
Public Member Functions inherited from g2o::HyperGraph::Edge | |
| Edge (int id=InvalidId) | |
| creates and empty edge with no vertices | |
| virtual void | resize (size_t size) |
| const VertexContainer & | vertices () const |
| VertexContainer & | vertices () |
| const Vertex * | vertex (size_t i) const |
| Vertex * | vertex (size_t i) |
| void | setVertex (size_t i, Vertex *v) |
| int | id () const |
| void | setId (int id) |
| virtual HyperGraphElementType | elementType () const |
| int | numUndefinedVertices () const |
Public Member Functions inherited from g2o::HyperGraph::HyperGraphElement | |
| virtual | ~HyperGraphElement () |
Public Member Functions inherited from g2o::HyperGraph::DataContainer | |
| DataContainer () | |
| virtual | ~DataContainer () |
| const Data * | userData () const |
| the user data associated with this vertex | |
| Data * | userData () |
| void | setUserData (Data *obs) |
| void | addUserData (Data *obs) |
Static Public Attributes | |
| static constexpr int | Dimension = internal::BaseEdgeTraits<D>::Dimension |
Protected Member Functions | |
| InformationType | robustInformation (const Vector3 &rho) const |
| bool | writeInformationMatrix (std::ostream &os) const |
| write the upper trinagular part of the information matrix into the stream | |
| bool | readInformationMatrix (std::istream &is) |
| bool | writeParamIds (std::ostream &os) const |
| write the param IDs that are potentially used by the edge | |
| bool | readParamIds (std::istream &is) |
| reads the param IDs from the stream | |
Protected Member Functions inherited from g2o::OptimizableGraph::Edge | |
| template<typename ParameterType > | |
| bool | installParameter (ParameterType *&p, size_t argNo, int paramId=-1) |
| template<typename CacheType > | |
| void | resolveCache (CacheType *&cache, OptimizableGraph::Vertex *, const std::string &_type, const ParameterVector ¶meters) |
| bool | resolveParameters () |
| virtual bool | resolveCaches () |
Protected Attributes | |
| Measurement | _measurement |
| the measurement of the edge | |
| InformationType | _information |
| ErrorVector | _error |
Protected Attributes inherited from g2o::OptimizableGraph::Edge | |
| int | _dimension |
| int | _level |
| RobustKernel * | _robustKernel |
| long long | _internalId |
| std::vector< int > | _cacheIds |
| std::vector< std::string > | _parameterTypes |
| std::vector< Parameter ** > | _parameters |
| std::vector< int > | _parameterIds |
Protected Attributes inherited from g2o::HyperGraph::Edge | |
| VertexContainer | _vertices |
| int | _id |
| unique id | |
Protected Attributes inherited from g2o::HyperGraph::DataContainer | |
| Data * | _userData |
Definition at line 86 of file base_edge.h.
| typedef internal::BaseEdgeTraits<D>::ErrorVector g2o::BaseEdge< D, E >::ErrorVector |
Definition at line 90 of file base_edge.h.
| typedef internal::BaseEdgeTraits<D>::InformationType g2o::BaseEdge< D, E >::InformationType |
Definition at line 91 of file base_edge.h.
| typedef E g2o::BaseEdge< D, E >::Measurement |
Definition at line 89 of file base_edge.h.
|
inline |
Definition at line 93 of file base_edge.h.
References g2o::OptimizableGraph::Edge::_dimension.
|
delete |
|
inlinevirtual |
Definition at line 97 of file base_edge.h.
|
inlinevirtual |
computes the chi2 based on the cached error value, only valid after computeError has been called.
Implements g2o::OptimizableGraph::Edge.
Reimplemented in g2o::OnlineEdgeSE2, and g2o::OnlineEdgeSE3.
Definition at line 99 of file base_edge.h.
References g2o::BaseEdge< D, E >::_error, and g2o::BaseEdge< D, E >::information().
|
inline |
|
inline |
Definition at line 103 of file base_edge.h.
References g2o::BaseEdge< D, E >::_error.
Referenced by EdgePointOnCircle::operator()(), EdgeObservationBAL::operator()(), and EdgePointOnCurve::operator()().
|
inlinevirtual |
Implements g2o::OptimizableGraph::Edge.
Definition at line 102 of file base_edge.h.
References g2o::BaseEdge< D, E >::_error.
|
inlinevirtual |
returns the error vector cached after calling the computeError;
Implements g2o::OptimizableGraph::Edge.
Definition at line 101 of file base_edge.h.
References g2o::BaseEdge< D, E >::_error.
|
inline |
|
inline |
information matrix of the constraint
Definition at line 107 of file base_edge.h.
References g2o::BaseEdge< D, E >::_information.
Referenced by g2o::addOdometryCalibLinksDifferential(), g2o::BaseEdge< D, E >::chi2(), g2o::EdgeProjectP2MC::EdgeProjectP2MC(), g2o::EdgeSE2Offset::EdgeSE2Offset(), g2o::EdgeSE2PointXYOffset::EdgeSE2PointXYOffset(), g2o::EdgeSE3::EdgeSE3(), g2o::EdgeSE3Line3D::EdgeSE3Line3D(), g2o::EdgeSE3Offset::EdgeSE3Offset(), g2o::EdgeSE3PointXYZ::EdgeSE3PointXYZ(), g2o::EdgeSE3PointXYZDepth::EdgeSE3PointXYZDepth(), g2o::EdgeSE3PointXYZDisparity::EdgeSE3PointXYZDisparity(), g2o::EdgeSE3Prior::EdgeSE3Prior(), g2o::EdgeSE3XYZPrior::EdgeSE3XYZPrior(), g2o::EdgeXYZPrior::EdgeXYZPrior(), main(), main(), main(), g2o::tutorial::EdgeSE2::read(), g2o::tutorial::EdgeSE2PointXY::read(), g2o::Edge_V_V_GICP::read(), g2o::EdgeSBAScale::read(), g2o::EdgeSE2LotsOfXY::read(), g2o::EdgeSE2Offset::read(), g2o::EdgeSE2PointXYBearing::read(), g2o::EdgeSE2PointXYOffset::read(), g2o::EdgeSE2TwoPointsXY::read(), g2o::EdgeLine2DPointXY::read(), g2o::EdgePointXYZ::read(), g2o::EdgeSE3LotsOfXYZ::read(), g2o::Gm2dlIO::readGm2dl(), g2o::BaseEdge< D, E >::readInformationMatrix(), g2o::BaseEdge< D, E >::setInformation(), g2o::SolverSLAM2DLinear::solveOrientation(), g2o::tutorial::EdgeSE2::write(), g2o::tutorial::EdgeSE2PointXY::write(), g2o::EdgeSBAScale::write(), g2o::EdgeSE2LotsOfXY::write(), g2o::EdgeSE2PointXYBearing::write(), g2o::EdgeSE2TwoPointsXY::write(), g2o::EdgeLine2DPointXY::write(), g2o::EdgePointXYZ::write(), g2o::EdgeSE3LotsOfXYZ::write(), g2o::EdgeSE3Euler::write(), g2o::Gm2dlIO::writeGm2dl(), and g2o::BaseEdge< D, E >::writeInformationMatrix().
|
inlinevirtual |
Implements g2o::OptimizableGraph::Edge.
Definition at line 116 of file base_edge.h.
References g2o::BaseEdge< D, E >::_information.
|
inlinevirtual |
returns the memory of the information matrix, usable for example with a Eigen::Map<MatrixX>
Implements g2o::OptimizableGraph::Edge.
Definition at line 115 of file base_edge.h.
References g2o::BaseEdge< D, E >::_information.
|
inlinevirtual |
set the estimate of the to vertex, based on the estimate of the from vertices in the edge.
Implements g2o::OptimizableGraph::Edge.
Reimplemented in TargetOdometry3DEdge, g2o::EdgeSE2LotsOfXY, g2o::EdgeSE2TwoPointsXY, g2o::EdgeSE3LotsOfXYZ, g2o::EdgeSE3XYZPrior, g2o::OnlineEdgeSE2, g2o::OnlineEdgeSE3, g2o::EdgeSim3, g2o::EdgeSBACam, g2o::EdgeSE2SensorCalib, g2o::EdgeSE2, g2o::EdgeSE2Offset, g2o::EdgeSE2PointXY, g2o::EdgeSE2PointXYBearing, g2o::EdgeSE2PointXYCalib, g2o::EdgeSE2PointXYOffset, g2o::EdgeSE2Prior, g2o::EdgeSE2Line2D, g2o::EdgeSE2Segment2D, g2o::EdgeSE3, g2o::EdgeSE3Offset, g2o::EdgeSE3PointXYZ, g2o::EdgeSE3PointXYZDepth, g2o::EdgeSE3PointXYZDisparity, g2o::EdgeSE3Prior, and g2o::EdgeSBAScale.
Definition at line 126 of file base_edge.h.
References G2O_WARN.
|
inline |
accessor functions for the measurement represented by the edge
Definition at line 119 of file base_edge.h.
References g2o::BaseEdge< D, E >::_measurement.
Referenced by g2o::EdgeSE2PureCalib::computeError(), EdgeCalib::computeError(), g2o::EdgeProjectXYZ2UV::computeError(), g2o::EdgeProjectXYZ2UVU::computeError(), g2o::Edge_V_V_GICP::Edge_V_V_GICP(), GPSObservationEdgePositionVelocity3D::GPSObservationEdgePositionVelocity3D(), g2o::EdgeSE3XYZPrior::initialEstimate(), g2o::EdgeSE2SensorCalib::initialEstimate(), g2o::EdgeSE2Offset::initialEstimate(), g2o::EdgeSE3Offset::initialEstimate(), g2o::EdgeSE3Prior::initialEstimate(), g2o::Edge_V_V_GICP::linearizeOplus(), main(), main(), Robot::move(), EdgePointOnCircle::operator()(), EdgeObservationBAL::operator()(), EdgePointOnCurve::operator()(), g2o::ThetaTreeAction::perform(), g2o::tutorial::EdgeSE2::read(), g2o::Edge_V_V_GICP::read(), g2o::EdgeSE2SensorCalib::read(), g2o::EdgeSE2::read(), g2o::SolverSLAM2DLinear::solveOrientation(), ToEdgeSim3(), g2o::tutorial::EdgeSE2::write(), g2o::tutorial::EdgeSE2PointXY::write(), g2o::Edge_V_V_GICP::write(), g2o::EdgeProjectP2MC::write(), g2o::EdgeProjectP2SC::write(), g2o::EdgeProjectPSI2UV::write(), g2o::EdgeStereoSE3ProjectXYZ::write(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::write(), g2o::EdgeSE3ProjectXYZ::write(), g2o::EdgeProjectXYZ2UV::write(), g2o::EdgeProjectXYZ2UVU::write(), g2o::EdgeSE3ProjectXYZOnlyPose::write(), g2o::EdgeSBACam::write(), g2o::EdgeSBAScale::write(), g2o::EdgeSE3Expmap::write(), g2o::EdgeSE2OdomDifferentialCalib::write(), g2o::EdgeSE2SensorCalib::write(), g2o::EdgeSim3::write(), g2o::EdgePointXY::write(), g2o::EdgeSE2::write(), g2o::EdgeSE2Offset::write(), g2o::EdgeSE2PointXY::write(), g2o::EdgeSE2PointXYBearing::write(), g2o::EdgeSE2PointXYCalib::write(), g2o::EdgeSE2PointXYOffset::write(), g2o::EdgeSE2Prior::write(), g2o::EdgeSE2TwoPointsXY::write(), g2o::EdgeSE2XYPrior::write(), g2o::EdgeXYPrior::write(), g2o::EdgeLine2D::write(), g2o::EdgeLine2DPointXY::write(), g2o::EdgeSE2Line2D::write(), g2o::EdgeSE2Segment2D::write(), g2o::EdgeSE2Segment2DLine::write(), g2o::EdgeSE2Segment2DPointLine::write(), g2o::EdgePointXYZ::write(), g2o::EdgeSE3::write(), g2o::EdgeSE3PointXYZ::write(), g2o::EdgeSE3PointXYZDepth::write(), g2o::EdgeSE3PointXYZDisparity::write(), g2o::EdgeSE3Prior::write(), g2o::EdgeSE3XYZPrior::write(), g2o::EdgeXYZPrior::write(), g2o::EdgePlane::write(), g2o::EdgeSE3Euler::write(), g2o::EdgeSE3Line3D::write(), g2o::EdgeSE3PlaneSensorCalib::write(), and g2o::Gm2dlIO::writeGm2dl().
|
delete |
|
inlinevirtual |
|
inlineprotected |
reads the upper triangular part of the matrix and recovers the missing symmetrical elements
Definition at line 173 of file base_edge.h.
References g2o::BaseEdge< D, E >::information().
Referenced by PolynomialSingleValueEdge::read(), MultipleValueEdge::read(), g2o::EdgeProjectP2MC::read(), g2o::EdgeProjectP2SC::read(), g2o::EdgeProjectPSI2UV::read(), g2o::EdgeStereoSE3ProjectXYZ::read(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::read(), g2o::EdgeSE3ProjectXYZ::read(), g2o::EdgeProjectXYZ2UV::read(), g2o::EdgeProjectXYZ2UVU::read(), g2o::EdgeSE3ProjectXYZOnlyPose::read(), g2o::EdgeSBACam::read(), g2o::EdgeSE3Expmap::read(), g2o::EdgeSE2OdomDifferentialCalib::read(), g2o::EdgeSE2SensorCalib::read(), g2o::EdgeSim3::read(), g2o::EdgeSim3ProjectXYZ::read(), g2o::EdgeInverseSim3ProjectXYZ::read(), g2o::EdgePointXY::read(), g2o::EdgeSE2::read(), g2o::EdgeSE2Offset::read(), g2o::EdgeSE2PointXY::read(), g2o::EdgeSE2PointXYCalib::read(), g2o::EdgeSE2PointXYOffset::read(), g2o::EdgeSE2Prior::read(), g2o::EdgeSE2XYPrior::read(), g2o::EdgeXYPrior::read(), g2o::EdgeLine2D::read(), g2o::EdgeSE2Line2D::read(), g2o::EdgeSE2Segment2D::read(), g2o::EdgeSE2Segment2DLine::read(), g2o::EdgeSE2Segment2DPointLine::read(), g2o::EdgeSE3::read(), g2o::EdgeSE3Offset::read(), g2o::EdgeSE3PointXYZ::read(), g2o::EdgeSE3PointXYZDepth::read(), g2o::EdgeSE3PointXYZDisparity::read(), g2o::EdgeSE3Prior::read(), g2o::EdgeSE3XYZPrior::read(), g2o::EdgeXYZPrior::read(), g2o::EdgePlane::read(), g2o::EdgeSE3Calib::read(), g2o::EdgeSE3Line3D::read(), and g2o::EdgeSE3PlaneSensorCalib::read().
|
inlineprotected |
reads the param IDs from the stream
Definition at line 187 of file base_edge.h.
References g2o::OptimizableGraph::Edge::numParameters(), and g2o::OptimizableGraph::Edge::setParameterId().
Referenced by g2o::EdgeProjectPSI2UV::read(), g2o::EdgeProjectXYZ2UV::read(), g2o::EdgeProjectXYZ2UVU::read(), g2o::EdgeSE3Offset::read(), g2o::EdgeSE3PointXYZ::read(), g2o::EdgeSE3PointXYZDepth::read(), g2o::EdgeSE3PointXYZDisparity::read(), g2o::EdgeSE3Prior::read(), g2o::EdgeSE3XYZPrior::read(), and g2o::EdgeSE3Line3D::read().
|
inlineprotected |
calculate the robust information matrix by updating the information matrix of the error
Definition at line 156 of file base_edge.h.
References g2o::BaseEdge< D, E >::_information.
|
inline |
set the dimension for a dynamically sizeable error function. The member will not be declared for edges having a fixed size at compile time.
Definition at line 139 of file base_edge.h.
References g2o::OptimizableGraph::Edge::_dimension, g2o::BaseEdge< D, E >::_error, and g2o::BaseEdge< D, E >::_information.
Referenced by MultipleValueEdge::MultipleValueEdge().
|
inline |
Definition at line 111 of file base_edge.h.
References g2o::BaseEdge< D, E >::_information, and g2o::BaseEdge< D, E >::information().
Referenced by g2o::G2oSlamInterface::addEdge(), GPSObservationEdgePositionVelocity3D::GPSObservationEdgePositionVelocity3D(), main(), main(), Robot::move(), MultipleValueEdge::MultipleValueEdge(), PolynomialSingleValueEdge::PolynomialSingleValueEdge(), g2o::EdgeSE3Euler::read(), LineSensor::sense(), PlaneSensor::sense(), and TargetOdometry3DEdge::TargetOdometry3DEdge().
|
inlinevirtual |
Definition at line 122 of file base_edge.h.
References g2o::BaseEdge< D, E >::_measurement.
Referenced by g2o::addOdometryCalibLinksDifferential(), g2o::EdgeSE3XYZPrior::EdgeSE3XYZPrior(), GPSObservationEdgePositionVelocity3D::GPSObservationEdgePositionVelocity3D(), main(), main(), main(), MultipleValueEdge::MultipleValueEdge(), PolynomialSingleValueEdge::PolynomialSingleValueEdge(), PolynomialSingleValueEdge::read(), MultipleValueEdge::read(), g2o::EdgeSE3Expmap::read(), g2o::EdgeSE2OdomDifferentialCalib::read(), g2o::EdgeSim3::read(), g2o::EdgeSE3Calib::read(), and ToEdgeSim3().
|
inlineprotected |
write the upper trinagular part of the information matrix into the stream
Definition at line 165 of file base_edge.h.
References g2o::BaseEdge< D, E >::information().
Referenced by PolynomialSingleValueEdge::write(), MultipleValueEdge::write(), g2o::EdgeProjectP2MC::write(), g2o::EdgeProjectP2SC::write(), g2o::EdgeProjectPSI2UV::write(), g2o::EdgeStereoSE3ProjectXYZ::write(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::write(), g2o::EdgeSE3ProjectXYZ::write(), g2o::EdgeProjectXYZ2UV::write(), g2o::EdgeProjectXYZ2UVU::write(), g2o::EdgeSE3ProjectXYZOnlyPose::write(), g2o::EdgeSBACam::write(), g2o::EdgeSE3Expmap::write(), g2o::EdgeSE2OdomDifferentialCalib::write(), g2o::EdgeSE2SensorCalib::write(), g2o::EdgeSim3::write(), g2o::EdgeSim3ProjectXYZ::write(), g2o::EdgeInverseSim3ProjectXYZ::write(), g2o::EdgePointXY::write(), g2o::EdgeSE2::write(), g2o::EdgeSE2Offset::write(), g2o::EdgeSE2PointXY::write(), g2o::EdgeSE2PointXYCalib::write(), g2o::EdgeSE2PointXYOffset::write(), g2o::EdgeSE2Prior::write(), g2o::EdgeSE2XYPrior::write(), g2o::EdgeXYPrior::write(), g2o::EdgeLine2D::write(), g2o::EdgeSE2Line2D::write(), g2o::EdgeSE2Segment2D::write(), g2o::EdgeSE2Segment2DLine::write(), g2o::EdgeSE2Segment2DPointLine::write(), g2o::EdgeSE3::write(), g2o::EdgeSE3Offset::write(), g2o::EdgeSE3PointXYZ::write(), g2o::EdgeSE3PointXYZDepth::write(), g2o::EdgeSE3PointXYZDisparity::write(), g2o::EdgeSE3Prior::write(), g2o::EdgeSE3XYZPrior::write(), g2o::EdgeXYZPrior::write(), g2o::EdgePlane::write(), g2o::EdgeSE3Calib::write(), g2o::EdgeSE3Line3D::write(), and g2o::EdgeSE3PlaneSensorCalib::write().
|
inlineprotected |
write the param IDs that are potentially used by the edge
Definition at line 182 of file base_edge.h.
References g2o::OptimizableGraph::Edge::_parameterIds.
Referenced by g2o::EdgeProjectPSI2UV::write(), g2o::EdgeProjectXYZ2UV::write(), g2o::EdgeProjectXYZ2UVU::write(), g2o::EdgeSE3Offset::write(), g2o::EdgeSE3PointXYZ::write(), g2o::EdgeSE3PointXYZDepth::write(), g2o::EdgeSE3PointXYZDisparity::write(), g2o::EdgeSE3Prior::write(), g2o::EdgeSE3XYZPrior::write(), and g2o::EdgeSE3Line3D::write().
|
protected |
error vector, stores the result after computeError() is called
Definition at line 149 of file base_edge.h.
Referenced by g2o::BaseEdge< D, E >::chi2(), g2o::EdgeSE2PureCalib::computeError(), EdgeCalib::computeError(), PolynomialSingleValueEdge::computeError(), MultipleValueEdge::computeError(), GPSObservationPosition3DEdge::computeError(), TargetOdometry3DEdge::computeError(), GPSObservationEdgePositionVelocity3D::computeError(), g2o::tutorial::EdgeSE2PointXY::computeError(), g2o::EdgeProjectP2MC::computeError(), g2o::EdgeProjectP2SC::computeError(), g2o::EdgeProjectPSI2UV::computeError(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::computeError(), g2o::EdgeSE3ProjectXYZ::computeError(), g2o::EdgeProjectXYZ2UV::computeError(), g2o::EdgeProjectXYZ2UVU::computeError(), g2o::EdgeSE3ProjectXYZOnlyPose::computeError(), g2o::EdgeSBACam::computeError(), g2o::EdgeSBAScale::computeError(), g2o::EdgeSE3Expmap::computeError(), g2o::EdgeSE2LotsOfXY::computeError(), g2o::EdgeSE2Offset::computeError(), g2o::EdgeSE2PointXYOffset::computeError(), g2o::EdgeSE2TwoPointsXY::computeError(), g2o::EdgeLine2DPointXY::computeError(), g2o::EdgeSE2Segment2D::computeError(), g2o::EdgeSE2Segment2DLine::computeError(), g2o::EdgeSE3::computeError(), g2o::EdgeSE3LotsOfXYZ::computeError(), g2o::EdgeSE3Offset::computeError(), g2o::EdgeSE3PointXYZ::computeError(), g2o::EdgeSE3PointXYZDepth::computeError(), g2o::EdgeSE3PointXYZDisparity::computeError(), g2o::EdgeSE3Prior::computeError(), g2o::EdgeSE3XYZPrior::computeError(), g2o::EdgeXYZPrior::computeError(), g2o::EdgeSE3Calib::computeError(), g2o::EdgeSE3Line3D::computeError(), g2o::EdgeLine2D::EdgeLine2D(), g2o::EdgePlane::EdgePlane(), g2o::EdgePointXY::EdgePointXY(), g2o::EdgePointXYZ::EdgePointXYZ(), g2o::EdgeXYPrior::EdgeXYPrior(), g2o::BaseEdge< D, E >::error(), g2o::BaseEdge< D, E >::error(), g2o::BaseEdge< D, E >::errorData(), g2o::BaseEdge< D, E >::errorData(), and g2o::BaseEdge< D, E >::setDimension().
|
protected |
information matrix of the edge. Information = inv(covariance)
Definition at line 147 of file base_edge.h.
Referenced by g2o::EdgeLine2D::EdgeLine2D(), g2o::EdgePlane::EdgePlane(), g2o::EdgePointXY::EdgePointXY(), g2o::EdgePointXYZ::EdgePointXYZ(), g2o::EdgeXYPrior::EdgeXYPrior(), g2o::BaseEdge< D, E >::information(), g2o::BaseEdge< D, E >::information(), g2o::BaseEdge< D, E >::informationData(), g2o::BaseEdge< D, E >::informationData(), g2o::EdgeSE3XYZPrior::initialEstimate(), g2o::EdgeSE3Prior::initialEstimate(), g2o::BaseEdge< D, E >::robustInformation(), g2o::BaseEdge< D, E >::setDimension(), and g2o::BaseEdge< D, E >::setInformation().
|
protected |
the measurement of the edge
Definition at line 146 of file base_edge.h.
Referenced by PolynomialSingleValueEdge::computeError(), MultipleValueEdge::computeError(), GPSObservationPosition3DEdge::computeError(), TargetOdometry3DEdge::computeError(), GPSObservationEdgePositionVelocity3D::computeError(), g2o::tutorial::EdgeSE2PointXY::computeError(), g2o::EdgeProjectP2MC::computeError(), g2o::EdgeProjectP2SC::computeError(), g2o::EdgeProjectPSI2UV::computeError(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::computeError(), g2o::EdgeSE3ProjectXYZ::computeError(), g2o::EdgeSE3ProjectXYZOnlyPose::computeError(), g2o::EdgeSBAScale::computeError(), g2o::EdgeSE3Expmap::computeError(), g2o::EdgeSE2LotsOfXY::computeError(), g2o::EdgeSE2PointXYOffset::computeError(), g2o::EdgeSE2TwoPointsXY::computeError(), g2o::EdgeLine2DPointXY::computeError(), g2o::EdgeSE2Segment2D::computeError(), g2o::EdgeSE2Segment2DLine::computeError(), g2o::EdgeSE3LotsOfXYZ::computeError(), g2o::EdgeSE3PointXYZ::computeError(), g2o::EdgeSE3PointXYZDepth::computeError(), g2o::EdgeSE3PointXYZDisparity::computeError(), g2o::EdgeSE3XYZPrior::computeError(), g2o::EdgeXYZPrior::computeError(), g2o::EdgeSE3Calib::computeError(), g2o::EdgeSE3Line3D::computeError(), g2o::Edge_V_V_GICP::Edge_V_V_GICP(), g2o::EdgeSBACam::getMeasurementData(), g2o::EdgeLine2DPointXY::getMeasurementData(), g2o::EdgeSE2Segment2D::getMeasurementData(), g2o::EdgeSE2Segment2DLine::getMeasurementData(), TargetOdometry3DEdge::initialEstimate(), g2o::EdgeSE2LotsOfXY::initialEstimate(), g2o::EdgeSE2TwoPointsXY::initialEstimate(), g2o::EdgeSE3LotsOfXYZ::initialEstimate(), g2o::EdgeSBACam::initialEstimate(), g2o::EdgeSE2::initialEstimate(), g2o::EdgeSE2PointXY::initialEstimate(), g2o::EdgeSE2PointXYBearing::initialEstimate(), g2o::EdgeSE2PointXYCalib::initialEstimate(), g2o::EdgeSE2PointXYOffset::initialEstimate(), g2o::EdgeSE2Prior::initialEstimate(), g2o::EdgeSE2Line2D::initialEstimate(), g2o::EdgeSE3::initialEstimate(), g2o::EdgeSE3PointXYZ::initialEstimate(), g2o::EdgeSE3PointXYZDepth::initialEstimate(), g2o::EdgeSE3PointXYZDisparity::initialEstimate(), g2o::EdgeSBAScale::initialEstimate(), g2o::EdgeSE3Expmap::linearizeOplus(), g2o::EdgeSE3::linearizeOplus(), g2o::EdgeSE3Offset::linearizeOplus(), g2o::EdgeSE3Prior::linearizeOplus(), g2o::BaseEdge< D, E >::measurement(), g2o::EdgeSE2Segment2D::measurementP1(), g2o::EdgeSE2Segment2D::measurementP2(), g2o::tutorial::EdgeSE2::read(), g2o::tutorial::EdgeSE2PointXY::read(), g2o::Edge_V_V_GICP::read(), g2o::EdgeProjectP2MC::read(), g2o::EdgeProjectP2SC::read(), g2o::EdgeProjectPSI2UV::read(), g2o::EdgeStereoSE3ProjectXYZ::read(), g2o::EdgeStereoSE3ProjectXYZOnlyPose::read(), g2o::EdgeSE3ProjectXYZ::read(), g2o::EdgeProjectXYZ2UV::read(), g2o::EdgeProjectXYZ2UVU::read(), g2o::EdgeSE3ProjectXYZOnlyPose::read(), g2o::EdgeSE2SensorCalib::read(), g2o::EdgeSim3ProjectXYZ::read(), g2o::EdgeInverseSim3ProjectXYZ::read(), g2o::EdgeSE2LotsOfXY::read(), g2o::EdgeSE2PointXY::read(), g2o::EdgeSE2PointXYBearing::read(), g2o::EdgeSE2PointXYCalib::read(), g2o::EdgeSE2PointXYOffset::read(), g2o::EdgeSE2Prior::read(), g2o::EdgeSE2TwoPointsXY::read(), g2o::EdgeSE2XYPrior::read(), g2o::EdgeXYPrior::read(), g2o::EdgeLine2D::read(), g2o::EdgeLine2DPointXY::read(), g2o::EdgeSE2Line2D::read(), g2o::EdgeSE2Segment2D::read(), g2o::EdgeSE2Segment2DLine::read(), g2o::EdgeSE2Segment2DPointLine::read(), g2o::EdgeSE3LotsOfXYZ::read(), g2o::EdgeSE3PointXYZDepth::read(), g2o::EdgeSE3PointXYZDisparity::read(), g2o::EdgeSE3XYZPrior::read(), g2o::EdgeXYZPrior::read(), g2o::EdgeSE3Line3D::read(), g2o::EdgeSE2Segment2DLine::rho(), g2o::BaseEdge< D, E >::setMeasurement(), g2o::EdgeSE2Prior::setMeasurement(), g2o::EdgeSBACam::setMeasurement(), g2o::EdgeSBACam::setMeasurementData(), g2o::EdgeSE2Prior::setMeasurementData(), g2o::EdgeLine2DPointXY::setMeasurementData(), g2o::EdgeSE2Segment2D::setMeasurementData(), g2o::EdgeSE2Segment2DLine::setMeasurementData(), g2o::EdgeSBACam::setMeasurementFromState(), g2o::EdgeSE2LotsOfXY::setMeasurementFromState(), g2o::EdgeSE2PointXYOffset::setMeasurementFromState(), g2o::EdgeSE2TwoPointsXY::setMeasurementFromState(), g2o::EdgeLine2DPointXY::setMeasurementFromState(), g2o::EdgeSE2Segment2DLine::setMeasurementFromState(), g2o::EdgeSE3LotsOfXYZ::setMeasurementFromState(), g2o::EdgeSE3PointXYZ::setMeasurementFromState(), g2o::EdgeSE3PointXYZDepth::setMeasurementFromState(), g2o::EdgeSE3PointXYZDisparity::setMeasurementFromState(), g2o::EdgeSE3XYZPrior::setMeasurementFromState(), g2o::EdgeXYZPrior::setMeasurementFromState(), g2o::EdgeSE2Segment2D::setMeasurementP1(), g2o::EdgeSE2Segment2D::setMeasurementP2(), g2o::EdgeSE2Segment2DLine::setRho(), g2o::EdgeSE2Segment2DLine::setTheta(), g2o::EdgeSE2Segment2DLine::theta(), PolynomialSingleValueEdge::write(), MultipleValueEdge::write(), g2o::EdgeSim3ProjectXYZ::write(), g2o::EdgeInverseSim3ProjectXYZ::write(), g2o::EdgeSE2LotsOfXY::write(), g2o::EdgeSE3LotsOfXYZ::write(), g2o::EdgeSE3Offset::write(), g2o::EdgeSE3Calib::write(), and g2o::EdgeSE3Euler::write().
|
staticconstexpr |
Definition at line 88 of file base_edge.h.