aleju/self-driving-truck
A self-driving truck agent trained via reinforcement learning to steer, accelerate and brake in Euro Truck Simulator 2 using only keyboard inputs.

The project trains a deep reinforcement learning agent that controls a truck in a simulation game using only W, A, S, D inputs. It combines a CNN-based embedder pretrained via semi-supervised learning with a Dueling Network architecture and LSTM-based future state prediction, following Deep Successor RL principles. The model learns to predict value and advantage separately and anticipates future states across multiple timesteps to accelerate learning.
Frequently asked
- What is aleju/self-driving-truck?
- A self-driving truck agent trained via reinforcement learning to steer, accelerate and brake in Euro Truck Simulator 2 using only keyboard inputs.
- Is self-driving-truck open source?
- Yes — aleju/self-driving-truck is open source, released under the MIT license.
- What language is self-driving-truck written in?
- aleju/self-driving-truck is primarily written in Python.
- How popular is self-driving-truck?
- aleju/self-driving-truck has 411 stars on GitHub.
- Where can I find self-driving-truck?
- aleju/self-driving-truck is on GitHub at https://github.com/aleju/self-driving-truck.