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")
 
Parameters:
locTask Localization task to get localization score from

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

Parameters:
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 Thu Aug 6 09:40:13 2009 for BaseArnl by  doxygen 1.5.1