g2o
Public Member Functions | Protected Attributes | List of all members
g2o::BaseSensor Class Referenceabstract

#include <simulator.h>

Inheritance diagram for g2o::BaseSensor:
Inheritance graph
[legend]
Collaboration diagram for g2o::BaseSensor:
Collaboration graph
[legend]

Public Member Functions

 BaseSensor (const std::string &name_)
 
BaseRobotrobot ()
 
void setRobot (BaseRobot *robot_)
 
Worldworld ()
 
OptimizableGraphgraph ()
 
std::vector< Parameter * > parameters ()
 
virtual void sense ()=0
 
virtual void addParameters ()
 

Protected Attributes

std::string _name
 
std::vector< Parameter * > _parameters
 
BaseRobot_robot
 

Detailed Description

Definition at line 126 of file simulator.h.

Constructor & Destructor Documentation

g2o::BaseSensor::BaseSensor ( const std::string &  name_)
inline

Definition at line 128 of file simulator.h.

128 { _name = name_;}
std::string _name
Definition: simulator.h:137

Member Function Documentation

virtual void g2o::BaseSensor::addParameters ( )
inlinevirtual
OptimizableGraph * g2o::BaseSensor::graph ( )
std::vector<Parameter*> g2o::BaseSensor::parameters ( )
inline

Definition at line 133 of file simulator.h.

133 {return _parameters;}
std::vector< Parameter * > _parameters
Definition: simulator.h:138
BaseRobot* g2o::BaseSensor::robot ( )
inline
virtual void g2o::BaseSensor::sense ( )
pure virtual

Implemented in g2o::BinarySensor< RobotType_, EdgeType_, WorldObjectType_ >, g2o::BinarySensor< Robot3D, EdgeSE3PointXYZDisparity, WorldObjectTrackXYZ >, g2o::BinarySensor< Robot3D, EdgeSE3Offset, WorldObjectSE3 >, g2o::BinarySensor< Robot2D, EdgeSE2PointXYBearing, WorldObjectPointXY >, g2o::BinarySensor< R, E, O >, g2o::BinarySensor< Robot2D, EdgeSE2Segment2DPointLine, WorldObjectSegment2D >, g2o::BinarySensor< Robot2D, EdgeSE2Segment2DLine, WorldObjectSegment2D >, g2o::BinarySensor< Robot3D, EdgeSE3PointXYZ, WorldObjectTrackXYZ >, g2o::BinarySensor< Robot2D, EdgeSE2, WorldObjectSE2 >, g2o::BinarySensor< Robot3D, EdgeSE3, WorldObjectSE3 >, g2o::BinarySensor< Robot2D, EdgeSE2Segment2D, WorldObjectSegment2D >, g2o::BinarySensor< Robot3D, EdgeSE3Line WorldObjectLine3D >, g2o::BinarySensor< Robot3D, EdgeSE3PointXYZDepth, WorldObjectTrackXYZ >, g2o::BinarySensor< Robot2D, EdgeSE2PointXYOffset, WorldObjectPointXY >, g2o::BinarySensor< Robot2D, EdgeSE2PointXY, WorldObjectPointXY >, g2o::UnarySensor< RobotType_, EdgeType_ >, g2o::UnarySensor< Robot3D, EdgeSE3Prior >, g2o::SensorPointXYBearing, g2o::SensorPointXYOffset, g2o::SensorPointXYZDisparity, g2o::SensorSegment2D, g2o::SensorSegment2DLine, g2o::SensorSegment2DPointLine, g2o::SensorPointLine3D, g2o::SensorPointXY, g2o::SensorPointXYZ, g2o::SensorPointXYZDepth, g2o::SensorPose2D, g2o::SensorSE3Prior, g2o::SensorOdometry2D, g2o::SensorOdometry3D, g2o::SensorPose3D, g2o::SensorOdometry< R, E, O >, and g2o::SensorPose3DOffset.

Referenced by g2o::BaseRobot::sense().

void g2o::BaseSensor::setRobot ( BaseRobot robot_)
inline

Definition at line 130 of file simulator.h.

References graph.

Referenced by g2o::BaseRobot::addSensor().

130 {_robot = robot_;}
BaseRobot * _robot
Definition: simulator.h:139
World * g2o::BaseSensor::world ( )

Member Data Documentation

std::string g2o::BaseSensor::_name
protected

Definition at line 137 of file simulator.h.

std::vector<Parameter*> g2o::BaseSensor::_parameters
protected

Definition at line 138 of file simulator.h.

BaseRobot* g2o::BaseSensor::_robot
protected

Definition at line 139 of file simulator.h.


The documentation for this class was generated from the following files: