GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jcjgraf/sensorCar: Software for a self-driving car, based on neural networks. An Unity simulation is provided to run the car.

BranchesTags
Open more actions menu

Latest commit

 

History

132 Commits
132 Commits

Folders and files

NameName
Last commit message
Last commit date
examples
examples
 
 
images
images
 
 
simulation
simulation
 
 
LICENSE.md
LICENSE.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
activationFunction.py
activationFunction.py
 
 
dataSet.py
dataSet.py
 
 
experimentNetTF.py
experimentNetTF.py
 
 
fullyConnected.py
fullyConnected.py
 
 
main.py
main.py
 
 
mainCli.py
mainCli.py
 
 
network.py
network.py
 
 
networkTF.py
networkTF.py
 
 
requirements.txt
requirements.txt
 
 
sensorCarController.py
sensorCarController.py
 
 

Repository files navigation

SensorCar

Software for a self-driving car, based on artificial neural networks (ANNs). An Unity simulation is provided to run the car.

Gif of the SensorCar in action

Multiple sensors provide distance information to the ANN. In the evaluation process, these data is used to get the steering angle.

A module is provided for generating an infinitely long, randomly generated road. The SensorCar is capable of driving through this road map without any collisions.

❗ This project started as a proof of principle and contains two different networks. One is programmed without the use of any high-level libraries whereas the other is build with Tensorflow.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

This project requires Unity3D and Python +3.6.

Installing

  • Download a copy of this project.

  • Install the required Python packages with pip:

pip install -r requirements.txt

Run the Car on the ANN

  • Load TF Network and start socket server
python3 mainCli.py --drive ./examples/21-100-50-20-1-0_001-21SensorsTF/model
  • Open the scene infinityRoad21 from ./simulation/sensorCar/Assets/Scenes/ with Unity and start it by pressing on the play button.

Generate a Training Dataset

  • Load the scene infinityRoad{3|21} from ./simulation/sensorCar/Assets/Scenes/ with Unity.

  • Start the scene and manoeuvre the car with the ← , ↑ , → , ↓ keys.

  • Press r to start the recording and then f to stop it again.

Train The Neural Network

  • Train a TF network
python3 mainCli.py --train ./examples/dataset21Sensors/ds21.txt \
--shape 21 100 50 20 1 --learningrate 0.001 --epochs 1000 --saveinterval 10

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Software for a self-driving car, based on neural networks. An Unity simulation is provided to run the car.

Topics

aiannartificial-intelligencecardatasetmachine-learningneural-networknumpyself-driving-cartensorflowunityunity-simulationunity3d

Resources

Readme
MIT license
Activity

Stars

19 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.