X-Git-Url: https://rtime.felk.cvut.cz/gitweb/hubacji1/bcar.git/blobdiff_plain/e6084377f2af4bdfdc314a500c0f26ceafb43344..c63df5a0fede447e6bb5c60b44cbfdad974cc4e8:/incl/pslot.hh diff --git a/incl/pslot.hh b/incl/pslot.hh index 843d9f9..7cf2b42 100644 --- a/incl/pslot.hh +++ b/incl/pslot.hh @@ -126,6 +126,12 @@ public: /*! Return `true` if `c`'s car frame collide with `this` border. */ bool collide(BicycleCar const& c) const; + /*! \brief Set car `c` to the start position. + * + * \param c Bicycle car. + */ + void set_to_start(BicycleCar& c); + /*! \brief Drive car `c` into the parking slot `this`. * * \param c Starting bicycle car. @@ -161,6 +167,9 @@ public: */ PoseRange recompute_entry(PoseRange p); + /*! Generate output for plotting with gnuplot. */ + void gen_gnuplot_to(std::ostream& out); + friend std::ostream& operator<<(std::ostream& o, ParkingSlot const& s); };