From cbae0ff454f51502df9ee7d6a9d18c650a567669 Mon Sep 17 00:00:00 2001 From: spiglerg <spiglerg@gmail.com> Date: Thu, 23 May 2019 18:11:32 +0000 Subject: [PATCH] Update gettingstarted.rst --- docs/gettingstarted.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/gettingstarted.rst b/docs/gettingstarted.rst index c9eb574f..c30096df 100644 --- a/docs/gettingstarted.rst +++ b/docs/gettingstarted.rst @@ -162,7 +162,7 @@ num_agent agents, their initial orientation (0=North, 1=East, 2=South, 3=West), and the position of their targets. For example, the following custom rail map generator returns an empty map of -size (height, width), with no agents (regardless of num_agents): +size (height, width), with no agents (regardless of num_agents) .. code-block: python @@ -184,7 +184,7 @@ It is worth to note that helpful utilities to manage RailEnv environments and th related data structures are available in 'envs.env_utils'. In particular, envs.env_utils.get_rnd_agents_pos_tgt_dir_on_rail is fairly handy to fill in random (but consistent) agents along with their targets and initial directions, -given a rail map (GridTransitionMap object) and the desired number of agents: +given a rail map (GridTransitionMap object) and the desired number of agents .. code-block: python agents_position, agents_direction, agents_target = get_rnd_agents_pos_tgt_dir_on_rail( -- GitLab