]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/commitdiff
Change the default car size
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 3 Jan 2022 13:45:03 +0000 (14:45 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 3 Jan 2022 13:45:04 +0000 (14:45 +0100)
The default car size is the Renault ZOE with rear view mirrors.

incl/bcar.hh

index c24334fc52585090614381ef0c9684466daee0cb..0d239c57179e8538242b782032b8f33252a5f53d 100644 (file)
@@ -196,16 +196,16 @@ public:
 
 /*! \brief Store car size.
  *
- * - Default is https://en.wikipedia.org/wiki/Fiat_Punto
+ * - The default is Renault ZOE (www.car.info)
  */
 class CarSize {
 private:
-       double curb_to_curb_ = 10.820;
-       double width_ = 1.625;
-       double wheelbase_ = 2.450;
-       double distance_to_front_ = 3.105;
-       double length_ = 3.760;
-       double _front_track = 1.625;
+       double curb_to_curb_ = 10.802166641822163;
+       double width_ = 1.945; // including mirrors
+       double wheelbase_ = 2.588;
+       double distance_to_front_ = 3.427;
+       double length_ = 4.084;
+       double _front_track = 1.511;
 public:
        /*! Get curb-to-curb distance. */
        double ctc() const;