This repository contains the public release of the MATLAB implementation of the reinforcement learning for vehicle stabilisation. The corresponding paper can be found in Self-adaptive Torque Vectoring Controller Using Reinforcement Learning
Clone the repository git clone https://github.com/shayantaherian/Vehicle-Stabilisation-Using-Reinforcement-Learning/.git
Install MATLAB 2019
or later release
Install Add-On Reinforcement Learning Toolbox
and Deep Learning Toolbox
Open RLTunningTV.slx
Simulink file
To train the algorithm, run the train(agent,env,trainingOptions)
m-file
To test the trained agent, comment the Train the agent
section and uncomment Inference
section and run it again