From 08231387381ace0e0aa895cebf6b159f7cba9567 Mon Sep 17 00:00:00 2001 From: WATANABE Yuki Date: Sat, 26 Dec 2020 19:11:11 +0900 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E7=99=BA=E6=99=82=E5=88=BB=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E8=A9=A6=E9=A8=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + .../magicant/autopilot_signal/map_main.txt | 188 +---------------- .../map_main_no_door_open.txt | 16 ++ .../magicant/autopilot_signal/map_route.txt | 194 ++++++++++++++++++ ...5\345\256\232\350\251\246\351\250\223.txt" | 10 + 5 files changed, 223 insertions(+), 186 deletions(-) create mode 100644 Scenarios/magicant/autopilot_signal/map_main_no_door_open.txt create mode 100644 Scenarios/magicant/autopilot_signal/map_route.txt create mode 100644 "Scenarios/magicant_clearcar_05_\344\277\241\345\217\267\350\251\246\351\250\223_d_\345\207\272\347\231\272\346\231\202\345\210\273\350\250\255\345\256\232\350\251\246\351\250\223.txt" diff --git a/README.md b/README.md index 19c1b74..d369ff0 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ * 5a. ATC 試験 * 5b. swp2 試験 * 5c. 自動発進試験 + * 5d. 出発時刻設定試験 6. ORP 試験 7. 停止位置修正試験 diff --git a/Scenarios/magicant/autopilot_signal/map_main.txt b/Scenarios/magicant/autopilot_signal/map_main.txt index 9d7c948..30630bc 100644 --- a/Scenarios/magicant/autopilot_signal/map_main.txt +++ b/Scenarios/magicant/autopilot_signal/map_main.txt @@ -1,188 +1,4 @@ BveTs Map 2.02 -Station.Load('stations.csv'); -Structure.Load('structures\structures.csv'); -Signal.Load('signals.csv'); - -Section.SetSpeedLimit(0, 25, 45, 75, 100); - -0; - Background.Change('bg'); - //Repeater['ground'].Begin(0, 0, -0.5, 0, 0, 0, 0, 3, 50, 50, 'ground_concrete_50'); - Repeater['ballast'].Begin0(0, 3, 5, 5, 'ballast_5'); - Repeater['ballast_l'].Begin0(0, 1, 25, 25, 'ballast_l_25'); - Repeater['ballast_r'].Begin0(0, 1, 25, 25, 'ballast_r_25'); - Repeater['wirepoles'].Begin(0, 0, 0, 0, 0, 180, 0, 0, 0, 40, 'wirepole_inner', 'wirepole_outer'); - Repeater['trolleywire'].Begin(0, 0, 0, 0, 0, 0, 0, 1, 40, 40, 'trolleywire_40a', 'trolleywire_40b'); - - // 'fence_l' は map_station.txt で置く - Repeater['fence_r'].Begin(0, 4, 0, 0, 0, 0, 0, 1, 5, 5, 'fence_5'); - Repeater['railsideset_l'].Begin(0, -7.5, 0, 0, 0, 0, 0, 0, 50, 50, - 'railsideset_l_1_50', 'railsideset_l_2_50'); - Repeater['houses_l'].Begin(0, -20, 0, 15, 0, 0, 0, 0, 50, 25, - 'house_j', 'house_i', 'house_h', 'house_g', 'house_f', - 'house_e', 'house_d', 'house_c', 'house_b', 'house_a', - 'house_t', 'house_s', 'house_r', 'house_q', 'house_p', - 'house_o', 'house_n', 'house_m', 'house_l', 'house_k'); - Repeater['railsideset_r'].Begin(0, 7, 0, 0, 0, 0, 0, 0, 50, 50, - 'railsideset_r_1_50', 'railsideset_r_2_50', - 'railsideset_r_3_50', 'railsideset_r_1_50', - 'railsideset_r_4_50'); - Repeater['houses_r'].Begin(0, 20, 0, 15, 0, 0, 0, 0, 50, 25, - 'house_a', 'house_b', 'house_c', 'house_d', 'house_e', - 'house_f', 'house_g', 'house_h', 'house_i', 'house_j', - 'house_k', 'house_l', 'house_m', 'house_n', 'house_o', - 'house_p', 'house_q', 'house_r', 'house_s', 'house_t'); - - Beacon.Put(1011, -1, 0); - Beacon.Put(1011, -1, 1025); - Beacon.Put(1011, -1, 2045); - Beacon.Put(1011, -1, 3075); - Beacon.Put(1011, -1, 4100); - - Station['station0'].Put(-1, -2, 2); - $distance = distance; - include 'map_station.txt'; - -$distance + 26; - Section.Begin(0, 2, 4); - $distance = distance; - include 'map_signal_85.txt'; - -$distance + 400; - Section.Begin(0, 2, 4); - $distance = distance; - include 'map_signal_280.txt'; - -$distance + 400; - Section.Begin(0, 2, 4); - $distance = distance; - include 'map_signal_280.txt'; - -distance + 215; - Station['station1'].Put(-1, -2, 2); - $distance = distance; - include 'map_station.txt'; - -$distance + 26; - Section.Begin(0, 2, 4); - $distance = distance; - include 'map_signal_180.txt'; - -$distance + 700; - Section.Begin(0, 2, 3); - $distance = distance; - include 'map_signal_600.txt'; - -$distance + 300; - Section.Begin(0, 2); - $distance = distance; - include 'map_signal_280.txt'; - -$distance + 215; - Station['station2'].Put(-1, -2, 2); - $distance = distance; - include 'map_station.txt'; - -$distance + 26; - Section.Begin(0, 2, 4); - $distance = distance; - include 'map_signal_180.txt'; - -$distance + 601; - Section.Begin(0, 2, 2, 3, 4); - $distance = distance; - include 'map_signal_600.txt'; - -$distance + 200; - Section.Begin(0, 1, 2, 4); - $distance = distance; - include 'map_signal_180.txt'; - -$distance + 100; - Section.Begin(0, 2, 4); - $distance = distance; - include 'map_signal_85.txt'; - Beacon.Put(1012, 0, 420); - Beacon.Put(1012, 1, 4320); - Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); - - PreTrain.Pass('12:04:41'); - -$distance + 215; - Station['station3'].Put(-1, -2, 2); - $distance = distance; - include 'map_station.txt'; - -$distance + 26; - Section.Begin(0, 2, 3, 4); - $distance = distance; - // include 'map_signal_180.txt'; - Signal['signal_5'].Put(0, 0, -2, 3.8); - Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); - Beacon.Put(1012, 1, 43320); - Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); - - PreTrain.Pass('12:04:42'); - -$distance + 500; - Section.Begin(0, 2, 3, 3, 4); - $distance = distance; - // include 'map_signal_280.txt'; - Signal['signal_5'].Put(0, 0, -2, 3.8); - Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); - Beacon.Put(1012, 1, 4320); - Beacon.Put(1012, 2, 4320); - Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); - - PreTrain.Pass('12:05:28'); - -$distance + 400; - Section.Begin(0, 2, 3, 4); - $distance = distance; - // include 'map_signal_280.txt'; - Signal['signal_5'].Put(0, 0, -2, 3.8); - Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); - // Beacon.Put(1012, 1, 4320); // 手前に設置済み - // Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); - - PreTrain.Pass('12:05:55'); - -$distance + 500; - Section.Begin(0, 2, 3, 4); - $distance = distance; - // include 'map_signal_280.txt'; - Signal['signal_5'].Put(0, 0, -2, 3.8); - Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); - Beacon.Put(1012, 1, 4200); - Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); - - PreTrain.Pass('12:06:08'); - -$distance + 215; - Station['station4'].Put(-1, -2, 2); - $distance = distance; - include 'map_station.txt'; - -$distance + 26; - Section.Begin(0, 0, 2, 4); - $distance = distance; - // include 'map_signal_280.txt'; - Signal['signal_5'].Put(0, 0, -2, 3.8); - Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); - Beacon.Put(1012, 1, 4320); - Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); - - PreTrain.Pass('12:06:30'); - -$distance + 400; - Section.Begin(0, 2, 3, 4); - $distance = distance; - // include 'map_signal_280.txt'; - Signal['signal_5'].Put(0, 0, -2, 3.8); - Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); - Beacon.Put(1012, 1, 4320); - Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); - - PreTrain.Pass('12:06:35'); - +$door_open = 1; +include 'map_route.txt'; diff --git a/Scenarios/magicant/autopilot_signal/map_main_no_door_open.txt b/Scenarios/magicant/autopilot_signal/map_main_no_door_open.txt new file mode 100644 index 0000000..a9fd772 --- /dev/null +++ b/Scenarios/magicant/autopilot_signal/map_main_no_door_open.txt @@ -0,0 +1,16 @@ +BveTs Map 2.02 + +$door_open = 0; +include 'map_route.txt'; + +$station0 - 2; + Beacon.Put(1032, -1, (12 * 60 + 0) * 60 + 10); // 12:00:10 +$station1 - 2; + Beacon.Put(1032, -1, (12 * 60 + 1) * 60 + 30); // 12:01:30 +$station2 - 2; + Beacon.Put(1032, -1, -1); // すぐ出発可能 + Beacon.Put(1003, -1, 10); // 自動発進有効化 +$stop_signal - 85; + // Beacon.Put(..., -1, (12 : 60 + 4) * 60 + 42); // 12:04:42 +$station3 - 2; + Beacon.Put(1032, -1, (12 * 60 + 5) * 60 + 31); // 12:05:31 diff --git a/Scenarios/magicant/autopilot_signal/map_route.txt b/Scenarios/magicant/autopilot_signal/map_route.txt new file mode 100644 index 0000000..5c3934a --- /dev/null +++ b/Scenarios/magicant/autopilot_signal/map_route.txt @@ -0,0 +1,194 @@ +BveTs Map 2.02 + +Station.Load('stations.csv'); +Structure.Load('structures\structures.csv'); +Signal.Load('signals.csv'); + +Section.SetSpeedLimit(0, 25, 45, 75, 100); + +0; + Background.Change('bg'); + //Repeater['ground'].Begin(0, 0, -0.5, 0, 0, 0, 0, 3, 50, 50, 'ground_concrete_50'); + Repeater['ballast'].Begin0(0, 3, 5, 5, 'ballast_5'); + Repeater['ballast_l'].Begin0(0, 1, 25, 25, 'ballast_l_25'); + Repeater['ballast_r'].Begin0(0, 1, 25, 25, 'ballast_r_25'); + Repeater['wirepoles'].Begin(0, 0, 0, 0, 0, 180, 0, 0, 0, 40, 'wirepole_inner', 'wirepole_outer'); + Repeater['trolleywire'].Begin(0, 0, 0, 0, 0, 0, 0, 1, 40, 40, 'trolleywire_40a', 'trolleywire_40b'); + + // 'fence_l' は map_station.txt で置く + Repeater['fence_r'].Begin(0, 4, 0, 0, 0, 0, 0, 1, 5, 5, 'fence_5'); + Repeater['railsideset_l'].Begin(0, -7.5, 0, 0, 0, 0, 0, 0, 50, 50, + 'railsideset_l_1_50', 'railsideset_l_2_50'); + Repeater['houses_l'].Begin(0, -20, 0, 15, 0, 0, 0, 0, 50, 25, + 'house_j', 'house_i', 'house_h', 'house_g', 'house_f', + 'house_e', 'house_d', 'house_c', 'house_b', 'house_a', + 'house_t', 'house_s', 'house_r', 'house_q', 'house_p', + 'house_o', 'house_n', 'house_m', 'house_l', 'house_k'); + Repeater['railsideset_r'].Begin(0, 7, 0, 0, 0, 0, 0, 0, 50, 50, + 'railsideset_r_1_50', 'railsideset_r_2_50', + 'railsideset_r_3_50', 'railsideset_r_1_50', + 'railsideset_r_4_50'); + Repeater['houses_r'].Begin(0, 20, 0, 15, 0, 0, 0, 0, 50, 25, + 'house_a', 'house_b', 'house_c', 'house_d', 'house_e', + 'house_f', 'house_g', 'house_h', 'house_i', 'house_j', + 'house_k', 'house_l', 'house_m', 'house_n', 'house_o', + 'house_p', 'house_q', 'house_r', 'house_s', 'house_t'); + + Beacon.Put(1011, -1, 0); + Beacon.Put(1011, -1, 1025); + Beacon.Put(1011, -1, 2045); + Beacon.Put(1011, -1, 3075); + Beacon.Put(1011, -1, 4100); + + Station['station0'].Put(-1 * $door_open, -2, 2); + $station0 = distance; + $distance = distance; + include 'map_station.txt'; + +$distance + 26; + Section.Begin(0, 2, 4); + $distance = distance; + include 'map_signal_85.txt'; + +$distance + 400; + Section.Begin(0, 2, 4); + $distance = distance; + include 'map_signal_280.txt'; + +$distance + 400; + Section.Begin(0, 2, 4); + $distance = distance; + include 'map_signal_280.txt'; + +distance + 215; + Station['station1'].Put(-1 * $door_open, -2, 2); + $station1 = distance; + $distance = distance; + include 'map_station.txt'; + +$distance + 26; + Section.Begin(0, 2, 4); + $distance = distance; + include 'map_signal_180.txt'; + +$distance + 700; + Section.Begin(0, 2, 3); + $distance = distance; + include 'map_signal_600.txt'; + +$distance + 300; + Section.Begin(0, 2); + $distance = distance; + include 'map_signal_280.txt'; + +$distance + 215; + Station['station2'].Put(-1 * $door_open, -2, 2); + $station2 = distance; + $distance = distance; + include 'map_station.txt'; + +$distance + 26; + Section.Begin(0, 2, 4); + $distance = distance; + include 'map_signal_180.txt'; + +$distance + 601; + Section.Begin(0, 2, 2, 3, 4); + $distance = distance; + include 'map_signal_600.txt'; + +$distance + 200; + Section.Begin(0, 1, 2, 4); + $distance = distance; + include 'map_signal_180.txt'; + +$distance + 100; + Section.Begin(0, 2, 4); + $stop_signal = distance; + $distance = distance; + include 'map_signal_85.txt'; + Beacon.Put(1012, 0, 420); + Beacon.Put(1012, 1, 4320); + Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); + + PreTrain.Pass('12:04:41'); + +$distance + 215; + Station['station3'].Put(-1 * $door_open, -2, 2); + $station3 = distance; + $distance = distance; + include 'map_station.txt'; + +$distance + 26; + Section.Begin(0, 2, 3, 4); + $distance = distance; + // include 'map_signal_180.txt'; + Signal['signal_5'].Put(0, 0, -2, 3.8); + Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); + Beacon.Put(1012, 1, 43320); + Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); + + PreTrain.Pass('12:04:42'); + +$distance + 500; + Section.Begin(0, 2, 3, 3, 4); + $distance = distance; + // include 'map_signal_280.txt'; + Signal['signal_5'].Put(0, 0, -2, 3.8); + Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); + Beacon.Put(1012, 1, 4320); + Beacon.Put(1012, 2, 4320); + Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); + + PreTrain.Pass('12:05:28'); + +$distance + 400; + Section.Begin(0, 2, 3, 4); + $distance = distance; + // include 'map_signal_280.txt'; + Signal['signal_5'].Put(0, 0, -2, 3.8); + Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); + // Beacon.Put(1012, 1, 4320); // 手前に設置済み + // Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); + + PreTrain.Pass('12:05:55'); + +$distance + 500; + Section.Begin(0, 2, 3, 4); + $distance = distance; + // include 'map_signal_280.txt'; + Signal['signal_5'].Put(0, 0, -2, 3.8); + Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); + Beacon.Put(1012, 1, 4200); + Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); + + PreTrain.Pass('12:06:08'); + +$distance + 215; + Station['station4'].Put(-1 * $door_open, -2, 2); + $station4 = distance; + $distance = distance; + include 'map_station.txt'; + +$distance + 26; + Section.Begin(0, 0, 2, 4); + $distance = distance; + // include 'map_signal_280.txt'; + Signal['signal_5'].Put(0, 0, -2, 3.8); + Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); + Beacon.Put(1012, 1, 4320); + Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); + + PreTrain.Pass('12:06:30'); + +$distance + 400; + Section.Begin(0, 2, 3, 4); + $distance = distance; + // include 'map_signal_280.txt'; + Signal['signal_5'].Put(0, 0, -2, 3.8); + Structure['signal_pole'].Put(0, -2, 3.3, 0, 0, 0, 0, 0, 0); + Beacon.Put(1012, 1, 4320); + Structure['transponder_p'].Put(0, 0, 0, -3, 0, 0, 0, 3, 0); + + PreTrain.Pass('12:06:35'); + diff --git "a/Scenarios/magicant_clearcar_05_\344\277\241\345\217\267\350\251\246\351\250\223_d_\345\207\272\347\231\272\346\231\202\345\210\273\350\250\255\345\256\232\350\251\246\351\250\223.txt" "b/Scenarios/magicant_clearcar_05_\344\277\241\345\217\267\350\251\246\351\250\223_d_\345\207\272\347\231\272\346\231\202\345\210\273\350\250\255\345\256\232\350\251\246\351\250\223.txt" new file mode 100644 index 0000000..7faa47f --- /dev/null +++ "b/Scenarios/magicant_clearcar_05_\344\277\241\345\217\267\350\251\246\351\250\223_d_\345\207\272\347\231\272\346\231\202\345\210\273\350\250\255\345\256\232\350\251\246\351\250\223.txt" @@ -0,0 +1,10 @@ +BveTs Scenario 2.00 + +RouteTitle = 自動運転試験線 +Route = magicant\autopilot_signal\map_main_no_door_open.txt +VehicleTitle = クリアカー +Vehicle = magicant\clearcar\Vehicle.txt +Author = magicant +Title = 05d. 出発時刻設定試験 +Image = +Comment = 出発時刻設定地上子の試験 (黄金から自動発進)