The motor instructions generated by the control strategy used in this tasks.
More...
#include <task.h>
|
|
void | init (Direction &direction) |
| |
|
void | setVelocities (const float &l, const float &r) |
| |
|
b2Vec2 | getLinearVelocity (const float &dt=1) const |
| |
| b2Transform | getTransform (const float &dt=1) const |
| | Gets the ROBOT's displacement in the world frame after dt seconds. More...
|
| |
|
float | getRWheelSpeed () const |
| |
|
float | getLWheelSpeed () const |
| |
|
void | setRWheelSpeed (float f) |
| |
|
void | setLWheelSpeed (float f) |
| |
|
bool | isValid () |
| |
|
float | getLinearSpeed () |
| |
|
float | getOmega (const float &dt=1) const |
| |
| float | getOmega (const float l, const float r, float dt=1) const |
| | Uses kinematic model to calculate angle. More...
|
| |
|
void | setOmega (const float &o) |
| |
|
void | setLinearSpeed (const float &s) |
| |
The motor instructions generated by the control strategy used in this tasks.
◆ getOmega()
| float Task::Action::getOmega |
( |
const float |
l, |
|
|
const float |
r, |
|
|
float |
dt = 1 |
|
) |
| const |
|
inline |
Uses kinematic model to calculate angle.
- Parameters
-
| l | left wheel speed (normalised) |
| r | right wheen speed (normalised) * |
◆ getTransform()
| b2Transform Task::Action::getTransform |
( |
const float & |
dt = 1 | ) |
const |
|
inline |
Gets the ROBOT's displacement in the world frame after dt seconds.
- Parameters
-
| dt | delta time (in seconds) |
The documentation for this struct was generated from the following file: