Patent attributes
A highly automated driving function for controlling a motor vehicle includes a plurality of function components. A method for controlling the motor vehicle includes steps of executing the driving function using a first function component, comparing the behavior of the first function component to a specified behavior, ascertaining that the behavior of the first function component deviates from the specified behavior, ascertaining a first accident risk if the driving function continues to be executed with the aid of the first function component, ascertaining a second accident risk if the execution of the driving function continues with the aid of a second function component, and executing the driving function with the aid of the particular function component whose allocated accident risk is the lowest.