autotest: enable airsim SITL backend

This commit is contained in:
Rajat Singhal 2019-05-21 08:51:42 +10:00 committed by Andrew Tridgell
parent 4d1f4f3386
commit ffdf520a01
1 changed files with 5 additions and 1 deletions

View File

@ -92,6 +92,10 @@ class VehicleInfo(object):
"default_params_filename": ["default_params/copter.parm",
"default_params/gazebo-iris.parm"],
},
"airsim-copter": {
"waf_target": "bin/arducopter",
"default_params_filename": "default_params/copter.parm",
},
# HELICOPTER
"heli": {
"make_target": "sitl-heli",
@ -277,7 +281,7 @@ class VehicleInfo(object):
if frame in frames:
ret = self.options[vehicle]["frames"][frame]
else:
for p in ["octa", "tri", "y6", "firefly", "heli", "gazebo", "last_letter", "jsbsim", "quadplane", "plane-elevon", "plane-vtail", "plane"]:
for p in ["octa", "tri", "y6", "firefly", "heli", "gazebo", "last_letter", "jsbsim", "quadplane", "plane-elevon", "plane-vtail", "plane", "airsim"]:
if frame.startswith(p):
ret = self.options[vehicle]["frames"][p]
break