Go to the documentation of this file.
46 #ifndef KDL_MOTION_VELOCITYPROFILE_TRAPHALF_H
47 #define KDL_MOTION_VELOCITYPROFILE_TRAPHALF_H
63 class VelocityProfile_TrapHalf :
public VelocityProfile
92 void SetMax(
double _maxvel,
double _maxacc,
bool _starting);
104 virtual void SetProfile(
double pos1,
double pos2);
118 double pos1,
double pos2,
double newduration
122 virtual double Pos(
double time)
const;
123 virtual double Vel(
double time)
const;
124 virtual double Acc(
double time)
const;
126 virtual VelocityProfile*
Clone()
const;
virtual double Pos(double time) const
virtual void SetProfile(double pos1, double pos2)
VelocityProfile_TrapHalf(double _maxvel=0, double _maxacc=0, bool _starting=true)
virtual ~VelocityProfile_TrapHalf()
virtual double Acc(double time) const
virtual double Duration() const
virtual VelocityProfile * Clone() const
void SetMax(double _maxvel, double _maxacc, bool _starting)
virtual void Write(std::ostream &os) const
void PlanProfile1(double v, double a)
void PlanProfile2(double v, double a)
virtual double Vel(double time) const
virtual void SetProfileDuration(double pos1, double pos2, double newduration)