MovementControllerI Class Reference

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

List of all members.

Classes

struct  SensorPose
struct  SensorVote

Public Types

enum  SensorType { PATH, SALIENCY, PINGER, BARBWIRE }

Public Member Functions

 MovementControllerI (int id, OptionManager &mgr, const std::string &descrName="MovementController", const std::string &tagName="MovementController")
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 &)
 to publishes a message.
virtual void registerTopics ()
 and registerPublisher calls that you would like to happen automatically after init.

Detailed Description

Definition at line 36 of file MovementControllerI.H.


Member Function Documentation

void MovementControllerI::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 198 of file MovementControllerI.C.

References abs(), OModelParam< T >::getVal(), RobotBrainComponent::init(), RobotBrainComponent::publish(), and sqrt().

void MovementControllerI::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 93 of file MovementControllerI.C.

References RobotBrainComponent::registerPublisher(), and RobotBrainComponent::registerSubscription().

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

to publishes a message.

Update Message: Gets called by the Ice runtime when a publisher of a message that your object subscribes

Reimplemented from RobotBrainComponent.

Definition at line 387 of file MovementControllerI.C.

References OModelParam< T >::getVal().


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