From a71793efcf26c8866a1a0d2773017a45a54693c4 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Tue, 22 Jun 2021 13:56:01 +0930 Subject: [PATCH] Tools: Autotest update guided bitbask to include acceleration --- Tools/autotest/arducopter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 8d4415c6ab..b187d02635 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -3693,8 +3693,8 @@ class AutoTestCopter(AutoTest): self.progress("Received local target: %s" % str(m)) # Check the last received message - if not (m.type_mask == 0xFFC7 or m.type_mask == 0x0FC7): - raise NotAchievedException("Did not receive proper mask: expected=65479 or 4039, got=%u" % m.type_mask) + if not (m.type_mask == 0xFE07 or m.type_mask == 0x0E07): + raise NotAchievedException("Did not receive proper mask: expected=65031 or 3591, got=%u" % m.type_mask) if vx - m.vx > 0.1: raise NotAchievedException("Did not receive proper target velocity vx: wanted=%f got=%f" % (vx, m.vx))