autotest: run copter SITL simulation at 400Hz

save a bit of CPU time
This commit is contained in:
Andrew Tridgell 2015-03-25 22:30:46 -07:00
parent c338002e0d
commit 97ee7e9fcc
1 changed files with 1 additions and 1 deletions

View File

@ -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: