Go to the documentation of this file.
13 double max_curv,
double max_diff_curv) :
14 width_(
width), cov_width_(cov_width),
15 max_icc_(max_curv), linear_curv_change_(max_diff_curv) {
16 if (
width <= 0.0 || cov_width < 0.0) {
17 throw std::out_of_range(
"Robot widths have to be greater than 0.");
19 if (cov_width == 0.0) {
78 this->
max_icc_ = 1.0 / (fabs(rad) + 1e-7);
Types used by fields2cover library.
std::string getName() const
double getMaxDiffCurv() const
double getCovWidth() const
void setName(const std::string &str)
double cov_width_
Width of the coverage area of the robot.
double getTurnVel() const
double cruise_speed_
Velocity of the robot when not doing turns.
double linear_curv_change_
Maximum linear curvature change.
double getMaxCurv() const
Robot & operator=(const Robot &)
double getMinTurningRadius() const
std::optional< double > turn_vel_
Velocity of the robot when doing turns. If not set, cruise_speed_ is used.
void setMaxDiffCurv(double)
double width_
Width of the robot.
void setMinTurningRadius(double rad)
void setCruiseVel(double)
double getCruiseVel() const
double max_icc_
Maximum instantaneous curvature change.
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31