Control Systems Design for Automatic Drive of a Passenger Car in Critical Scenarios