mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Tools: Rename MicroStrain to MicroStrain5
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
d8eee6f41a
commit
74750ca952
@ -3082,9 +3082,9 @@ class AutoTestPlane(AutoTest):
|
|||||||
'''Test VectorNav EAHRS support'''
|
'''Test VectorNav EAHRS support'''
|
||||||
self.fly_external_AHRS("VectorNav", 1, "ap1.txt")
|
self.fly_external_AHRS("VectorNav", 1, "ap1.txt")
|
||||||
|
|
||||||
def MicroStrainEAHRS(self):
|
def MicroStrainEAHRS5(self):
|
||||||
'''Test MicroStrain EAHRS support'''
|
'''Test MicroStrain EAHRS series 5 support'''
|
||||||
self.fly_external_AHRS("MicroStrain", 2, "ap1.txt")
|
self.fly_external_AHRS("MicroStrain5", 2, "ap1.txt")
|
||||||
|
|
||||||
def get_accelvec(self, m):
|
def get_accelvec(self, m):
|
||||||
return Vector3(m.xacc, m.yacc, m.zacc) * 0.001 * 9.81
|
return Vector3(m.xacc, m.yacc, m.zacc) * 0.001 * 9.81
|
||||||
@ -4725,7 +4725,7 @@ class AutoTestPlane(AutoTest):
|
|||||||
self.TerrainMission,
|
self.TerrainMission,
|
||||||
self.TerrainLoiter,
|
self.TerrainLoiter,
|
||||||
self.VectorNavEAHRS,
|
self.VectorNavEAHRS,
|
||||||
self.MicroStrainEAHRS,
|
self.MicroStrainEAHRS5,
|
||||||
self.Deadreckoning,
|
self.Deadreckoning,
|
||||||
self.DeadreckoningNoAirSpeed,
|
self.DeadreckoningNoAirSpeed,
|
||||||
self.EKFlaneswitch,
|
self.EKFlaneswitch,
|
||||||
|
@ -31,7 +31,7 @@ BUILD_OPTIONS = [
|
|||||||
Feature('AHRS', 'EKF3', 'HAL_NAVEKF3_AVAILABLE', 'Enable EKF3', 1, None),
|
Feature('AHRS', 'EKF3', 'HAL_NAVEKF3_AVAILABLE', 'Enable EKF3', 1, None),
|
||||||
Feature('AHRS', 'EKF2', 'HAL_NAVEKF2_AVAILABLE', 'Enable EKF2', 0, 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', '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', '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', 'TEMPCAL', 'HAL_INS_TEMPERATURE_CAL_ENABLE', 'Enable IMU Temperature Calibration', 0, None),
|
||||||
Feature('AHRS', 'VISUALODOM', 'HAL_VISUALODOM_ENABLED', 'Enable Visual Odometry', 0, 'EKF3_EXTNAV'),
|
Feature('AHRS', 'VISUALODOM', 'HAL_VISUALODOM_ENABLED', 'Enable Visual Odometry', 0, 'EKF3_EXTNAV'),
|
||||||
|
Loading…
Reference in New Issue
Block a user