Hello ,
I am using the following code to try to get the drone position before takeoff. It is not working. It does work if I use it after the drone has taken off and moved. Is there a way to get the drone position before moving?
thanks John
# Get drone position
#drone_location = drone.get_state(GpsLocationChanged)
print("##################################################")
print("DRONE Location = ",drone_location)
print("Drone Latitude = ",drone_location["latitude"])
print("Drone Longitude = ",drone_location["longitude"])
print("Drone Altitude = ",drone_location["altitude"])
print("##################################################")