tjohn327 / self-driving-car-sim

A self-driving car simulator built with Unity

Home Page:http://udacity.com/self-driving-car

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Driving Simulator for SCION multipath demo

This is a modified version of Udacity Self driving car sim. Original README.

Car Simulator_demo

Control and telemetry

The sim listens on 0.0.0.0:11000 for control message over UDP and sends the front camera image back.

Control message example:

{
   "steering_angle":0.9,
   "throttle":0.8,
   "reset": false, #resets the sim if true
   "frame_time": 10 #time taken to receive last frame in milliseconds
}

steering_angle and throttle values ∈ [-1,1]

Remote Control

The python script controller.py demonstrates a basic remote control using keyboard inputs or xbox controller. 'CONTROL_SEND_IP' should be changed to the IP address of the car simulator. To use this script, first run the simulator, then run this script and use W, A, S & D keys to control the car in the simulator.

Modifying the sim

To modify the sim please use Unity 2019.4 and Visual Studio 2017.

Binaries

Binaries of the simulator can be found here

About

A self-driving car simulator built with Unity

http://udacity.com/self-driving-car

License:MIT License


Languages

Language:C# 76.4%Language:ShaderLab 16.7%Language:GLSL 4.8%Language:HLSL 1.1%Language:Python 1.0%Language:JavaScript 0.1%