g2o
|
#include <sensor_segment2d.h>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | SensorSegment2D (const std::string &name_) |
virtual void | sense () |
virtual void | addNoise (EdgeType *e) |
Public Member Functions inherited from g2o::PointSensorParameters | |
PointSensorParameters () | |
double | maxRange () const |
void | setMaxRange (double maxRange_) |
double | minRange () const |
void | setMinRange (double minRange_) |
double | fov () const |
void | setFov (double fov_) |
double | maxAngularDifference () const |
void | setMaxAngularDifference (double angularDifference) |
Public Member Functions inherited from g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D > | |
BinarySensor (const std::string &name) | |
void | setInformation (const InformationType &information_) |
const InformationType & | information () |
Public Member Functions inherited from g2o::BaseSensor | |
BaseSensor (const std::string &name_) | |
BaseRobot * | robot () |
void | setRobot (BaseRobot *robot_) |
World * | world () |
OptimizableGraph * | graph () |
std::vector< Parameter * > | parameters () |
virtual void | addParameters () |
Protected Member Functions | |
bool | isVisible (WorldObjectType *to) |
Protected Member Functions inherited from g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D > | |
EdgeType * | mkEdge (WorldObjectType *object) |
Definition at line 37 of file sensor_segment2d.h.
g2o::SensorSegment2D::SensorSegment2D | ( | const std::string & | name_ | ) |
Definition at line 35 of file sensor_segment2d.cpp.
|
virtual |
Reimplemented from g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >.
Definition at line 39 of file sensor_segment2d.cpp.
References g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >::_sampler, g2o::GaussianSampler< SampleType, CovarianceType >::generateSample(), g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >::information(), g2o::BaseEdge< D, E >::measurement(), g2o::BaseEdge< D, E >::setInformation(), and g2o::BaseEdge< D, E >::setMeasurement().
Referenced by sense().
|
protected |
Definition at line 45 of file sensor_segment2d.cpp.
References g2o::PointSensorParameters::_fov, g2o::PointSensorParameters::_maxRange2, g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >::_robotPoseObject, g2o::clipSegmentCircle(), g2o::clipSegmentFov(), and g2o::WorldObject< VertexType_ >::vertex().
Referenced by sense().
|
virtual |
Reimplemented from g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >.
Definition at line 104 of file sensor_segment2d.cpp.
References g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >::_robotPoseObject, g2o::OptimizableGraph::addEdge(), addNoise(), g2o::BaseSensor::graph(), isVisible(), g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >::mkEdge(), g2o::World::objects(), g2o::BaseSensor::robot(), g2o::EdgeSE2Segment2D::setMeasurementFromState(), g2o::Robot< RobotPoseObject >::trajectory(), and g2o::BaseSensor::world().