Skip to content

Commit

Permalink
Deploying to gh-pages from @ 116c23f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
eleurent committed Nov 12, 2024
1 parent bd143f0 commit 96459dc
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 18 deletions.
Binary file modified main/_images/index_1_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_2_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_2_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_2_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/index_3_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/quickstart_0_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified main/_images/quickstart_2_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions main/_modules/highway_env/envs/common/abstract/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ <h1>Source code for highway_env.envs.common.abstract</h1><div class="highlight">
<span class="k">def</span> <span class="nf">set_record_video_wrapper</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">wrapper</span><span class="p">:</span> <span class="n">RecordVideo</span><span class="p">):</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_record_video_wrapper</span> <span class="o">=</span> <span class="n">wrapper</span>
<span class="bp">self</span><span class="o">.</span><span class="n">update_metadata</span><span class="p">()</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_record_video_wrapper</span><span class="o">.</span><span class="n">frames_per_sec</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">metadata</span><span class="p">[</span><span class="s2">&quot;render_fps&quot;</span><span class="p">]</span>

<div class="viewcode-block" id="AbstractEnv._automatic_rendering">
<a class="viewcode-back" href="../../../../../make_your_own/#highway_env.envs.common.abstract.AbstractEnv._automatic_rendering">[docs]</a>
Expand All @@ -670,8 +671,8 @@ <h1>Source code for highway_env.envs.common.abstract</h1><div class="highlight">
<span class="sd"> If a RecordVideo wrapper has been set, use it to capture intermediate frames.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">viewer</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">enable_auto_render</span><span class="p">:</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">_record_video_wrapper</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">_record_video_wrapper</span><span class="o">.</span><span class="n">video_recorder</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_record_video_wrapper</span><span class="o">.</span><span class="n">video_recorder</span><span class="o">.</span><span class="n">capture_frame</span><span class="p">()</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">_record_video_wrapper</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_record_video_wrapper</span><span class="o">.</span><span class="n">_capture_frame</span><span class="p">()</span>
<span class="k">else</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">render</span><span class="p">()</span></div>

Expand Down
10 changes: 5 additions & 5 deletions main/multi_agent/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,11 @@ <h2>Change the observation space<a class="headerlink" href="#change-the-observat
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>(array([[ 1. , 0.8868867 , 0. , 0.3125 , 0. ],
[ 1. , 0.10220458, 0.25 , -0.04252493, 0. ],
[ 1. , 0.21234035, 0.5 , -0.03977101, 0. ],
[ 1. , 0.3136693 , 0.5 , -0.04852853, 0. ],
[ 1. , 0.41047338, 0.25 , -0.0422479 , 0. ]],
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>(array([[ 1. , 0.9152481 , 0.25 , 0.3125 , 0. ],
[ 1. , 0.0958429 , -0.25 , -0.03022954, 0. ],
[ 1. , 0.2024556 , 0.25 , -0.02458734, 0. ],
[ 1. , 0.29500294, 0.5 , -0.04446869, 0. ],
[ 1. , 0.39522964, -0.25 , -0.02254975, 0. ]],
dtype=float32),)
</pre></div>
</div>
Expand Down
20 changes: 10 additions & 10 deletions main/observations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -558,25 +558,25 @@ <h3>Example configuration<a class="headerlink" href="#example-configuration" tit
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 1. 1. 0.08 1. 0. 1.
<div class="output stream highlight-none notranslate"><div class="highlight"><pre><span></span>[[ 1. 1. 0.12 1. 0. 1.
0. ]
[ 1. 0.22254233 -0.04 -0.12332875 0. 1.
[ 1. 0.21987924 -0.04 -0.08743384 0. 1.
0. ]
[ 1. 0.40874493 -0.04 -0.18935317 0. 1.
[ 1. 0.43419316 -0.12 -0.05920769 0. 1.
0. ]
[ 1. 0.61476827 0.04 -0.12796491 0. 1.
[ 1. 0.63320506 -0.08 -0.07853883 0. 1.
0. ]
[ 1. 0.8130831 -0.04 -0.06989625 0. 1.
[ 1. 0.868349 -0.08 -0.07426319 0. 1.
0. ]
[ 1. 1. -0.08 -0.15088789 0. 1.
[ 1. 1. 0. -0.12259872 0. 1.
0. ]
[ 1. 1. 0. -0.14451969 0. 1.
[ 1. 1. 0. -0.11233146 0. 1.
0. ]
[ 1. 1. 0. -0.1918625 0. 1.
[ 1. 1. -0.12 -0.15392299 0. 1.
0. ]
[ 1. 1. -0.04 -0.12536396 0. 1.
[ 1. 1. -0.08 -0.18808736 0. 1.
0. ]
[ 1. 1. 0. -0.06678273 0. 1.
[ 1. 1. -0.04 -0.07644679 0. 1.
0. ]
[ 0. 0. 0. 0. 0. 0.
0. ]
Expand Down
2 changes: 1 addition & 1 deletion main/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 96459dc

Please sign in to comment.