Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
pfuclt_omni_dataset::RobotFactory Class Reference

The RobotFactory class - Creates and keeps information on the robot running the algorithm and its teammates. Is used as a middle-man between all robots. More...

#include <pfuclt_omni_dataset.h>

Public Member Functions

void initializeFixedLandmarks ()
 initializeFixedLandmarks - will get a filename from the parameter server, and use its information to store landmark positions in the landmarks vector More...
 
 RobotFactory (ros::NodeHandle &nh)
 
void tryInitializeParticles ()
 tryInitializeParticles - checks if every robot is started, and if so, will initiate the particle filter More...
 

Public Attributes

boost::shared_ptr< ParticleFilterpf
 

Private Member Functions

bool areAllRobotsActive ()
 areAllTeammatesActive - uses each robot's public methods to check if they have started yet More...
 

Private Attributes

ros::NodeHandle & nh_
 
std::vector< Robot_ptrrobots_
 

Detailed Description

The RobotFactory class - Creates and keeps information on the robot running the algorithm and its teammates. Is used as a middle-man between all robots.

Definition at line 48 of file pfuclt_omni_dataset.h.

Constructor & Destructor Documentation

pfuclt_omni_dataset::RobotFactory::RobotFactory ( ros::NodeHandle &  nh)

Definition at line 32 of file pfuclt_omni_dataset.cpp.

Member Function Documentation

bool pfuclt_omni_dataset::RobotFactory::areAllRobotsActive ( )
private

areAllTeammatesActive - uses each robot's public methods to check if they have started yet

Returns
true if every robot is active, false otherwise

Definition at line 92 of file pfuclt_omni_dataset.cpp.

void pfuclt_omni_dataset::RobotFactory::initializeFixedLandmarks ( )

initializeFixedLandmarks - will get a filename from the parameter server, and use its information to store landmark positions in the landmarks vector

Definition at line 65 of file pfuclt_omni_dataset.cpp.

void pfuclt_omni_dataset::RobotFactory::tryInitializeParticles ( )

tryInitializeParticles - checks if every robot is started, and if so, will initiate the particle filter

Definition at line 57 of file pfuclt_omni_dataset.cpp.

Member Data Documentation

ros::NodeHandle& pfuclt_omni_dataset::RobotFactory::nh_
private

Definition at line 52 of file pfuclt_omni_dataset.h.

boost::shared_ptr<ParticleFilter> pfuclt_omni_dataset::RobotFactory::pf

Definition at line 63 of file pfuclt_omni_dataset.h.

std::vector<Robot_ptr> pfuclt_omni_dataset::RobotFactory::robots_
private

Definition at line 53 of file pfuclt_omni_dataset.h.


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


pfuclt_omni_dataset
Author(s):
autogenerated on Tue Jul 4 2017 19:38:38