GithubHelp home page GithubHelp logo

kustomzone / chosuntruck Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bethesirius/chosuntruck

0.0 2.0 0.0 139.68 MB

Euro Truck Simulator 2 autonomous driving solution

Makefile 0.47% C++ 25.37% C 0.85% Python 73.31%

chosuntruck's Introduction

Introduction

ChosunTruck is an autonomous driving solution for Euro Truck Simulator 2. Recently, autonomous driving technology has become a big issue and we have studied the technology related to this. It is being developed in a simulator environment called Euro Truck Simulator 2 to study it with vehicles. Because this simulator provides a good test environment that is similar to the real road, we chose it.

Features

  • You can drive a vehicle without handling it yourself.
  • You can understand the principle of autonomous driving.
  • (Experimental) You can detect where other vehicles are.

How To Run It

Windows

OS: Windows 7 64bits

IDE: Visual Studio 2015

OpenCV version: 3.0

** NOTICE: Because mouse and keyboard input DOES NOT work on Windows, this is only available for lane detection. For more informations, see also #4

  • Open the visual studio project and build it.
  • Run ETS2 in windowed mode and set resolution to 1024 * 768.(It will work properly with 1920 * 1080 screen resolution and 1024 * 768 window mode ETS2.)

Linux

OS: Ubuntu 16.04 LTS

Dependencies

OpenCV version: 3.1

(Optional)Tensorflow version: 0.12.1

  • Build the source code with below command (in linux directory).
make
  • Run ETS2 in windowed mode and set resolution to 1024 * 768. (It will work properly with 1920 * 1080 screen resolution and 1024 * 768 window mode ETS2)
  • It cannot find the ETS2 window automatically, you should move the ETS2 window to right-down corner to fix this.
  • In ETS2 Options, set controls toKeyboard + Mouse Steering, left click to acclerate, and right click to brake.
  • Go to a highway and set truck's speed to 40~60km/h. (I recommend you turn on cruise mode to set the speed easily)
  • When you want to enable the car detection mode, add an option -D or --Car_Detection.
  • Run this program!
./ChosunTruck [-D|--Car_Detection]

If you have some problems to run this project, reference the demo video below. Or, open a issue to contact our team.

Demo Video

Lane Detection(Youtube link)

youtube link

Lane Detection + Vehicle Detection(Youtube link)

youtube link

Founders

Chiwan Song, [email protected]

JaeCheol Sim, [email protected]

Seongjoon Chu, [email protected]

Contributers

zappybiby

How To Contribute

Anyone who is interest in this procject is welcome! Just Fork it and Pull Requests!

License

ChosunTruck, Euro Truck Simulator 2 auto driving solution Copyright (C) 2017 chi3236, bethesirius, uoyssim

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

chosuntruck's People

Contributors

chi3236 avatar bethesirius avatar simjaecheol avatar joojis avatar zappybiby avatar

Watchers

Andrew Kidoo avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.