From d6386cc1fdfb8b549fcf438bbbc0a282b16245ed Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 8 Sep 2024 00:16:37 +1000 Subject: [PATCH] autotest: add test we don't die with bad RC channel for roll --- Tools/autotest/arduplane.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 8506a3e478..ea6f0a1e38 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -6151,6 +6151,10 @@ class AutoTestPlane(vehicle_test_suite.TestSuite): self.fly_home_land_and_disarm(timeout=400) + def BadRollChannelDefined(self): + '''ensure we don't die with a bad Roll channel defined''' + self.set_parameter("RCMAP_ROLL", 17) + def tests(self): '''return list of all tests''' ret = super(AutoTestPlane, self).tests() @@ -6284,6 +6288,7 @@ class AutoTestPlane(vehicle_test_suite.TestSuite): self.ForceArm, self.MAV_CMD_EXTERNAL_WIND_ESTIMATE, self.GliderPullup, + self.BadRollChannelDefined, ]) return ret