Tools: Rename MicroStrain to MicroStrain5

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-08-27 16:42:56 -06:00 committed by Andrew Tridgell
parent d8eee6f41a
commit 74750ca952
3 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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'),