|
KDL 1.5.3
|
A spline VelocityProfile trajectory interpolation. More...
#include <src/velocityprofile_spline.hpp>


Public Member Functions | |
| VelocityProfile_Spline () | |
| VelocityProfile_Spline (const VelocityProfile_Spline &p) | |
| virtual | ~VelocityProfile_Spline () |
| virtual void | SetProfile (double pos1, double pos2) |
| virtual void | SetProfileDuration (double pos1, double pos2, double duration) |
| Generate linear interpolation coefficients. | |
| virtual void | SetProfileDuration (double pos1, double vel1, double pos2, double vel2, double duration) |
| Generate cubic spline interpolation coefficients. | |
| virtual void | SetProfileDuration (double pos1, double vel1, double acc1, double pos2, double vel2, double acc2, double duration) |
| Generate quintic spline interpolation coefficients. | |
| virtual double | Duration () const |
| virtual double | Pos (double time) const |
| virtual double | Vel (double time) const |
| virtual double | Acc (double time) const |
| virtual void | Write (std::ostream &os) const |
| virtual VelocityProfile * | Clone () const |
Static Public Member Functions | |
| static VelocityProfile * | Read (std::istream &is) |
Private Attributes | |
| double | coeff_ [6] |
| double | duration_ |
A spline VelocityProfile trajectory interpolation.
| KDL::VelocityProfile_Spline::VelocityProfile_Spline | ( | ) |
References coeff_, and duration_.
Referenced by Clone(), and VelocityProfile_Spline().
| KDL::VelocityProfile_Spline::VelocityProfile_Spline | ( | const VelocityProfile_Spline & | p | ) |
References coeff_, duration_, and VelocityProfile_Spline().
|
virtual |
|
virtual |
Implements KDL::VelocityProfile.
References coeff_, and KDL::generatePowers().
|
virtual |
Implements KDL::VelocityProfile.
References VelocityProfile_Spline().
|
virtual |
Implements KDL::VelocityProfile.
References duration_.
|
virtual |
Implements KDL::VelocityProfile.
References coeff_, and KDL::generatePowers().
|
staticinherited |
Referenced by KDL::Trajectory::Read().
|
virtual |
Implements KDL::VelocityProfile.
|
virtual |
Generate linear interpolation coefficients.
| pos1 | begin position. |
| pos2 | end position. |
| duration | duration of the profile. |
Implements KDL::VelocityProfile.
|
virtual |
Generate quintic spline interpolation coefficients.
| pos1 | begin position. |
| vel1 | begin velocity. |
| acc1 | begin acceleration |
| pos2 | end position. |
| vel2 | end velocity. |
| acc2 | end acceleration. |
| duration | duration of the profile. |
References coeff_, duration_, and KDL::generatePowers().
|
virtual |
Generate cubic spline interpolation coefficients.
| pos1 | begin position. |
| vel1 | begin velocity. |
| pos2 | end position. |
| vel2 | end velocity. |
| duration | duration of the profile. |
References coeff_, duration_, and KDL::generatePowers().
|
virtual |
Implements KDL::VelocityProfile.
References coeff_, and KDL::generatePowers().
|
virtual |
Implements KDL::VelocityProfile.
References coeff_.
|
private |
Referenced by Acc(), Pos(), SetProfileDuration(), SetProfileDuration(), SetProfileDuration(), Vel(), VelocityProfile_Spline(), VelocityProfile_Spline(), and Write().
|
private |