4 /*! \brief Bicycle car basic class.
6 This class contains some geometrical computations of bicycle car.
8 \param x Horizontal coordinate of rear axle center.
9 \param y Vertical coordinate of rear axle center.
10 \param h Heading of the car.
11 \param mtr Minimum turning radius.
13 \param w The width of the car.
14 \param l The length of the car.
15 \param h The height of the car.
16 \param sd The safety distance.
17 \param df Distance from rear axle center to the front of the car.
18 \param dr Distance from rear axle center to the back of the car.
26 // kinematic constraints
37 double x() { return this->x_; }
38 void x(double x) { this->x_ = x; }
40 double y() { return this->y_; }
41 void y(double y) { this->y_ = y; }
43 double h() { return this->h_; }
44 void h(double h) { this->h_ = h; }
46 double mtr() { return this->mtr_; }
47 void mtr(double mtr) { this->mtr_ = mtr; }
49 double wb() { return this->wb_; }
50 void wb(double wb) { this->wb_ = wb; }
52 double w() { return this->w_; }
53 void w(double w) { this->w_ = w; }
55 double l() { return this->l_; }
56 void l(double l) { this->l_ = l; }
58 double h() { return this->h_; }
59 void h(double h) { this->h_ = h; }
61 double sd() { return this->sd_; }
62 void sd(double sd) { this->sd_ = sd; }
64 double df() { return this->df_; }
65 void df(double df) { this->df_ = df; }
67 double dr() { return this->dr_; }
68 void dr(double dr) { this->dr_ = dr; }