็ฎไฝไธญๆ | English
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.
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) | โ |
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.
-
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 โ
- LCC
- ALC
- LCW
- ACC
- AEB
- SAS
- TLR