Public Member Functions | |
Beobot2_GistSalLocalizerWorkerI (OptionManager &mgr, const std::string &descrName="Beobot2_GistSalLocalizerWorker", const std::string &tagName="Beobot2_GistSalLocalizerWorker") | |
virtual void | start1 () |
Get started. See ModelComponent. | |
virtual void | evolve () |
Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here. | |
virtual void | updateMessage (const RobotSimEvents::EventMessagePtr &eMsg, const Ice::Current &) |
Get a message. | |
virtual void | registerTopics () |
and registerPublisher calls that you would like to happen automatically after init. | |
void | setEnvironment (rutz::shared_ptr< Environment > env) |
set the environment - has to be done | |
void | setWorkerInformation (uint index, uint totalNumWorkers) |
set worker index and total number of workers |
Definition at line 60 of file Beobot2_GistSalLocalizerWorker.H.
void Beobot2_GistSalLocalizerWorkerI::evolve | ( | ) | [virtual] |
Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here.
Reimplemented from RobotBrainComponent.
Definition at line 86 of file Beobot2_GistSalLocalizerWorker.C.
References RobotBrainComponent::publish().
void Beobot2_GistSalLocalizerWorkerI::registerTopics | ( | ) | [virtual] |
and registerPublisher calls that you would like to happen automatically after init.
Register Topics: This function is called at the end of init, and is virtual so that is can be overloaded by chid classes. In your overloaded version you should put all of the registerSubsciption
Reimplemented from RobotBrainComponent.
Definition at line 74 of file Beobot2_GistSalLocalizerWorker.C.
References RobotBrainComponent::registerPublisher(), and RobotBrainComponent::registerSubscription().
void Beobot2_GistSalLocalizerWorkerI::setEnvironment | ( | rutz::shared_ptr< Environment > | env | ) |
set the environment - has to be done
from its environment: topological map
from its environment: visual landmark database
Definition at line 297 of file Beobot2_GistSalLocalizerWorker.C.
set worker index and total number of workers
Definition at line 310 of file Beobot2_GistSalLocalizerWorker.C.
void Beobot2_GistSalLocalizerWorkerI::start1 | ( | ) | [virtual] |
Get started. See ModelComponent.
Reimplemented from ModelComponent.
Definition at line 62 of file Beobot2_GistSalLocalizerWorker.C.
void Beobot2_GistSalLocalizerWorkerI::updateMessage | ( | const RobotSimEvents::EventMessagePtr & | eMsg, | |
const Ice::Current & | ||||
) | [virtual] |
Get a message.
Reimplemented from RobotBrainComponent.
Definition at line 143 of file Beobot2_GistSalLocalizerWorker.C.
References Point2D< T >::i, sformat(), and Rectangle::tlbrO().