mirror of https://github.com/ArduPilot/ardupilot
autotest: run copter SITL simulation at 400Hz
save a bit of CPU time
This commit is contained in:
parent
c338002e0d
commit
97ee7e9fcc
|
@ -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…
Reference in New Issue