mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-01 03:04:04 -04:00
Tools: sim_vehicle.py: increase number of mavproxy connection retries
some platforms are slow enough that the ArduPilot process takes too long to start for the default retries to work. And Valgrind makes it worse
This commit is contained in:
parent
4e872be75a
commit
5d053d6722
@ -871,6 +871,11 @@ def start_mavproxy(opts, stuff):
|
|||||||
else:
|
else:
|
||||||
cmd.append("mavproxy.py")
|
cmd.append("mavproxy.py")
|
||||||
|
|
||||||
|
if opts.valgrind:
|
||||||
|
cmd.extend(['--retries', '10'])
|
||||||
|
else:
|
||||||
|
cmd.extend(['--retries', '5'])
|
||||||
|
|
||||||
if opts.mcast:
|
if opts.mcast:
|
||||||
cmd.extend(["--master", "mcast:"])
|
cmd.extend(["--master", "mcast:"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user