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. |
Definition at line 16 of file WaypointControllerI.H.
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().