WaypointControllerI Class Reference

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

List of all members.

Classes

struct  Waypoint

Public Types

enum  WaypointSource {
  BUOY, BIN, PATH, PINGER,
  NAV
}

Public Member Functions

 WaypointControllerI (OptionManager &mgr, const std::string &descrName="WaypointController", const std::string &tagName="WaypointController")
void evolve ()
 Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here.
void updateMessage (const RobotSimEvents::EventMessagePtr &eMsg, const Ice::Current &)
 Get a message.
void registerTopics ()
 and registerPublisher calls that you would like to happen automatically after init.

Detailed Description

Definition at line 16 of file WaypointControllerI.H.


Member Function Documentation

void WaypointControllerI::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 52 of file WaypointControllerI.C.

References Timer::getSecs().

void WaypointControllerI::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 39 of file WaypointControllerI.C.

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

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

Get a message.

Reimplemented from RobotBrainComponent.

Definition at line 80 of file WaypointControllerI.C.

References abs(), and Timer::reset().


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