Git Product home page Git Product logo

etsauto's Introduction

GitHub python3 pr GitHub (Pre-)Release Date docs GitHub Repo stars languages

GitHub forks GitHub release (with filter) GitHub tag (with filter) GitHub issues GitHub closed issues GitHub closed pull requests

Table of Contents

Introduction

ETSAuto 2 is an autonomous driving system for Euro Truck Simulator 2, which includes Lane Centering Control (LCC), Lane Change Assistance (ALC), and Forward Collision Warning (FCW) features. ETSAuto 2 is built in pure Python and runs on Windows system. It uses the ONNXRuntime for inference (also supports the TensorRT inference framework) and currently offers acceleration on Nvidia GPUs, with future support for AMD GPUs. In terms of perception, it achieves a response rate of less than 0.05ms and uses pure pursuit for vehicle control.

Features

Scenario Support Description
Daytime โœ“ All features supported
Nighttime โœ“ Not recommended for high-speed lane changes
Highway โœ“ No longitudinal planning; deceleration required when exiting the highway
City Roads โœ“ Intersection functionality disabled; no lane markings or curbs on both sides
Rural Roads โœ“ No lane markings or curbs on both sides
Feature Support Description
Lane Centering Control (LCC) โœ“ v < 80km/h
Lane Change Assistance (ALC) โœ“ 15km/h < v < 80km/h
Forward Collision Warning (LCW) โœ“
Adaptive Cruise Control (ACC) โœ—

Environment Setup

For environment setup, refer to BUILD.md

Considering compatibility with graphics cards, from version 2.0 onwards, ONNX Runtime will be mainly used for inference. Nvidia graphics cards are currently supported, and support for AMD graphics cards is planned. However, since there is no AMD graphics card available at the moment, developers are encouraged to attempt building on AMD graphics cards. The project still retains the interface for TensorRT inference to ensure necessary perception response rates. Due to reasons related to screen capture and vjoy control programs, the program currently supports only Windows. Developers are welcome to provide alternative solutions for these two codes on Linux systems.

Usage Instructions

  • Program Entry

    Double click ETSAuto.bat to open the program.

  • Key Instructions

    To facilitate operation, keyboard controls are used for functionalities.

    Key Function Support Description
    โ†“ Manual โœ“
    โ† Lateral โœ“
    โ†’ Navigation โœ“
    โ†‘ Assistance โœ“
    num 0 Straight โœ“ v < 80km/h
    num 1 Left Turn โœ—
    num 3 Right Turn โœ—
    num 4 Left Lane Change โœ“ 15km/h < v < 80km/h
    num 6 Right Lane Change โœ“ 15km/h < v < 80km/h
    ctrl+q Exit โœ“

Sponsorship

If you like this project and want me to continue, consider sponsoring me! Thanks for all the love and support!

  • Alipay

a6x18041cro5ffnvur8sb1c

  • Wechat

94214ceaca44085494ab079ce946ad4

Plans

  • LCC
  • ALC
  • LCW
  • ACC
  • AEB
  • SAS
  • TLR

References

pyvjoy

Bev-Lanedet

ets2-sdk-plugin

etsauto's People

Contributors

yutong-gannis avatar eiyooooo avatar ywjno 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.