Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed broken link issues in roller ball tutorial doc. #6024

Merged
merged 1 commit into from
Nov 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 6 additions & 25 deletions docs/Learning-Environment-Create-New.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ importing the ML-Agents assets into it:

Your Unity **Project** window should contain the following assets:

<p align="left">
<img src="images/roller-ball-projects.png"
alt="Project window"
width="250" border="10" />
</p>
![Unity Project Window](images/roller-ball-projects.png){: style="width:250px"}

## Create the Environment

Expand All @@ -64,11 +60,7 @@ to seek, and a Sphere to represent the Agent itself.
1. Set Transform to Position = `(0, 0, 0)`, Rotation = `(0, 0, 0)`, Scale =
`(1, 1, 1)`.

<p align="left">
<img src="images/roller-ball-floor.png"
alt="The Floor in the Inspector window"
width="400" border="10" />
</p>
![Floor Inspector window](images/roller-ball-floor.png){: style="width:400px"}

### Add the Target Cube

Expand All @@ -78,11 +70,7 @@ to seek, and a Sphere to represent the Agent itself.
1. Set Transform to Position = `(3, 0.5, 3)`, Rotation = `(0, 0, 0)`, Scale =
`(1, 1, 1)`.

<p align="left">
<img src="images/roller-ball-target.png"
alt="The Target Cube in the Inspector window"
width="400" border="10" />
</p>
![Target Cube Inspector window](images/roller-ball-target.png){: style="width:400px"}

### Add the Agent Sphere

Expand All @@ -108,11 +96,7 @@ To do so:
1. Drag the Floor, Target, and RollerAgent GameObjects in the Hierarchy into the
TrainingArea GameObject.

<p align="left">
<img src="images/roller-ball-hierarchy.png"
alt="The Hierarchy window"
width="250" border="10" />
</p>
![Hierarchy window](images/roller-ball-hierarchy.png){: style="width:250px"}

## Implement an Agent

Expand Down Expand Up @@ -360,11 +344,8 @@ with our Agent script.
- `Actions` > `Continuous Actions` = 2

In the inspector, the `RollerAgent` should look like this now:
<p align="left">
<img src="images/roller-ball-agent.png"
alt="The Agent GameObject in the Inspector window"
width="400" border="5" />
</p>

![Agent GameObject Inspector window](images/roller-ball-agent.png){: style="width:400px"}

Now you are ready to test the environment before training.

Expand Down
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ theme:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/brightness-7
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
Expand All @@ -56,3 +56,4 @@ extra_css:
markdown_extensions:
- markdown_include.include:
base_path: docs
- attr_list
Loading