摘要 |
Disclosed herein is a method and system for measuring a tilt angle including detecting acceleration of a vehicle through an acceleration sensor; detecting a vehicle speed through a vehicle speed sensor; detecting a position of a shift lever through a shift lever position detector; detecting, by a controller, a rotation direction of a wheel; detecting, by the controller, a rotation direction of a motor; receiving, by the controller, a plurality of input signals; inverting, by the controller, a value of the vehicle speed to a negative number based on the detected position of the shift lever, the rotation direction of the wheel, and the rotation direction of the motor; calculating, by the controller, traveling acceleration based on the vehicle speed or the inverted vehicle speed; and calculating, by the controller tilt angle of the road based on the traveling acceleration and the sensor acceleration. |