#include <velocityprofile_trap.hpp>
A Trapezoidal VelocityProfile implementation.
Definition at line 60 of file velocityprofile_trap.hpp.
KDL::VelocityProfile_Trap::VelocityProfile_Trap |
( |
double |
_maxvel = 0 , |
|
|
double |
_maxacc = 0 |
|
) |
| |
KDL::VelocityProfile_Trap::~VelocityProfile_Trap |
( |
| ) |
|
|
virtual |
double KDL::VelocityProfile_Trap::Acc |
( |
double |
time | ) |
const |
|
virtual |
double KDL::VelocityProfile_Trap::Duration |
( |
| ) |
const |
|
virtual |
double KDL::VelocityProfile_Trap::Pos |
( |
double |
time | ) |
const |
|
virtual |
void KDL::VelocityProfile_Trap::SetMax |
( |
double |
_maxvel, |
|
|
double |
_maxacc |
|
) |
| |
|
virtual |
void KDL::VelocityProfile_Trap::SetProfile |
( |
double |
pos1, |
|
|
double |
pos2 |
|
) |
| |
|
virtual |
void KDL::VelocityProfile_Trap::SetProfileDuration |
( |
double |
pos1, |
|
|
double |
pos2, |
|
|
double |
newduration |
|
) |
| |
|
virtual |
void KDL::VelocityProfile_Trap::SetProfileVelocity |
( |
double |
pos1, |
|
|
double |
pos2, |
|
|
double |
newvelocity |
|
) |
| |
|
virtual |
Compute trapezoidal profile at a given fraction of max velocity
- Parameters
-
pos1 | Position to start from |
pos2 | Position to end at |
newvelocity | Fraction of max velocity to use during the non-ramp, flat-velocity part of the profile. |
KDL::epsilon | <= newvelocity <= 1.0 (forcibly clamped to this range internally) |
Definition at line 111 of file velocityprofile_trap.cpp.
double KDL::VelocityProfile_Trap::Vel |
( |
double |
time | ) |
const |
|
virtual |
void KDL::VelocityProfile_Trap::Write |
( |
std::ostream & |
os | ) |
const |
|
virtual |
double KDL::VelocityProfile_Trap::a1 |
|
private |
double KDL::VelocityProfile_Trap::a2 |
|
private |
double KDL::VelocityProfile_Trap::a3 |
|
private |
double KDL::VelocityProfile_Trap::b1 |
|
private |
double KDL::VelocityProfile_Trap::b2 |
|
private |
double KDL::VelocityProfile_Trap::b3 |
|
private |
double KDL::VelocityProfile_Trap::c1 |
|
private |
double KDL::VelocityProfile_Trap::c2 |
|
private |
double KDL::VelocityProfile_Trap::c3 |
|
private |
double KDL::VelocityProfile_Trap::duration |
|
private |
double KDL::VelocityProfile_Trap::endpos |
|
private |
double KDL::VelocityProfile_Trap::maxacc |
|
private |
double KDL::VelocityProfile_Trap::maxvel |
|
private |
double KDL::VelocityProfile_Trap::startpos |
|
private |
double KDL::VelocityProfile_Trap::t1 |
|
private |
double KDL::VelocityProfile_Trap::t2 |
|
private |
The documentation for this class was generated from the following files: