BoxRingOperator Class Reference
An Operator for keeping robots within a sphere / box.
More...
#include <operators.h>
Inherits lpzrobots::Operator.
List of all members.
Detailed Description
An Operator for keeping robots within a sphere / box.
Constructor & Destructor Documentation
BoxRingOperator |
( |
const Pos & |
center, |
|
|
double |
size, |
|
|
double |
offset, |
|
|
double |
force, |
|
|
bool |
sphere = false | |
|
) |
| | [inline] |
a box ring (cube with edges 2*size or sphere with radius size)
- Parameters:
-
| offset | distance to wall before acting (to compensate for body width) spherical or box shape area |
Member Function Documentation
called every simulation step
- Returns:
- what was done with the robot
Implements Operator.
Member Data Documentation
The documentation for this class was generated from the following files: