|
g2o
|
#include <simulator.h>


Public Member Functions | |
| BaseRobot (World *world_, const std::string &name_) | |
| void | setWorld (World *world_) |
| World * | world () const |
| const std::string & | name () const |
| OptimizableGraph * | graph () const |
| bool | addSensor (BaseSensor *sensor) |
| const std::set< BaseSensor * > | sensors () |
| virtual void | sense () |
Protected Attributes | |
| World * | _world |
| std::set< BaseSensor * > | _sensors |
| std::string | _name |
Definition at line 83 of file simulator.h.
|
inline |
Definition at line 85 of file simulator.h.
Referenced by g2o::Robot< WorldObjectSE2 >::Robot().
| bool g2o::BaseRobot::addSensor | ( | BaseSensor * | sensor | ) |
Definition at line 51 of file simulator.cpp.
References _sensors, g2o::BaseSensor::addParameters(), graph(), and g2o::BaseSensor::setRobot().
Referenced by main().
| OptimizableGraph * g2o::BaseRobot::graph | ( | ) | const |
Definition at line 46 of file simulator.cpp.
References _world.
Referenced by addSensor(), LineSensor::LineSensor(), Robot::move(), PlaneSensor::PlaneSensor(), LineSensor::sense(), and PlaneSensor::sense().
|
inline |
|
virtual |
Definition at line 62 of file simulator.cpp.
References _sensors, and g2o::BaseSensor::sense().
Referenced by main(), and Simulator::sense().
|
inline |
|
inline |
Definition at line 89 of file simulator.h.
References _world.
Referenced by g2o::World::addRobot().
|
inline |
Definition at line 90 of file simulator.h.
References _world.
Referenced by g2o::Robot< WorldObjectSE2 >::move().
|
protected |
Definition at line 100 of file simulator.h.
Referenced by BaseRobot(), and name().
|
protected |
Definition at line 99 of file simulator.h.
Referenced by addSensor(), main(), sense(), and sensors().
|
protected |
Definition at line 98 of file simulator.h.
Referenced by BaseRobot(), graph(), setWorld(), and world().