]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/commitdiff
Add more scerarios to gen scenario script
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 29 Mar 2023 09:44:55 +0000 (11:44 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 29 Mar 2023 09:44:55 +0000 (11:44 +0200)
scripts/gen_scenario.py

index c2f9079a7331b199dd88a28fdc9a1b8e64508bc6..60421656f1546f775e2bc58f9fbe50abe91451d3 100755 (executable)
@@ -133,6 +133,18 @@ def random_obstacles():
 
 
 SCENARIOS = {
+    "pe07": {
+        "init": [0, 0, 0],
+        "slot": gen_slot_at(10, 0 - 5, 0, False),
+        "obst": [gen_obst_at(*p) for p in [
+            [8, 2.5 - 5, 0], [6, 2.5 - 5, 0],
+            [10.25, 1.5 - 5, 0], [10.25, -1.5 - 5, 0]]]},
+    "pe06": {
+        "init": [0, 0, 0],
+        "slot": gen_slot_at(10, 0 + 5, 0, False),
+        "obst": [gen_obst_at(*p) for p in [
+            [8, 2.5 + 5, 0], [6, 2.5 + 5, 0],
+            [10.25, 1.5 + 5, 0], [10.25, -1.5 + 5, 0]]]},
     "pe05": {
         "init": [0, 0, 0],
         "slot": gen_slot_at(10, 0, 0, False),