Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dronekit/dronekit-python
/ setup_sitl
Function
setup_sitl
dronekit/test/__init__.py:16–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
sitl_args += [
'-r'
, str(os.environ[
'SITL_RATE'
])]
15
16
def
setup_sitl():
17
global sitl
18
sitl = SITL()
19
sitl.download(
'copter'
,
'3.3'
)
20
sitl.launch(sitl_args, await_ready=True, restart=True)
21
22
def
teardown_sitl():
23
sitl.stop()
Callers
nothing calls this directly
Calls
2
download
Method · 0.80
launch
Method · 0.80
Tested by
no test coverage detected