g2o
Loading...
Searching...
No Matches
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 () const
 
OptimizableGraphgraph () const
 
const 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 159 of file simulator.h.

Constructor & Destructor Documentation

◆ BaseSensor()

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

Definition at line 161 of file simulator.h.

161{ _name = name_; }
std::string _name
Definition simulator.h:171

Member Function Documentation

◆ addParameters()

virtual void g2o::BaseSensor::addParameters ( )
inlinevirtual

◆ graph()

OptimizableGraph * g2o::BaseSensor::graph ( ) const

◆ parameters()

const std::vector< Parameter * > & g2o::BaseSensor::parameters ( )
inline

Definition at line 166 of file simulator.h.

166{ return _parameters; }
std::vector< Parameter * > _parameters
Definition simulator.h:172

◆ robot()

BaseRobot * g2o::BaseSensor::robot ( )
inline

◆ sense()

virtual void g2o::BaseSensor::sense ( )
pure virtual

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

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

◆ setRobot()

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

Definition at line 163 of file simulator.h.

163{ _robot = robot_; }

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

◆ world()

World * g2o::BaseSensor::world ( ) const

Member Data Documentation

◆ _name

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

Definition at line 171 of file simulator.h.

◆ _parameters

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

Definition at line 172 of file simulator.h.

◆ _robot

BaseRobot* g2o::BaseSensor::_robot
protected

Definition at line 173 of file simulator.h.

Referenced by graph(), and world().


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