Using ARIA Subclasses
- 988 Downloads
Another way of controlling a robot with ARIA is to create action subclasses that inherit from the base ArAction class. When instances of these classes are added to an ArRobot object the robot’s resulting behaviour is determined through an action resolver. This invokes each ArAction object (via its fire() method), and the actions request what kind of motion they want by returning a pointer to an ArActionDesired object. The action resolver determines what the resulting combination of those requested motions should be, then commands the robot accordingly. The idea behind this is to have several behaviours acting simultaneously, which combine to drive the robot.
KeywordsBase Class Speed Limiter Action Request Direct Command Chapter Deal
Unable to display preview. Download preview PDF.