Skip to content

Commit

Permalink
Deploying to gh-pages from @ a249705 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
eleurent committed Nov 11, 2023
1 parent 67e3eb4 commit 4147484
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Binary file modified main/_images/index_1_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_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_2_3.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/multi_agent_0_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/multi_agent_1_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_3.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.
2 changes: 1 addition & 1 deletion main/_modules/highway_env/envs/intersection_env/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ <h1>Source code for highway_env.envs.intersection_env</h1><div class="highlight"
<span class="bp">self</span><span class="o">.</span><span class="n">controlled_vehicles</span> <span class="o">=</span> <span class="p">[]</span>
<span class="k">for</span> <span class="n">ego_id</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">config</span><span class="p">[</span><span class="s2">&quot;controlled_vehicles&quot;</span><span class="p">]):</span>
<span class="n">ego_lane</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">road</span><span class="o">.</span><span class="n">network</span><span class="o">.</span><span class="n">get_lane</span><span class="p">((</span><span class="s2">&quot;o</span><span class="si">{}</span><span class="s2">&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">ego_id</span> <span class="o">%</span> <span class="mi">4</span><span class="p">),</span> <span class="s2">&quot;ir</span><span class="si">{}</span><span class="s2">&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">ego_id</span> <span class="o">%</span> <span class="mi">4</span><span class="p">),</span> <span class="mi">0</span><span class="p">))</span>
<span class="n">destination</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">config</span><span class="p">[</span><span class="s2">&quot;destination&quot;</span><span class="p">]</span> <span class="ow">or</span> <span class="s2">&quot;o&quot;</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">np_random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">4</span><span class="p">))</span>
<span class="n">destination</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">config</span><span class="p">[</span><span class="s2">&quot;destination&quot;</span><span class="p">]</span> <span class="ow">or</span> <span class="s2">&quot;o&quot;</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">np_random</span><span class="o">.</span><span class="n">integers</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">4</span><span class="p">))</span>
<span class="n">ego_vehicle</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">action_type</span><span class="o">.</span><span class="n">vehicle_class</span><span class="p">(</span>
<span class="bp">self</span><span class="o">.</span><span class="n">road</span><span class="p">,</span>
<span class="n">ego_lane</span><span class="o">.</span><span class="n">position</span><span class="p">(</span><span class="mi">60</span> <span class="o">+</span> <span class="mi">5</span><span class="o">*</span><span class="bp">self</span><span class="o">.</span><span class="n">np_random</span><span class="o">.</span><span class="n">normal</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="mi">0</span><span class="p">),</span>
Expand Down
2 changes: 1 addition & 1 deletion main/_modules/highway_env/vehicle/controller/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ <h1>Source code for highway_env.vehicle.controller</h1><div class="highlight"><p
<span class="n">routes</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_routes_at_intersection</span><span class="p">()</span>
<span class="k">if</span> <span class="n">routes</span><span class="p">:</span>
<span class="k">if</span> <span class="n">_to</span> <span class="o">==</span> <span class="s2">&quot;random&quot;</span><span class="p">:</span>
<span class="n">_to</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">road</span><span class="o">.</span><span class="n">np_random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">routes</span><span class="p">))</span>
<span class="n">_to</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">road</span><span class="o">.</span><span class="n">np_random</span><span class="o">.</span><span class="n">integers</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">routes</span><span class="p">))</span>
<span class="bp">self</span><span class="o">.</span><span class="n">route</span> <span class="o">=</span> <span class="n">routes</span><span class="p">[</span><span class="n">_to</span> <span class="o">%</span> <span class="nb">len</span><span class="p">(</span><span class="n">routes</span><span class="p">)]</span></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 @@ -557,25 +557,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. 1. 0. 1.
0. ]
[ 1. 0.19849771 -0.08 -0.17327027 0. 1.
[ 1. 0.20323725 0.04 -0.07361443 0. 1.
0. ]
[ 1. 0.40577605 -0.04 -0.0777458 0. 1.
[ 1. 0.39618185 0.08 -0.11105874 0. 1.
0. ]
[ 1. 0.6178002 0. -0.05545885 0. 1.
[ 1. 0.6169058 0.04 -0.17033932 0. 1.
0. ]
[ 1. 0.8213279 -0.08 -0.06065813 0. 1.
[ 1. 0.83093834 0.08 -0.0526074 0. 1.
0. ]
[ 1. 1. 0. -0.10840534 0. 1.
[ 1. 1. 0.12 -0.18704522 0. 1.
0. ]
[ 1. 1. 0.04 -0.05941435 0. 1.
[ 1. 1. 0.04 -0.1492452 0. 1.
0. ]
[ 1. 1. -0.04 -0.09407181 0. 1.
[ 1. 1. 0.08 -0.05019206 0. 1.
0. ]
[ 1. 1. 0. -0.17338553 0. 1.
[ 1. 1. 0. -0.07072275 0. 1.
0. ]
[ 1. 1. -0.08 -0.05116639 0. 1.
[ 1. 1. 0.08 -0.18716832 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 4147484

Please sign in to comment.