BeoLRF Class Reference

Inheritance diagram for BeoLRF:
Inheritance graph
[legend]
Collaboration diagram for BeoLRF:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BeoLRF (OptionManager &mgr, const std::string &descrName="BeoLRF", const std::string &tagName="BeoLRF")
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 setDrawImage (bool drawImage)
 set draw image flag

Detailed Description

Definition at line 65 of file BeoLRF.H.


Member Function Documentation

void BeoLRF::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 72 of file BeoLRF.C.

References angle(), Image< T >::beginw(), drawCircle(), Image< T >::endw(), Timer::get(), lobot::LaserRangeFinder::get_distances(), Image< T >::getDims(), getMinMax(), Point2D< T >::i, max(), min(), RobotBrainComponent::publish(), Timer::reset(), SRC_POS, ModelComponent::stop(), lobot::LaserRangeFinder::update(), Dims::w(), and ZEROS.

void BeoLRF::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 66 of file BeoLRF.C.

References RobotBrainComponent::registerPublisher().

void BeoLRF::setDrawImage ( bool  drawImage  ) 

set draw image flag

Definition at line 56 of file BeoLRF.C.

void BeoLRF::updateMessage ( const RobotSimEvents::EventMessagePtr &  eMsg,
const Ice::Current &   
) [virtual]

Get a message.

Reimplemented from RobotBrainComponent.

Definition at line 136 of file BeoLRF.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:07 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3