]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/commitdiff
Add parallel planner constructor
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Mon, 25 Feb 2019 13:41:11 +0000 (14:41 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Tue, 26 Feb 2019 09:19:53 +0000 (10:19 +0100)
decision_control/slotplanner.cc
incl/slotplanner.h

index 0372ada1c857577c1984fa44f8b27736985bb27c..1165763fd7fbad5a3b47c3bc51f1b27433242b63 100644 (file)
@@ -16,3 +16,11 @@ along with I am car. If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "slotplanner.h"
+
+ParallelSlot::ParallelSlot()
+{}
+
+PolygonObstacle &ParallelSlot::slot()
+{
+        return this->slot_;
+}
index 23aa2b1da6cdeceb7eb1db55e5ad0b49cfff635b..ff82e0d7d3b4cc8ab6a149c8994e1241c838ee9f 100644 (file)
@@ -18,4 +18,14 @@ along with I am car. If not, see <http://www.gnu.org/licenses/>.
 #ifndef SLOTPLANNER_H
 #define SLOTPLANNER_H
 
+#include "obstacle.h"
+
+class ParallelSlot {
+        private:
+                PolygonObstacle slot_;
+        public:
+                ParallelSlot();
+                PolygonObstacle &slot();
+};
+
 #endif