#include <velocityprofile_trap.hpp>
A Trapezoidal VelocityProfile implementation.
◆ VelocityProfile_Trap()
| KDL::VelocityProfile_Trap::VelocityProfile_Trap |
( |
double | _maxvel = 0, |
|
|
double | _maxacc = 0 ) |
◆ ~VelocityProfile_Trap()
| virtual KDL::VelocityProfile_Trap::~VelocityProfile_Trap |
( |
| ) |
|
|
virtual |
◆ Acc()
| virtual double KDL::VelocityProfile_Trap::Acc |
( |
double | time | ) |
const |
|
virtual |
◆ Clone()
◆ Duration()
| virtual double KDL::VelocityProfile_Trap::Duration |
( |
| ) |
const |
|
virtual |
◆ Pos()
| virtual double KDL::VelocityProfile_Trap::Pos |
( |
double | time | ) |
const |
|
virtual |
◆ SetMax()
| virtual void KDL::VelocityProfile_Trap::SetMax |
( |
double | _maxvel, |
|
|
double | _maxacc ) |
|
virtual |
◆ SetProfile()
| virtual void KDL::VelocityProfile_Trap::SetProfile |
( |
double | pos1, |
|
|
double | pos2 ) |
|
virtual |
◆ SetProfileDuration()
| virtual void KDL::VelocityProfile_Trap::SetProfileDuration |
( |
double | pos1, |
|
|
double | pos2, |
|
|
double | newduration ) |
|
virtual |
◆ SetProfileVelocity()
| 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) |
◆ Vel()
| virtual double KDL::VelocityProfile_Trap::Vel |
( |
double | time | ) |
const |
|
virtual |
◆ Write()
| virtual void KDL::VelocityProfile_Trap::Write |
( |
std::ostream & | os | ) |
const |
|
virtual |
The documentation for this class was generated from the following file: