Aria  2.8.0
ArActionGroupWander Class Reference

Action group to make the robot wander, avoiding obstacles. More...

#include <ArActionGroups.h>

Inherits ArActionGroup.

Public Member Functions

 ArActionGroupWander (ArRobot *robot, int forwardVel=400, int avoidFrontDist=450, int avoidVel=200, int avoidTurnAmt=15)
 
- Public Member Functions inherited from ArActionGroup
virtual void activate (void)
 Activates all the actions in this group.
 
virtual void activateExclusive (void)
 Activates all the actions in this group and deactivates all others.
 
virtual void addAction (ArAction *action, int priority)
 Adds an action to this group's robot, and associates the action with this group. More...
 
 ArActionGroup (ArRobot *robot)
 Constructor. More...
 
virtual void deactivate (void)
 Deactivates all the actions in this group.
 
virtual void deleteActions (void)
 Delets all the actions in this group (doesn't delete them right now)
 
virtual std::list< ArAction * > * getActionList (void)
 Gets the action list (use this to delete actions after doing removeActions)
 
virtual void remAction (ArAction *action)
 Removes the action from this group's robot and dissasociates it from this group. More...
 
virtual void removeActions (void)
 Removes all the actions in this group from the robot.
 
virtual ~ArActionGroup ()
 Destructor, it also deletes the actions in its group.
 

Additional Inherited Members

- Protected Attributes inherited from ArActionGroup
std::list< ArAction * > myActions
 
ArRobotmyRobot
 

Detailed Description

Action group to make the robot wander, avoiding obstacles.

This class is useful for having the robot wander... Note that you the predefined ArActionGroups in ARIA are made only to be used exclusively... only one can be active at once.


The documentation for this class was generated from the following files: