mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
autotest: fixed default frame type in sim_vehicle.py
This commit is contained in:
parent
aa9891fe59
commit
228cba2524
@ -235,7 +235,7 @@ class VehicleInfo(object):
|
||||
if frame.endswith("-heli"):
|
||||
ret = self.options[vehicle]["frames"]["heli"]
|
||||
if ret is None:
|
||||
progress("WARNING: no config for frame (%s)" % frame)
|
||||
print("WARNING: no config for frame (%s)" % frame)
|
||||
ret = {}
|
||||
|
||||
if "model" not in ret:
|
||||
@ -254,7 +254,7 @@ class VehicleInfo(object):
|
||||
ret["make_target"] = "sitl"
|
||||
|
||||
if "waf_target" not in ret:
|
||||
ret["waf_target"] = default_waf_target(vehicle)
|
||||
ret["waf_target"] = self.default_waf_target(vehicle)
|
||||
|
||||
if opts.build_target is not None:
|
||||
ret["make_target"] = opts.build_target
|
||||
|
Loading…
Reference in New Issue
Block a user