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_Rectangular()
virtual VelocityProfile * Clone() const
virtual double Duration() const
VelocityProfile_Rectangular(double _maxvel=0)
virtual void Write(std::ostream &os) const
virtual double Acc(double time) const
virtual void SetProfileDuration(double pos1, double pos2, double duration)
void SetMax(double _maxvel)
virtual double Vel(double time) const
virtual double Pos(double time) const