Source code for sensor.compass

[docs]class Compass(): def __init__(body,north): """ adds a compass to the world body: The body to connect the compass to north: a unit vector describing north """ pass
[docs] def get_angle(): """returns the angle from north in radiens in the x-y plane""" pass