浏览代码

Update Phase3.md

/main
mohsen.k 4 年前
当前提交
bc6a299d
共有 1 个文件被更改,包括 32 次插入4 次删除
  1. 36
      Tutorial/Phase3.md

36
Tutorial/Phase3.md


# Perception Tutorial
## Phase 3: Cloud
### Step 1: Setup Unity Account, USim, and Cloud Project
In this phase of the tutorial, we will learn how to run our Scene on _**Unity Simulation (USim)**_. This will allow us to generate a much larger dataset than what is typically plausible on a workstation computer.
In order to use Unity Simulation you need to first create a Unity account or login with your existing one. Once logged in, you will also need to sign-up for Unity Simulation.

* **Action**: Click _**Create**_ to create a new cloud project and connect your local project to it.
### Step 2: Run Project on USim
* **Action**: From the top menu bar, select _**Edit -> Project Settings**_.
* **Action**: In the window that opens, navigate to the _**Player**_ tab, find the _**Scripting Backend**_ settings and change it to _**Mono**_:
* **Action**: From the top menu bar, open _**Edit -> Project Settings**_.
* **Action**: In the window that opens, navigate to the _**Player**_ tab, find the _**Scripting Backend**_ setting (under _**Other Settings**_), and change it to _**Mono**_:
sudo spctl --master-disable
* **Action**: Close _**Project Settings**_. From the top menu bar, open _**Window -> Run in USim**_.
<p align="center">
<img src="Images/runinusim.png" width="600"/>
</p>
need to put in credit card
* **Action**: Choose `TutorialScene` (which is the Scene we have been working in) as your _**Main Scene**_ and the `SimulationScenario` object as your _**Scenario**_.
Here, you can also specify a name for the run, the number of iterations the Scenario will produce, and the number of concurrent _**Instances**_ for the run.
* **Action**: Name your run `First Run`, set the number of iterations to `20,000`, and instances to `1`.
* **Action**: Click _**Build and Run**_.
Your project will now be built and then uploaded to USim. Depending on the upload speed of your internet connection, this might take anywhere from a few seconds to a couple of minutes.
### Step 3: Keep Track of USim Runs Using USim-CLI
To keep track of the progress of your USim run, you will need to use USim's command-line interface (USim CLI).
* **Action**: Download `unity_simulation_bundle.zip` from [here](https://github.com/Unity-Technologies/Unity-Simulation-Docs/releases/download/v20200908/unity_simulation_bundle.zip)
* **Action**: Unzip the file and navigate to the `USimCLI/<operating system>` folder.
To run the
正在加载...
取消
保存