44 #ifndef MOTIONPROFILE_RECT_H 45 #define MOTIONPROFILE_RECT_H 69 void SetMax(
double _maxvel );
72 double pos1,
double pos2,
double duration);
74 virtual double Pos(
double time)
const;
75 virtual double Vel(
double time)
const;
76 virtual double Acc(
double time)
const;
77 virtual void Write(std::ostream& os)
const;
void SetProfile(double pos1, double pos2)
virtual VelocityProfile * Clone() const
virtual ~VelocityProfile_Rectangular()
virtual double Vel(double time) const
VelocityProfile_Rectangular(double _maxvel=0)
virtual double Acc(double time) const
virtual void SetProfileDuration(double pos1, double pos2, double duration)
virtual void Write(std::ostream &os) const
void SetMax(double _maxvel)
virtual double Duration() const
virtual double Pos(double time) const