Aria
2.8.0
|
Action group to use to drive the robot with input actions (keyboard, joystick, etc.) More...
#include <ArActionGroups.h>
Inherits ArActionGroup.
Public Member Functions | |
ArActionGroupInput (ArRobot *robot) | |
void | clear (void) |
void | deltaHeadingFromCurrent (double delta) |
ArActionInput * | getActionInput (void) |
void | setHeading (double heading) |
void | setRotVel (double rotVel) |
void | setVel (double vel) |
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 | |
ArActionInput * | myInput |
Protected Attributes inherited from ArActionGroup | |
std::list< ArAction * > | myActions |
ArRobot * | myRobot |
Action group to use to drive the robot with input actions (keyboard, joystick, etc.)
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... only one can be active at once.
This class is largely now obsolete (it is used by ArServerModeDrive but that is now obsolete and was replaced by a class that just makes its own action group)
ArActionGroupRatioDrive is better.