38 : has_max_trans_vel_(false)
40 , has_max_trans_acc_(false)
42 , has_max_trans_dec_(false)
44 , has_max_rot_vel_(false)
53 return has_max_trans_vel_;
58 has_max_trans_vel_ =
true;
59 max_trans_vel_ = max_trans_vel;
64 return max_trans_vel_;
71 return has_max_trans_acc_;
76 has_max_trans_acc_ =
true;
77 max_trans_acc_ = max_trans_acc;
82 return max_trans_acc_;
89 return has_max_trans_dec_;
94 has_max_trans_dec_ =
true;
95 max_trans_dec_ = max_trans_dec;
100 return max_trans_dec_;
107 return has_max_rot_vel_;
112 has_max_rot_vel_ =
true;
113 max_rot_vel_ = max_rot_vel;
double getMaxRotationalVelocity() const
Return the maximal rotational velocity [rad/s], 0 if nothing was set.
void setMaxRotationalVelocity(double max_rot_vel)
Set the maximum rotational velocity.
bool hasMaxRotationalVelocity() const
Check if rotational velocity limit is set.
bool hasMaxTranslationalDeceleration() const
Check if translational deceleration limit is set.
void setMaxTranslationalVelocity(double max_trans_vel)
Set the maximal translational velocity.
double getMaxTranslationalDeceleration() const
Return the maximal translational deceleration [m/s^2], 0 if nothing was set.
void setMaxTranslationalAcceleration(double max_trans_acc)
Set the maximum translational acceleration.
bool hasMaxTranslationalVelocity() const
Check if translational velocity limit is set.
double getMaxTranslationalAcceleration() const
Return the maximal translational acceleration [m/s^2], 0 if nothing was set.
double getMaxTranslationalVelocity() const
Return the maximal translational velocity [m/s], 0 if nothing was set.
bool hasMaxTranslationalAcceleration() const
Check if translational acceleration limit is set.
void setMaxTranslationalDeceleration(double max_trans_dec)
Set the maximum translational deceleration.