From ffdf520a0190bda992c1fc3d5063f86185ceb2b2 Mon Sep 17 00:00:00 2001 From: Rajat Singhal Date: Tue, 21 May 2019 08:51:42 +1000 Subject: [PATCH] autotest: enable airsim SITL backend --- Tools/autotest/pysim/vehicleinfo.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/pysim/vehicleinfo.py b/Tools/autotest/pysim/vehicleinfo.py index a777f13f44..21c786eb2f 100644 --- a/Tools/autotest/pysim/vehicleinfo.py +++ b/Tools/autotest/pysim/vehicleinfo.py @@ -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