Browse Source

autotest: run copter SITL simulation at 400Hz

save a bit of CPU time
master
Andrew Tridgell 10 years ago
parent
commit
97ee7e9fcc
  1. 2
      Tools/autotest/arducopter.py

2
Tools/autotest/arducopter.py

@ -880,7 +880,7 @@ def fly_ArduCopter(viewerip=None, map=False): @@ -880,7 +880,7 @@ def fly_ArduCopter(viewerip=None, map=False):
if TARGET != 'sitl':
util.build_SIL('ArduCopter', target=TARGET)
sim_cmd = util.reltopdir('Tools/autotest/pysim/sim_multicopter.py') + ' --frame=%s --nowait --nowait --rate=800 --home=%f,%f,%u,%u' % (
sim_cmd = util.reltopdir('Tools/autotest/pysim/sim_multicopter.py') + ' --frame=%s --nowait --nowait --rate=400 --home=%f,%f,%u,%u' % (
FRAME, HOME.lat, HOME.lng, HOME.alt, HOME.heading)
sim_cmd += ' --wind=6,45,.3'
if viewerip:

Loading…
Cancel
Save