Go to the documentation of this file.
44 #ifndef KDL_MOTION_VELOCITYPROFILE_TRAP_H
45 #define KDL_MOTION_VELOCITYPROFILE_TRAP_H
60 class VelocityProfile_Trap :
public VelocityProfile
80 virtual void SetProfile(
double pos1,
double pos2);
83 double pos1,
double pos2,
double newduration
95 double pos1,
double pos2,
double newvelocity
98 virtual void SetMax(
double _maxvel,
double _maxacc);
100 virtual double Pos(
double time)
const;
101 virtual double Vel(
double time)
const;
102 virtual double Acc(
double time)
const;
virtual double Duration() const
virtual ~VelocityProfile_Trap()
virtual double Acc(double time) const
virtual VelocityProfile * Clone() const
virtual void SetProfileDuration(double pos1, double pos2, double newduration)
virtual void Write(std::ostream &os) const
virtual void SetProfileVelocity(double pos1, double pos2, double newvelocity)
virtual double Pos(double time) const
virtual double Vel(double time) const
virtual void SetProfile(double pos1, double pos2)
virtual void SetMax(double _maxvel, double _maxacc)
VelocityProfile_Trap(double _maxvel=0, double _maxacc=0)