orocos_kdl
Public Member Functions | Public Attributes | Private Attributes | List of all members
KDL::VelocityProfile_Rectangular Class Reference

#include <velocityprofile_rect.hpp>

Inheritance diagram for KDL::VelocityProfile_Rectangular:
Inheritance graph
[legend]

Public Member Functions

virtual double Acc (double time) const
 
virtual VelocityProfileClone () const
 
virtual double Duration () const
 
virtual double Pos (double time) const
 
void SetMax (double _maxvel)
 
void SetProfile (double pos1, double pos2)
 
virtual void SetProfileDuration (double pos1, double pos2, double duration)
 
virtual double Vel (double time) const
 
 VelocityProfile_Rectangular (double _maxvel=0)
 
virtual void Write (std::ostream &os) const
 
virtual ~VelocityProfile_Rectangular ()
 
- Public Member Functions inherited from KDL::VelocityProfile
virtual ~VelocityProfile ()
 

Public Attributes

double maxvel
 

Private Attributes

double d
 
double p
 
double v
 

Additional Inherited Members

- Static Public Member Functions inherited from KDL::VelocityProfile
static VelocityProfileRead (std::istream &is)
 

Detailed Description

A rectangular VelocityProfile generates a constant velocity for moving from A to B.

Definition at line 94 of file velocityprofile_rect.hpp.

Constructor & Destructor Documentation

◆ VelocityProfile_Rectangular()

KDL::VelocityProfile_Rectangular::VelocityProfile_Rectangular ( double  _maxvel = 0)
inline

Definition at line 140 of file velocityprofile_rect.hpp.

◆ ~VelocityProfile_Rectangular()

virtual KDL::VelocityProfile_Rectangular::~VelocityProfile_Rectangular ( )
inlinevirtual

Definition at line 160 of file velocityprofile_rect.hpp.

Member Function Documentation

◆ Acc()

double KDL::VelocityProfile_Rectangular::Acc ( double  time) const
virtual

Implements KDL::VelocityProfile.

Definition at line 159 of file velocityprofile_rect.cpp.

◆ Clone()

virtual VelocityProfile* KDL::VelocityProfile_Rectangular::Clone ( ) const
inlinevirtual

Implements KDL::VelocityProfile.

Definition at line 154 of file velocityprofile_rect.hpp.

◆ Duration()

double KDL::VelocityProfile_Rectangular::Duration ( ) const
virtual

Implements KDL::VelocityProfile.

Definition at line 135 of file velocityprofile_rect.cpp.

◆ Pos()

double KDL::VelocityProfile_Rectangular::Pos ( double  time) const
virtual

Implements KDL::VelocityProfile.

Definition at line 139 of file velocityprofile_rect.cpp.

◆ SetMax()

void KDL::VelocityProfile_Rectangular::SetMax ( double  _maxvel)

Definition at line 108 of file velocityprofile_rect.cpp.

◆ SetProfile()

void KDL::VelocityProfile_Rectangular::SetProfile ( double  pos1,
double  pos2 
)
virtual

Implements KDL::VelocityProfile.

Definition at line 87 of file velocityprofile_rect.cpp.

◆ SetProfileDuration()

void KDL::VelocityProfile_Rectangular::SetProfileDuration ( double  pos1,
double  pos2,
double  duration 
)
virtual

Implements KDL::VelocityProfile.

Definition at line 115 of file velocityprofile_rect.cpp.

◆ Vel()

double KDL::VelocityProfile_Rectangular::Vel ( double  time) const
virtual

Implements KDL::VelocityProfile.

Definition at line 149 of file velocityprofile_rect.cpp.

◆ Write()

void KDL::VelocityProfile_Rectangular::Write ( std::ostream os) const
virtual

Implements KDL::VelocityProfile.

Definition at line 165 of file velocityprofile_rect.cpp.

Member Data Documentation

◆ d

double KDL::VelocityProfile_Rectangular::d
private

Definition at line 136 of file velocityprofile_rect.hpp.

◆ maxvel

double KDL::VelocityProfile_Rectangular::maxvel

Definition at line 138 of file velocityprofile_rect.hpp.

◆ p

double KDL::VelocityProfile_Rectangular::p
private

Definition at line 136 of file velocityprofile_rect.hpp.

◆ v

double KDL::VelocityProfile_Rectangular::v
private

Definition at line 136 of file velocityprofile_rect.hpp.


The documentation for this class was generated from the following files: