Browse Source

Tools: sim_vehicle.py: add option --rgbled for simulated RGBLed

master
Peter Barker 6 years ago committed by Andrew Tridgell
parent
commit
316db6e4b6
  1. 10
      Tools/autotest/sim_vehicle.py

10
Tools/autotest/sim_vehicle.py

@ -294,6 +294,11 @@ def do_build_waf(opts, frame_options): @@ -294,6 +294,11 @@ def do_build_waf(opts, frame_options):
if opts.OSD:
cmd_configure.append("--enable-sfml")
cmd_configure.append("--sitl-osd")
if opts.rgbled:
cmd_configure.append("--enable-sfml")
cmd_configure.append("--sitl-rgbled")
if opts.tonealarm:
cmd_configure.append("--enable-sfml-audio")
@ -906,6 +911,11 @@ group_sim.add_option("", "--tonealarm", @@ -906,6 +911,11 @@ group_sim.add_option("", "--tonealarm",
dest='tonealarm',
default=False,
help="Enable SITL ToneAlarm")
group_sim.add_option("", "--rgbled",
action='store_true',
dest='rgbled',
default=False,
help="Enable SITL RGBLed")
group_sim.add_option("", "--add-param-file",
type='string',
default=None,

Loading…
Cancel
Save