]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/commitdiff
Fix car height variable name
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 10 Jul 2019 11:41:46 +0000 (13:41 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 10 Jul 2019 11:41:46 +0000 (13:41 +0200)
api/bcar.h

index 85041580c752cb4474a7479d9ebc7f3aee80bc11..aec4e55610321e261bb1295b261fe0dbe9629886 100644 (file)
@@ -12,7 +12,7 @@ This class contains some geometrical computations of bicycle car.
 \param wb Wheelbase.
 \param w The width of the car.
 \param l The length of the car.
-\param h The height of the car.
+\param he The height of the car.
 \param sd The safety distance.
 \param df Distance from rear axle center to the front of the car.
 \param dr Distance from rear axle center to the back of the car.
@@ -29,7 +29,7 @@ class BicycleCar {
                 // dimensions
                 double w_ = 1.625;
                 double l_ = 3.760;
-                double h_ = 1.450;
+                double he_ = 1.450;
                 double sd_ = 0;
                 double df_ = 3.105;
                 double dr_ = 0.655;
@@ -55,8 +55,8 @@ class BicycleCar {
                 double l() { return this->l_; }
                 void l(double l) { this->l_ = l; }
 
-                double h() { return this->h_; }
-                void h(double h) { this->h_ = h; }
+                double he() { return this->he_; }
+                void he(double he) { this->he_ = he; }
 
                 double sd() { return this->sd_; }
                 void sd(double sd) { this->sd_ = sd; }