Sensor on electric vehicle axis