Methods and systems for controlling a vehicle. The system includes a location system, a memory that stores a digital map, at least one sensor, and an electronic processor. The electronic processor is designed to receive a current location of the vehicle from the localization system and to determine a future driving segment of the vehicle based on the current location of the vehicle. The electronic processor is also designed to determine at least one power restriction based on the future driving segment of the vehicle and to artificially falsify data from the at least one sensor in order to initiate a safety measure for the vehicle.
展开▼