Patent attributes
A system includes a processor and a memory storing instructions which when executed by the processor configure the processor to receive data from a plurality of sensors in a vehicle, the sensors including a Global Navigation Satellite System receiver, accelerometers, gyroscopes, and magnetometers; and to determine a location of the vehicle and a direction of motion of the vehicle based on the data and a history of locations of the vehicle in prior N seconds, where N is a number greater than 0. The instructions configure the processor to determine a permitted driving direction for the vehicle based on the location of the vehicle and a map database; and to detect whether the vehicle is moving in a wrong direction based on the permitted driving direction and the direction of motion of the vehicle.