A vehicle including an electrically powered machine, a parking gear
mechanically connected to the electrically powered machine, a parking
lock mechanism that locks the parking gear, a sensor that detects a rotor
position of the electrically powered machine, and a controller that reads
the rotor position when a parking range is selected and judges, on the
basis of a change in the rotor position, whether a failure has occurred
in the parking lock mechanism.