Inclination sensors are used to provide the tilt angle of an object. A popular type of industrial inclinometer, which is also known as a clinometer, uses an internal pendulum which rotates a rotary sensing device such as absolute rotary encoder.

For additional info about inclinometer sensors, please see the following link:
Angle and Inclination Sensors