From d725b303a78d02a85c98070359a085ca22b91031 Mon Sep 17 00:00:00 2001
From: MLErik <baerenjesus@gmail.com>
Date: Mon, 4 Nov 2019 18:34:17 -0500
Subject: [PATCH] updated parameters for more realistic environment in example
 file

---
 README.md                             | 4 ++--
 examples/introduction_flatland_2_1.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 0812791a..0b005b57 100644
--- a/README.md
+++ b/README.md
@@ -158,8 +158,8 @@ env = RailEnv(width=width,
 env_renderer = RenderTool(env, gl="PILSVG",
                           agent_render_variant=AgentRenderVariant.AGENT_SHOWS_OPTIONS_AND_BOX,
                           show_debug=False,
-                          screen_height=1000,  # Adjust these parameters to fit your resolution
-                          screen_width=1000)  # Adjust these parameters to fit your resolution
+                          screen_height=1080,  # Adjust these parameters to fit your resolution
+                          screen_width=1920)  # Adjust these parameters to fit your resolution
 
 
 def my_controller():
diff --git a/examples/introduction_flatland_2_1.py b/examples/introduction_flatland_2_1.py
index faf494f1..4a94e60d 100644
--- a/examples/introduction_flatland_2_1.py
+++ b/examples/introduction_flatland_2_1.py
@@ -62,7 +62,7 @@ schedule_generator = sparse_schedule_generator(speed_ration_map)
 # We can furthermore pass stochastic data to the RailEnv constructor which will allow for stochastic malfunctions
 # during an episode.
 
-stochastic_data = {'malfunction_rate': 100,  # Rate of malfunction occurence of single agent
+stochastic_data = {'malfunction_rate': 10000,  # Rate of malfunction occurence of single agent
                    'min_duration': 15,  # Minimal duration of malfunction
                    'max_duration': 50  # Max duration of malfunction
                    }
-- 
GitLab