36 return _world->
graph();
47 return _world->
graph();
53 std::pair<std::set<BaseSensor*>::iterator,
bool> result=_sensors.insert(sensor);
62 for (std::set<BaseSensor*>::iterator it=_sensors.begin(); it!=_sensors.end(); it++){
72 return _robot->world();
78 return _robot->graph();
83 std::pair<std::set<BaseRobot*>::iterator,
bool> result=_robots.insert(robot);
91 std::pair<std::set<BaseWorldObject*>::iterator,
bool> result=_objects.insert(
object);
93 object->setWorld(
this);
96 object->vertex()->setId(_runningId++);
105 param->
setId(_paramId);
106 graph()->addParameter(param);
bool addParameter(Parameter *p)
virtual void setVertex(OptimizableGraph::Vertex *vertex_)
bool addSensor(BaseSensor *sensor)
virtual void addParameters()
bool addRobot(BaseRobot *robot)
OptimizableGraph * graph()
A general case Vertex for optimization.
OptimizableGraph * graph()
void setWorld(World *world_)
bool addWorldObject(BaseWorldObject *worldObject)
OptimizableGraph * graph()
virtual ~BaseWorldObject()
OptimizableGraph::Vertex * vertex()
void setRobot(BaseRobot *robot_)
Protocol The SLAM executable accepts such as solving the and retrieving or vertices in the graph