Source code for sensor.gyroscope
[docs]class Gyroscope():
def __init__(body,direction):
"""
adds a gyroscope to the world
body: The body to connect the gyroscope to
direction: a unit vector describing the initialdirection of the gyroscope
"""
pass
[docs] def get_angle():
"""returns the angle of the sensor"""
pass