Aria
2.8.0
|
Use keyboard and joystick input to to drive the robot, with Limiter actions to avoid obstacles. More...
#include <ArActionGroups.h>
Inherits ArActionGroup.
Public Member Functions | |
void | addToConfig (ArConfig *config, const char *section) |
ArActionGroupRatioDrive (ArRobot *robot) | |
ArActionRatioInput * | getActionRatioInput (void) |
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 | |
ArActionDeceleratingLimiter * | myDeceleratingLimiterBackward |
ArActionDeceleratingLimiter * | myDeceleratingLimiterForward |
ArActionDeceleratingLimiter * | myDeceleratingLimiterLateralLeft |
ArActionDeceleratingLimiter * | myDeceleratingLimiterLateralRight |
ArActionRatioInput * | myInput |
ArRatioInputJoydrive * | myJoydrive |
ArRatioInputKeydrive * | myKeydrive |
ArRatioInputRobotJoydrive * | myRobotJoydrive |
Protected Attributes inherited from ArActionGroup | |
std::list< ArAction * > | myActions |
ArRobot * | myRobot |
Use keyboard and joystick input to to drive the robot, with Limiter actions to avoid obstacles.
This class is just useful for teleoping the robot under your own joystick and keyboard control... Note that you the predefined ArActionGroups in ARIA are made only to be used exclusively (one at a time)... only one can be active at once.