Skip to content

Commit

Permalink
Deploying to gh-pages from @ fb7ee00 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
reginald-mclean committed May 27, 2024
1 parent 075ae3a commit 819b0c3
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 567 deletions.
4 changes: 4 additions & 0 deletions _images/metaworld-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _static/metaworld-text.svg
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 index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ <h2 class='farama-project-heading'>

<span class="n">obs</span> <span class="o">=</span> <span class="n">env</span><span class="o">.</span><span class="n">reset</span><span class="p">()</span> <span class="c1"># Reset environment</span>
<span class="n">a</span> <span class="o">=</span> <span class="n">env</span><span class="o">.</span><span class="n">action_space</span><span class="o">.</span><span class="n">sample</span><span class="p">()</span> <span class="c1"># Sample an action</span>
<span class="n">obs</span><span class="p">,</span> <span class="n">reward</span><span class="p">,</span> <span class="n">done</span><span class="p">,</span> <span class="n">info</span> <span class="o">=</span> <span class="n">env</span><span class="o">.</span><span class="n">step</span><span class="p">(</span><span class="n">a</span><span class="p">)</span>
<span class="n">obs</span><span class="p">,</span> <span class="n">reward</span><span class="p">,</span> <span class="n">terminate</span><span class="p">,</span> <span class="n">truncate</span><span class="p">,</span> <span class="n">info</span> <span class="o">=</span> <span class="n">env</span><span class="o">.</span><span class="n">step</span><span class="p">(</span><span class="n">a</span><span class="p">)</span>
</pre></div>
</div>
<div class="toctree-wrapper compound">
Expand Down
558 changes: 0 additions & 558 deletions introduction/installation/index.html

This file was deleted.

6 changes: 3 additions & 3 deletions objects.inv
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Project: Metaworld
# Version:
# The remainder of this file is compressed using zlib.
x�}R�j!���� �)�B��!%��\��h�Yڼ}5�&n��Eg���a���H-��P͡��<P�^4�`�Z��a��ڭKn�p�!�_獂�g�$H;ˤ�A��k�]���*��Ҍ8�Iľ�a�.v�tN�b�&�� $���eR
&I��=�f�j�:���w�.^��)��� ��ǚ =�uvjdM?���CD���
�d�S�g��/�m�oQ9���Ї,���4l�k>3�~���߼
x�}R͊�0��)�J\�i�u����Yb2�@L$����&���{��|?� �'5R��I�>���<P�V4G�r�Ul��}��%7w8����y� �- ��2�sRj��E����
�4#Nh��r�I��)�L��d�+���1ٹ,J���4�]E3�N�� �D��؆��q�y*��
vqjd����v��`�c��#���7(=��m�++�;s��) (�<G��}��g`�X�2
29 changes: 25 additions & 4 deletions rendering/rendering/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
</button>
</div>
<label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
<label class="toc-overlay-icon toc-header-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
Expand Down Expand Up @@ -268,7 +268,7 @@
</svg>
</button>
</div>
<label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
<label class="toc-overlay-icon toc-content-icon" for="__toc">
<div class="visually-hidden">Toggle table of contents sidebar</div>
<i class="icon"><svg>
<use href="#svg-toc"></use>
Expand Down Expand Up @@ -302,7 +302,8 @@ <h1>Rendering<a class="headerlink" href="#rendering" title="Link to this heading
<span class="n">obs</span><span class="p">,</span> <span class="n">reward</span><span class="p">,</span> <span class="n">terminate</span><span class="p">,</span> <span class="n">truncate</span><span class="p">,</span> <span class="n">info</span> <span class="o">=</span> <span class="n">env</span><span class="o">.</span><span class="n">step</span><span class="p">(</span><span class="n">a</span><span class="p">)</span> <span class="c1"># Step the environment with the sampled random action</span>
</pre></div>
</div>
<p>You can also render from a specific camera</p>
<section id="render-from-a-specific-camera">
<h2>Render from a specific camera<a class="headerlink" href="#render-from-a-specific-camera" title="Link to this heading"></a></h2>
<p>In addition to the base render functions, Meta-World supports multiple camera positions.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">camera_name</span> <span class="o">=</span> <span class="s1">&#39;&#39;</span> <span class="c1"># one of: [&#39;corner&#39;, &#39;corner2&#39;, &#39;corner3&#39;, &#39;topview&#39;, &#39;behindGripper&#39;, &#39;gripperPOV&#39;]</span>

Expand All @@ -318,6 +319,7 @@ <h1>Rendering<a class="headerlink" href="#rendering" title="Link to this heading

</pre></div>
</div>
</section>
</section>

</article>
Expand Down Expand Up @@ -377,8 +379,27 @@ <h1>Rendering<a class="headerlink" href="#rendering" title="Link to this heading

</footer>
</div>
<aside class="toc-drawer no-toc">
<aside class="toc-drawer">


<div class="toc-sticky toc-scroll">
<div class="toc-title-container">
<span class="toc-title">
On this page
</span>
</div>
<div class="toc-tree-container">
<div class="toc-tree">
<ul>
<li><a class="reference internal" href="#">Rendering</a><ul>
<li><a class="reference internal" href="#render-from-a-specific-camera">Render from a specific camera</a></li>
</ul>
</li>
</ul>

</div>
</div>
</div>


</aside>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 819b0c3

Please sign in to comment.