Source code for sensor.gps
[docs]class GPS():
def __init__(body,time,latitude,longitude):
"""
adds a gps to the world
body: The body to connect the gps to
time: The initial UTC time total (hours*60*60 + mins*60 + seconds)
latitude: The initial latitude position of the sensor (radians, ie: rad(degrees,minutes,seconds))
longitude: The initial longitude position of the sensor (radians, ie: rad(degrees,minutes,seconds))
"""
pass
[docs] def get_string():
"""returns the gps string of the contact"""
pass