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

Method wait_ready

dronekit/__init__.py:2662–2668  ·  view source on GitHub ↗

Block the calling thread until waypoints have been downloaded. This can be called after :py:func:`download()` to block the thread until the asynchronous download is complete.

(self, **kwargs)

Source from the content-addressed store, hash-verified

2660 # BIG FIXME - wait for full wpt download before allowing any of the accessors to work
2661
2662 def wait_ready(self, **kwargs):
2663 """
2664 Block the calling thread until waypoints have been downloaded.
2665
2666 This can be called after :py:func:`download()` to block the thread until the asynchronous download is complete.
2667 """
2668 return self._vehicle.wait_ready('commands', **kwargs)
2669
2670 def clear(self):
2671 '''

Callers 3

downloadMethod · 0.95
clearMethod · 0.95
addMethod · 0.95

Calls 1

wait_readyMethod · 0.45

Tested by

no test coverage detected