g2o
|
#include <sensor_pointxy.h>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | SensorPointXY (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, EdgeSE2PointXY, WorldObjectPointXY > | |
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, EdgeSE2PointXY, WorldObjectPointXY > | |
EdgeType * | mkEdge (WorldObjectType *object) |
Definition at line 36 of file sensor_pointxy.h.
g2o::SensorPointXY::SensorPointXY | ( | const std::string & | name_ | ) |
Definition at line 33 of file sensor_pointxy.cpp.
|
virtual |
Reimplemented from g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >.
Definition at line 35 of file sensor_pointxy.cpp.
References g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >::_sampler, g2o::GaussianSampler< SampleType, CovarianceType >::generateSample(), g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >::information(), g2o::BaseEdge< D, E >::measurement(), g2o::BaseEdge< D, E >::setInformation(), and g2o::BaseEdge< D, E >::setMeasurement().
Referenced by sense().
|
protected |
Definition at line 41 of file sensor_pointxy.cpp.
References g2o::PointSensorParameters::_fov, g2o::PointSensorParameters::_maxRange2, g2o::PointSensorParameters::_minRange2, g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >::_robotPoseObject, and g2o::WorldObject< VertexType_ >::vertex().
Referenced by sense().
|
virtual |
Reimplemented from g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >.
Definition at line 63 of file sensor_pointxy.cpp.
References g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >::_robotPoseObject, g2o::OptimizableGraph::addEdge(), addNoise(), g2o::BaseSensor::graph(), isVisible(), g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >::mkEdge(), g2o::World::objects(), g2o::BaseSensor::robot(), g2o::EdgeSE2PointXY::setMeasurementFromState(), g2o::Robot< RobotPoseObject >::trajectory(), and g2o::BaseSensor::world().