Browse Source

autotest: disable flightgear output

burning CPU for no good reason
gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
5d811bf57e
  1. 3
      Tools/autotest/pysim/util.py

3
Tools/autotest/pysim/util.py

@ -311,6 +311,7 @@ def start_SITL(binary, @@ -311,6 +311,7 @@ def start_SITL(binary,
disable_breakpoints=False,
customisations=[],
lldb=False,
enable_fgview_output=False,
supplementary=False):
if model is None and not supplementary:
@ -407,6 +408,8 @@ def start_SITL(binary, @@ -407,6 +408,8 @@ def start_SITL(binary,
cmd.extend(['--unhide-groups'])
# somewhere for MAVProxy to connect to:
cmd.append('--uartC=tcp:2')
if not enable_fgview_output:
cmd.append("--disable-fgview");
cmd.extend(customisations)

Loading…
Cancel
Save