]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/commitdiff
Plot center rear axle points
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 19 Jan 2022 21:26:52 +0000 (22:26 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 19 Jan 2022 21:26:52 +0000 (22:26 +0100)
incl/bcar.hh
src/bcar.cc

index 018415d96e78df321634ab544e7bb874fda17717..f5ca9286c41e8092fc7bb2ba5a7228f5ae2d7265 100644 (file)
@@ -486,6 +486,8 @@ public:
                bool RF_POINT = false;
                bool LFM_POINT = false;
                bool RFM_POINT = false;
+               bool CRA_POINT = false;
+               bool CAR_POINT = false;
 
                bool LEFT = false;
                bool RIGHT = false;
index 720057929894e40ababb4897f8142ab2987ac2a5..6f6f77e2a0261bb1c7ca3f9cfca4e370f654905d 100644 (file)
@@ -1034,6 +1034,9 @@ BicycleCar::gen_gnuplot_to(std::ostream& out, GenPlotOpts opts)
        if (opts.RFM_POINT) {
                this->rfm().gen_gnuplot_to(out);
        }
+       if (opts.CRA_POINT || opts.CAR_POINT) {
+               Point::gen_gnuplot_to(out);
+       }
        if (opts.LEFT) {
                this->lf().gen_gnuplot_to(out);
                this->lr().gen_gnuplot_to(out);