您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
GitHub e7aea6bd Merge pull request #10 from Unity-Technologies/fix-compile 5 年前
.github Initial commit 5 年前
.yamato Merge pull request #10 from Unity-Technologies/fix-compile 5 年前
TestProjects Merge pull request #4 from Unity-Technologies/api_cleanup 5 年前
com.unity.perception Merge pull request #10 from Unity-Technologies/fix-compile 5 年前
.editorconfig Code formatting 5 年前
.gitattributes Initial commit 5 年前
.gitignore Initial commit 5 年前
.gitmodules Initial commit 5 年前
.npmignore Initial commit 5 年前
CONTRIBUTING.md Initial commit 5 年前
CONTRIBUTING.md.meta Initial commit 5 年前
README.md Initial commit 5 年前

README.md

Perception

The Perception package contains tools for authoring and executing autonomous vehicle simulations. They are organized into two categories: Scenarios and Sensors.

Scenarios

TODO

Setup for local development

  • Clone the perception repository into an arbirary directory on disk
  • Install and use Unity 2019.3.0b7

Option 1: PerceptionHDRP/PerceptionURP

The repository includes two projects for local development in TestProjects, one set up for HDRP and the other for URP.

Option 2: Set up a project from scratch

The following instructions reference the Unity doc's page on installing a local package

  • Create a new HDRP project or open an existing one
  • Open your project's <project root>/Packages/manifest.json in a text editor
  • At the end of the file, add "registry": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
    • Note: This step will be removed once the dependency com.unity.entities-0.2.0-preview.* is published publically.
  • Back in Unity, open the Package Manager window
  • Add the High Definition RP package, version 7.1.2 or later
  • Click the + button in the upper lefthand corner of the window
  • Click the add package from disk option
  • Select to the package.json file under the com.unity.perception folder in your cloned perception repository
  • To allow the compilation and running of tests, add "testables": [ "com.unity.perception" ]
    • For an example manifest.json, see TestProjects/PerceptionTest/Packages/manifest.json
    • For more on the manifest.json schema, see the Package Manager documentation

Suggested IDE Setup

For closest standards conformity and best experience overall, JetBrains Rider or Visual Studio w/ JetBrains Resharper are suggested. For optimal experience, perform the following additional steps:

  • To allow navigating to code in all packages included in your project, in your Unity Editor, navigate to Edit -> Preferences... -> External Tools and check Generate all .csproj files.
  • To get automatic feedback and fixups on formatting and naming convention violations, set up Rider/JetBrains with our Unity standard .dotsettings file by following these instructions.
  • If you use VS Code, install the Editorconfig extension to get automatic code formatting according to our conventions.