Source code for sensor.velocity
[docs]class Velocity():
def __init__(body,axis,):
"""
adds a Velocity sensor to the world
body: The body to connect the Inclinometer to
axis: the unit vector to be used as 'forward'
"""
pass
[docs] def get_velocity():
"""returns the velocity of the sensor"""
pass