self-driving-car-sim

A self-driving car simulator built with Unity

  • 所有者: udacity/self-driving-car-sim
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Welcome to Udacity's Self-Driving Car Simulator

This simulator was built for Udacity's Self-Driving Car Nanodegree, to teach students how to train cars how to navigate road courses using deep learning. See more project details here.

All the assets in this repository require Unity. Please follow the instructions below for the full setup.

Available Game Builds (Precompiled builds of the simulator)

Term 1

Instructions: Download the zip file, extract it and run the executable file.

Version 2, 2/07/17

Linux
Mac
Windows

Version 1, 12/09/16

Linux
Mac
Windows 32
Windows 64

Term 2

Please see the Releases page for the latest version of the Term 2 simulator (v1.45, 6/14/17).

Source code can be obtained therein or also on the term2_collection branch.

Term 3

Please see the Releases page for the latest version of the Term 3 simulator (v1.2, 7/11/17).

Source code can be obtained therein or also on the term3_collection branch.

System Integration / Capstone

Please see the CarND-Capstone Releases page for the latest version of the Capstone simulator (v1.3, 12/7/17).

Source code can be obtained therein.

Unity Simulator User Instructions

  1. Clone the repository to your local directory, please make sure to use Git LFS to properly pull over large texture and model assets.

  2. Install the free game making engine Unity, if you dont already have it. Unity is necessary to load all the assets.

  3. Load Unity, Pick load exiting project and choice the self-driving-car-sim folder.

  4. Load up scenes by going to Project tab in the bottom left, and navigating to the folder Assets/1_SelfDrivingCar/Scenes. To load up one of the scenes, for example the Lake Track, double click the file LakeTrackTraining.unity. Once the scene is loaded up you can fly around it in the scene viewing window by holding mouse right click to turn, and mouse scroll to zoom.

  5. Play a scene. Jump into game mode anytime by simply clicking the top play button arrow right above the viewing window.

  6. View Scripts. Scripts are what make all the different mechanics of the simulator work and they are located in two different directories, the first is Assets/1_SelfDrivingCar/Scripts which mostly relate to the UI and socket connections. The second directory for scripts is Assets/Standard Assets/Vehicle/Car/Scripts and they control all the different interactions with the car.

  7. Building a new track. You can easily build a new track by using the prebuilt road prefabs located in Assets/RoadKit/Prefabs click and drag the road prefab pieces onto the editor, you can snap road pieces together easily by using vertex snapping by holding down "v" and dragging a road piece close to another piece.

Self-Driving Car Simulator

主要指标

概览
名称与所有者udacity/self-driving-car-sim
主编程语言C#
编程语言C# (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2017-02-08 03:31:26
推送于2022-02-24 12:49:52
最后一次提交2022-02-24 18:19:52
发布数11
最新版本名称v1.45 (发布于 )
第一版名称T3_v0.5-beta (发布于 )
用户参与
星数3.9k
关注者数226
派生数1.5k
提交数26
已启用问题?
问题数123
打开的问题数53
拉请求数3
打开的拉请求数3
关闭的拉请求数10
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?