A method for providing a driver with a warning includes determining that a vehicle is being operated in a manner that fails to comply with a constraint imposed on motion of vehicles on a section of a road, determining that a driver of the vehicle is gazing in a non-neutral direction, based on…