MCPcopy
hub / github.com/dronekit/dronekit-python / download

Method download

dronekit/__init__.py:2651–2660  ·  view source on GitHub ↗

Download all waypoints from the vehicle. The download is asynchronous. Use :py:func:`wait_ready()` to block your thread until the download is complete.

(self)

Source from the content-addressed store, hash-verified

2649 self._vehicle = vehicle
2650
2651 def download(self):
2652 '''
2653 Download all waypoints from the vehicle.
2654 The download is asynchronous. Use :py:func:`wait_ready()` to block your thread until the download is complete.
2655 '''
2656 self.wait_ready()
2657 self._vehicle._ready_attrs.remove('commands')
2658 self._vehicle._wp_loaded = False
2659 self._vehicle._master.waypoint_request_list_send()
2660 # BIG FIXME - wait for full wpt download before allowing any of the accessors to work
2661
2662 def wait_ready(self, **kwargs):
2663 """

Callers 10

simple_gotoMethod · 0.80
target_locationMethod · 0.80
setup_sitlFunction · 0.80
test_set_homeFunction · 0.80
test_parameterFunction · 0.80
assert_commandsFunction · 0.80
vehicle_state.pyFile · 0.80
download_missionFunction · 0.80
download_missionFunction · 0.80

Calls 1

wait_readyMethod · 0.95

Tested by 3

test_set_homeFunction · 0.64
test_parameterFunction · 0.64
assert_commandsFunction · 0.64