Aria  2.8.0
ArActionGroupTeleop Class Reference

Action group to teleopoperate the robot using ArActionJoydrive, and the Limiter actions to avoid collisions. More...

#include <ArActionGroups.h>

Inherits ArActionGroup.

Public Member Functions

 ArActionGroupTeleop (ArRobot *robot)
 
void setThrottleParams (int lowSpeed, int highSpeed)
 
- 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.
 

Protected Attributes

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

Detailed Description

Action group to teleopoperate the robot using ArActionJoydrive, and the Limiter actions to avoid collisions.

This class is just useful for teleoping the robot and having these actions read the joystick and keyboard... 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: