Base class for minimum jerk generators.
More...
#include <minJerkCtrl.h>
Base class for minimum jerk generators.
Definition at line 227 of file minJerkCtrl.h.
◆ minJerkBaseGen() [1/3]
minJerkBaseGen::minJerkBaseGen |
( |
const unsigned int |
_dim, |
|
|
const double |
_Ts, |
|
|
const double |
_T |
|
) |
| |
Constructor.
- Parameters
-
_dim | number of variables. |
_Ts | sample time in seconds. |
_T | trajectory reference time (90% of steady-state value in t=_T, transient extinguished for t>=1.5*_T). |
Definition at line 273 of file minJerkCtrl.cpp.
◆ minJerkBaseGen() [2/3]
iCub::ctrl::minJerkBaseGen::minJerkBaseGen |
( |
const yarp::sig::Vector & |
y0, |
|
|
const double |
_Ts, |
|
|
const double |
_T |
|
) |
| |
Constructor with initial value.
- Parameters
-
_y0 | initial value of the trajectory. |
_Ts | sample time in seconds. |
_T | trajectory reference time (90% of steady-state value in t=_T, transient extinguished for t>=1.5*_T). |
◆ minJerkBaseGen() [3/3]
Copy constructor.
- Parameters
-
- Note
- After copy, internal filters are reset.
Definition at line 292 of file minJerkCtrl.cpp.
◆ ~minJerkBaseGen()
minJerkBaseGen::~minJerkBaseGen |
( |
| ) |
|
|
virtual |
◆ computeCoeffs()
virtual void iCub::ctrl::minJerkBaseGen::computeCoeffs |
( |
| ) |
|
|
protectedpure virtual |
◆ computeNextValues()
virtual void iCub::ctrl::minJerkBaseGen::computeNextValues |
( |
const yarp::sig::Vector & |
yd | ) |
|
|
pure virtual |
◆ getAcc()
const yarp::sig::Vector& iCub::ctrl::minJerkBaseGen::getAcc |
( |
| ) |
const |
|
inline |
◆ getPos()
const yarp::sig::Vector& iCub::ctrl::minJerkBaseGen::getPos |
( |
| ) |
const |
|
inline |
◆ getT()
double iCub::ctrl::minJerkBaseGen::getT |
( |
| ) |
const |
|
inline |
Get the trajectory reference time in seconds (90% of steady-state value in t=_T, transient extinguished for t>=1.5*_T).
Definition at line 315 of file minJerkCtrl.h.
◆ getTs()
double iCub::ctrl::minJerkBaseGen::getTs |
( |
| ) |
const |
|
inline |
◆ getVel()
const yarp::sig::Vector& iCub::ctrl::minJerkBaseGen::getVel |
( |
| ) |
const |
|
inline |
◆ init()
void minJerkBaseGen::init |
( |
const yarp::sig::Vector & |
y0 | ) |
|
|
virtual |
Initialize the trajectory.
- Parameters
-
y0 | initial value of the trajectory. |
Definition at line 335 of file minJerkCtrl.cpp.
◆ operator=()
Assignment operator.
- Parameters
-
- Note
- After copy, internal filters are reset.
Definition at line 315 of file minJerkCtrl.cpp.
◆ setT()
bool minJerkBaseGen::setT |
( |
const double |
_T | ) |
|
Set the trajectory reference time (90% of steady-state value in t=_T, transient extinguished for t>=1.5*_T).
- Parameters
-
_T | trajectory reference time in seconds. |
- Returns
- true if operation succeeded, false otherwise.
Definition at line 352 of file minJerkCtrl.cpp.
◆ setTs()
bool minJerkBaseGen::setTs |
( |
const double |
_Ts | ) |
|
Set the sample time.
- Parameters
-
_Ts | sample time in seconds. |
- Returns
- true if operation succeeded, false otherwise.
Definition at line 363 of file minJerkCtrl.cpp.
◆ acc
yarp::sig::Vector iCub::ctrl::minJerkBaseGen::acc |
|
protected |
◆ accFilter
Filter* iCub::ctrl::minJerkBaseGen::accFilter |
|
protected |
◆ dim
unsigned int iCub::ctrl::minJerkBaseGen::dim |
|
protected |
◆ lastRef
yarp::sig::Vector iCub::ctrl::minJerkBaseGen::lastRef |
|
protected |
◆ pos
yarp::sig::Vector iCub::ctrl::minJerkBaseGen::pos |
|
protected |
◆ posFilter
Filter* iCub::ctrl::minJerkBaseGen::posFilter |
|
protected |
double iCub::ctrl::minJerkBaseGen::T |
|
protected |
◆ Ts
double iCub::ctrl::minJerkBaseGen::Ts |
|
protected |
◆ vel
yarp::sig::Vector iCub::ctrl::minJerkBaseGen::vel |
|
protected |
◆ velFilter
Filter* iCub::ctrl::minJerkBaseGen::velFilter |
|
protected |
The documentation for this class was generated from the following files: