Sim-to-Real Application of Reinforcement Learning Agents for Autonomous, Real Vehicle Drifting
Szilárd Hunor Tóth,
Zsolt János Viharos,
Ádám Bárdos,
Zsolt Szalay
Affiliations
Szilárd Hunor Tóth
Department of Automotive Technologies, Faculty of Transportation Engineering and Vehicle Engineering, Budapest University of Technology and Economics, 6 Stoczek St., Building J, H-1111 Budapest, Hungary
Zsolt János Viharos
Intelligent Processes Research Group, Research Laboratory on Engineering & Management Intelligence, HUN-REN Institute For Computer Science and Control (SZTAKI), 13-17 Kende u., H-1111 Budapest, Hungary
Ádám Bárdos
Department of Automotive Technologies, Faculty of Transportation Engineering and Vehicle Engineering, Budapest University of Technology and Economics, 6 Stoczek St., Building J, H-1111 Budapest, Hungary
Zsolt Szalay
Department of Automotive Technologies, Faculty of Transportation Engineering and Vehicle Engineering, Budapest University of Technology and Economics, 6 Stoczek St., Building J, H-1111 Budapest, Hungary
Enhancing the safety of passengers by venturing beyond the limits of a human driver is one of the main ideas behind autonomous vehicles. While drifting is mostly witnessed in motorsports as an advanced driving technique, it could provide many possibilities for improving traffic safety by avoiding accidents in extreme traffic situations. The purpose of the research presented in this article is to provide a machine learning-based solution to autonomous drifting as a proof of concept for vehicle control at the limits of handling. To achieve this, reinforcement learning (RL) agents were trained for the task in a MATLAB/Simulink-based simulation environment, using the state-of-the-art Soft Actor–Critic (SAC) algorithm. The trained agents were tested in reality at the ZalaZONE proving ground on a series production sports car with zero-shot transfer. Based on the test results, the simulation environment was improved through domain randomization, until the agent could perform the task both in simulation and in reality on a real test car.