diff --git a/Tools/autotest/ArduPlane_Tests/MicroStrainEAHRS/ap1.txt b/Tools/autotest/ArduPlane_Tests/MicroStrainEAHRS5/ap1.txt similarity index 100% rename from Tools/autotest/ArduPlane_Tests/MicroStrainEAHRS/ap1.txt rename to Tools/autotest/ArduPlane_Tests/MicroStrainEAHRS5/ap1.txt diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 05a415b841..9cbbb858d8 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -3082,9 +3082,9 @@ class AutoTestPlane(AutoTest): '''Test VectorNav EAHRS support''' self.fly_external_AHRS("VectorNav", 1, "ap1.txt") - def MicroStrainEAHRS(self): - '''Test MicroStrain EAHRS support''' - self.fly_external_AHRS("MicroStrain", 2, "ap1.txt") + def MicroStrainEAHRS5(self): + '''Test MicroStrain EAHRS series 5 support''' + self.fly_external_AHRS("MicroStrain5", 2, "ap1.txt") def get_accelvec(self, m): return Vector3(m.xacc, m.yacc, m.zacc) * 0.001 * 9.81 @@ -4725,7 +4725,7 @@ class AutoTestPlane(AutoTest): self.TerrainMission, self.TerrainLoiter, self.VectorNavEAHRS, - self.MicroStrainEAHRS, + self.MicroStrainEAHRS5, self.Deadreckoning, self.DeadreckoningNoAirSpeed, self.EKFlaneswitch, diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index 1ab62da3d8..254f65240a 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -31,7 +31,7 @@ BUILD_OPTIONS = [ Feature('AHRS', 'EKF3', 'HAL_NAVEKF3_AVAILABLE', 'Enable EKF3', 1, None), Feature('AHRS', 'EKF2', 'HAL_NAVEKF2_AVAILABLE', 'Enable EKF2', 0, None), Feature('AHRS', 'AHRS_EXT', 'HAL_EXTERNAL_AHRS_ENABLED', 'Enable External AHRS', 0, None), - Feature('AHRS', 'AHRS_EXT_MICROSTRAIN', 'AP_EXTERNAL_AHRS_MICROSTRAIN_ENABLED', 'Enable MICROSTRAIN External AHRS', 0, "AHRS_EXT"), # noqa: E501 + Feature('AHRS', 'AHRS_EXT_MICROSTRAIN5', 'AP_EXTERNAL_AHRS_MICROSTRAIN5_ENABLED', 'Enable MICROSTRAIN 5-series External AHRS', 0, "AHRS_EXT"), # noqa: E501 Feature('AHRS', 'AHRS_EXT_VECTORNAV', 'AP_EXTERNAL_AHRS_VECTORNAV_ENABLED', 'Enable VectorNav External AHRS', 0, "AHRS_EXT"), # noqa Feature('AHRS', 'TEMPCAL', 'HAL_INS_TEMPERATURE_CAL_ENABLE', 'Enable IMU Temperature Calibration', 0, None), Feature('AHRS', 'VISUALODOM', 'HAL_VISUALODOM_ENABLED', 'Enable Visual Odometry', 0, 'EKF3_EXTNAV'),