Skip to content

Commit

Permalink
add more stuff to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jjshoots committed Jul 20, 2023
1 parent d017ee4 commit abd3315
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/Fixedwing-Waypoints-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/QuadX-Hover-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/QuadX-Waypoints-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/Rocket-Landing-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this heading">#
<span class="n">term</span><span class="p">,</span> <span class="n">trunc</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span> <span class="kc">False</span>
<span class="n">obs</span><span class="p">,</span> <span class="n">_</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="k">while</span> <span class="ow">not</span> <span class="p">(</span><span class="n">term</span> <span class="ow">or</span> <span class="n">trunc</span><span class="p">):</span>
<span class="n">env</span><span class="o">.</span><span class="n">step</span><span class="p">(</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="n">obs</span><span class="p">,</span> <span class="n">rew</span><span class="p">,</span> <span class="n">term</span><span class="p">,</span> <span class="n">trunc</span><span class="p">,</span> <span class="n">_</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">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>
</pre></div>
</div>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this heading">#
<span class="n">term</span><span class="p">,</span> <span class="n">trunc</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span> <span class="kc">False</span>
<span class="n">obs</span><span class="p">,</span> <span class="n">_</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="k">while</span> <span class="ow">not</span> <span class="p">(</span><span class="n">term</span> <span class="ow">or</span> <span class="n">trunc</span><span class="p">):</span>
<span class="n">env</span><span class="o">.</span><span class="n">step</span><span class="p">(</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="n">obs</span><span class="p">,</span> <span class="n">rew</span><span class="p">,</span> <span class="n">term</span><span class="p">,</span> <span class="n">trunc</span><span class="p">,</span> <span class="n">_</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">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>
</pre></div>
</div>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this heading">#
<span class="n">term</span><span class="p">,</span> <span class="n">trunc</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span> <span class="kc">False</span>
<span class="n">obs</span><span class="p">,</span> <span class="n">_</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="k">while</span> <span class="ow">not</span> <span class="p">(</span><span class="n">term</span> <span class="ow">or</span> <span class="n">trunc</span><span class="p">):</span>
<span class="n">env</span><span class="o">.</span><span class="n">step</span><span class="p">(</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="n">obs</span><span class="p">,</span> <span class="n">rew</span><span class="p">,</span> <span class="n">term</span><span class="p">,</span> <span class="n">trunc</span><span class="p">,</span> <span class="n">_</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">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>
</pre></div>
</div>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this heading">#
<span class="n">term</span><span class="p">,</span> <span class="n">trunc</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span> <span class="kc">False</span>
<span class="n">obs</span><span class="p">,</span> <span class="n">_</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="k">while</span> <span class="ow">not</span> <span class="p">(</span><span class="n">term</span> <span class="ow">or</span> <span class="n">trunc</span><span class="p">):</span>
<span class="n">env</span><span class="o">.</span><span class="n">step</span><span class="p">(</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="n">obs</span><span class="p">,</span> <span class="n">rew</span><span class="p">,</span> <span class="n">term</span><span class="p">,</span> <span class="n">trunc</span><span class="p">,</span> <span class="n">_</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">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>
</pre></div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/Fixedwing-Waypoints-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/QuadX-Hover-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/QuadX-Waypoints-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env = gymnasium.make("PyFlyt/Rocket-Landing-v0", render_mode="human")
term, trunc = False, False
obs, _ = env.reset()
while not (term or trunc):
env.step(env.action_space.sample())
obs, rew, term, trunc, _ = env.step(env.action_space.sample())
```

## Environment Options
Expand Down

0 comments on commit abd3315

Please sign in to comment.