Public Member Functions | |
BeoSonar (int id, OptionManager &mgr, const std::string &descrName="BeoSonar", const std::string &tagName="BeoSonar") | |
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 | plotDists () |
void | start3 () |
Definition at line 27 of file BeoSonar.H.
void BeoSonar::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 59 of file BeoSonar.C.
References RobotBrainComponent::publish().
void BeoSonar::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 54 of file BeoSonar.C.
References RobotBrainComponent::registerPublisher().
void BeoSonar::start3 | ( | ) | [virtual] |
start3: Gets called immediately after start2, which is after all of the subcomponents have been started. If you have any code that needs to run only once at the beginning before the general run/evolve loop, but after the constructor, then you can put it here.
Reimplemented from RobotBrainComponent.
Definition at line 35 of file BeoSonar.C.
References OModelParam< T >::getVal().
void BeoSonar::updateMessage | ( | const RobotSimEvents::EventMessagePtr & | eMsg, | |
const Ice::Current & | ||||
) | [virtual] |