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< ParticleFilter > | pf |
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_ptr > | robots_ |
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.
pfuclt_omni_dataset::RobotFactory::RobotFactory | ( | ros::NodeHandle & | nh | ) |
Definition at line 32 of file pfuclt_omni_dataset.cpp.
|
private |
areAllTeammatesActive - uses each robot's public methods to check if they have started yet
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.
|
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.
|
private |
Definition at line 53 of file pfuclt_omni_dataset.h.