Main Page | Class Hierarchy | Class List | Class Members | Related Pages | Examples

ArActionLost Class Reference

#include <ArServerClasses.h>

List of all members.


Detailed Description

Action for stopping the robot if it gets lost or localization isn't active.


Public Member Functions

 ArActionLost (ArBaseLocalizationTask *locTask, ArPathPlanningTask *pathTask, ArServerMode *serverMode=NULL, const char *name="lost stopper")
virtual ~ArActionLost ()
 Destructor.
void enable (void)
 Lets this action work (defaults to enabled).
void disable (void)
 Prevents this action from doing anything until enabled.
bool isEnabled (void) const
 Sees if this action can do anything or not.
ArFunctor * getEnableCB (void)
 Gets a callback to enable the action.
ArFunctor * getDisableCB (void)
 Gets a callback to disable the action.


Constructor & Destructor Documentation

ArActionLost::ArActionLost ArBaseLocalizationTask locTask,
ArPathPlanningTask pathTask,
ArServerMode *  serverMode = NULL,
const char *  name = "lost stopper"
 

Parameters:
locTask Localization task to get localization score from
pathTask If not NULL, then cancel this path planner's goal if lost and the path planner is active.
serverMode Server mode to activate if lost
name Optional, name for this action


Generated on Tue Aug 18 05:23:30 2009 for BaseArnl by  doxygen 1.4.2