Source code for sensor.inclinometer

[docs]class Inclinometer(): def __init__(body,axis,up,g): """ adds a Inclinometer to the world body: The body to connect the Inclinometer to axis: The axis which the angle is measured about w.r.t. the body up: The up axis w.r.t the body (x) g: The gravity axis w.r.t the world (x) """ pass
[docs] def get_angle(): """returns the angle of the sensor""" pass