Task for rotate a certain angle in-place with a given velocity.
More...
#include <navigation/tasks/RotateTask.h>
Task for rotate a certain angle in-place with a given velocity.
◆ RotateTask()
Creates a rotate task with given values.
- Parameters
-
| [in] | angle | How much shall the robot rotate, in [rad] |
| [in] | speed | How fast shall the robot rotate, in [rad] |
Angle can be positive or negative, it determines the direction of rotation. Speed must be positive.
- Exceptions
-
| XInvalidParameter | if speed is negative |
Examples:
◆ reflect()
| void reflect |
( |
Reflector & |
r | ) |
|
|
inline |
◆ rotateAngle
The requested rotation angle.
◆ rotateSpeed
The requested rotational speed.
The documentation for this class was generated from the following file: