]> rtime.felk.cvut.cz Git - hubacji1/bcar.git/blobdiff - incl/pslot.hh
Add max cusp getter
[hubacji1/bcar.git] / incl / pslot.hh
index fc460b1b47311a3dedceaf82e18ae403fb635f2a..c8962cb2c5d3ff7f4c96c6c037da5c8433aa15f4 100644 (file)
@@ -104,6 +104,7 @@ public:
        void set_parking_speed(double s);
 
        /*! Maximum allowed number of cusp inside the parking slot. */
+       unsigned int get_max_cusp() const;
        void set_max_cusp(unsigned int m);
 
        /*! Angle's increment when creating start positions. */
@@ -130,6 +131,12 @@ public:
         */
        std::vector<BicycleCar> drive_in_slot(BicycleCar c);
 
+       /*! \brief Drive car `c` from slot.
+        *
+        * \param c Starting bicycle car.
+        */
+       std::vector<BicycleCar> drive_of_slot(BicycleCar c);
+
        /*! \brief Steer car `c` into the parking slot `this`.
         *
         * `steer_in_slot` returns the complete path as the list of `Pose`s, not