iCub-main
|
Implements a minimum-jerk controller with velocity commands in the assumption that the plant can be modelled as a pure integrator 1/s. More...
#include <minJerkCtrl.h>
Public Member Functions | |
minJerkVelCtrlForIdealPlant (const double _Ts, const int _dim) | |
Constructor. More... | |
virtual yarp::sig::Vector | computeCmd (const double _T, const yarp::sig::Vector &e) |
Computes the velocity command. More... | |
virtual void | reset (const yarp::sig::Vector &u0) |
Resets the controller to a given value. More... | |
virtual | ~minJerkVelCtrlForIdealPlant () |
Destructor. More... | |
Public Member Functions inherited from iCub::ctrl::minJerkVelCtrl | |
virtual | ~minJerkVelCtrl () |
Destructor. More... | |
Protected Member Functions | |
virtual void | computeCoeffs () |
Protected Attributes | |
ctrl::Filter * | F |
double | Ts |
double | T |
int | dim |
Implements a minimum-jerk controller with velocity commands in the assumption that the plant can be modelled as a pure integrator 1/s.
Definition at line 81 of file minJerkCtrl.h.
minJerkVelCtrlForIdealPlant::minJerkVelCtrlForIdealPlant | ( | const double | _Ts, |
const int | _dim | ||
) |
Constructor.
_Ts | is the controller sample time in seconds. |
_dim | is the controller's dimension |
Definition at line 26 of file minJerkCtrl.cpp.
|
virtual |
Destructor.
Definition at line 92 of file minJerkCtrl.cpp.
|
virtual |
Computes the velocity command.
_T | the current execution time. |
e | the error between the desired position and the feedback. |
Implements iCub::ctrl::minJerkVelCtrl.
Definition at line 72 of file minJerkCtrl.cpp.
|
protectedvirtual |
Implements iCub::ctrl::minJerkVelCtrl.
Definition at line 34 of file minJerkCtrl.cpp.
|
virtual |
Resets the controller to a given value.
u0 | the initial output of the controller. |
Implements iCub::ctrl::minJerkVelCtrl.
Definition at line 85 of file minJerkCtrl.cpp.
|
protected |
Definition at line 92 of file minJerkCtrl.h.
|
protected |
Definition at line 88 of file minJerkCtrl.h.
|
protected |
Definition at line 91 of file minJerkCtrl.h.
|
protected |
Definition at line 90 of file minJerkCtrl.h.