Skip to content

Commit

Permalink
SITL: vehicle_test_suite.py parameters removal from whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
YuxinPan authored Sep 10, 2024
1 parent ad8e18f commit 4edaa31
Showing 1 changed file with 38 additions and 51 deletions.
89 changes: 38 additions & 51 deletions Tools/autotest/vehicle_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -2559,64 +2559,51 @@ def test_adsb_send_threatening_adsb_message(self, here, offset_ne=None):
def get_sim_parameter_documentation_get_whitelist(self):
# common parameters
ret = set([
"SIM_ACC_FILE_RW",
"SIM_ACC_TRIM_X",
"SIM_ACC_TRIM_Y",
"SIM_ACC_TRIM_Z",
"SIM_ADSB_ALT",
"SIM_ADSB_COUNT",
"SIM_ADSB_RADIUS",
"SIM_ADSB_TX",
"SIM_ARSPD2_OFS",
"SIM_ARSPD2_RND",
"SIM_ARSPD_OFS",
"SIM_ARSPD_RND",
"SIM_BAR2_DELAY",
"SIM_BAR2_DISABLE",
"SIM_BAR2_DRIFT",
"SIM_BAR2_FREEZE",
"SIM_BAR2_WCF_BAK",
"SIM_BAR2_WCF_DN",
"SIM_BAR2_WCF_FWD",
"SIM_BAR2_WCF_LFT",
"SIM_BAR2_WCF_RGT",
"SIM_BAR2_WCF_UP",
"SIM_BAR3_DELAY",
"SIM_BAR3_DISABLE",
"SIM_BAR3_DRIFT",
"SIM_BAR3_FREEZE",
"SIM_BAR3_WCF_BAK",
"SIM_BAR3_WCF_DN",
"SIM_BAR3_WCF_FWD",
"SIM_BAR3_WCF_LFT",
"SIM_BAR3_WCF_RGT",
"SIM_BAR3_WCF_UP",
"SIM_BARO_COUNT",
"SIM_BARO_DELAY",
"SIM_BARO_DISABLE",
"SIM_BARO_FREEZE",
"SIM_BARO_WCF_BAK",
"SIM_BARO_WCF_DN",
"SIM_BARO_WCF_FWD",
"SIM_BARO_WCF_LFT",
"SIM_BARO_WCF_RGT",
"SIM_BARO_WCF_UP",
"SIM_BATT_CAP_AH",
"SIM_BAUDLIMIT_EN",
"SIM_DRIFT_SPEED",
"SIM_DRIFT_TIME",
"SIM_EFI_TYPE",
"SIM_ESC_ARM_RPM",
"SIM_FTOWESC_ENA",
"SIM_FTOWESC_POW",
"SIM_ACC_TRIM_X", # not listed in SITL.cpp
"SIM_ACC_TRIM_Y", # not listed in SITL.cpp
"SIM_ACC_TRIM_Z", # not listed in SITL.cpp
"SIM_ARSPD2_OFS", # not listed in SITL.cpp
"SIM_ARSPD2_RND", # not referenced anywhere
"SIM_ARSPD_OFS", # not referenced anywhere
"SIM_ARSPD_RND", # not listed in SITL.cpp
"SIM_BAR2_DELAY", # not referenced anywhere
"SIM_BAR2_DISABLE", # not listed in SITL.cpp
"SIM_BAR2_DRIFT", # not referenced anywhere
"SIM_BAR2_FREEZE", # not listed in SITL.cpp
"SIM_BAR2_WCF_BAK", # not referenced anywhere
"SIM_BAR2_WCF_DN", # not referenced anywhere
"SIM_BAR2_WCF_FWD", # not referenced anywhere
"SIM_BAR2_WCF_LFT", # not referenced anywhere
"SIM_BAR2_WCF_RGT", # not referenced anywhere
"SIM_BAR2_WCF_UP", # not referenced anywhere
"SIM_BAR3_DELAY", # not referenced anywhere
"SIM_BAR3_DISABLE", # not referenced anywhere
"SIM_BAR3_DRIFT", # not referenced anywhere
"SIM_BAR3_FREEZE", # not referenced anywhere
"SIM_BAR3_WCF_BAK", # not referenced anywhere
"SIM_BAR3_WCF_DN", # not referenced anywhere
"SIM_BAR3_WCF_FWD", # not referenced anywhere
"SIM_BAR3_WCF_LFT", # not referenced anywhere
"SIM_BAR3_WCF_RGT", # not referenced anywhere
"SIM_BAR3_WCF_UP", # not referenced anywhere
"SIM_BARO_DELAY", # not listed in SITL.cpp
"SIM_BARO_DISABLE", # not listed in SITL.cpp
"SIM_BARO_FREEZE", # not referenced anywhere
"SIM_BARO_WCF_BAK", # not listed in SITL.cpp
"SIM_BARO_WCF_DN", # not listed in SITL.cpp
"SIM_BARO_WCF_FWD", # not listed in SITL.cpp
"SIM_BARO_WCF_LFT", # not listed in SITL.cpp
"SIM_BARO_WCF_RGT", # not listed in SITL.cpp
"SIM_BARO_WCF_UP", # not listed in SITL.cpp
"SIM_FTOWESC_ENA", # not listed in SITL.cpp
"SIM_FTOWESC_POW", # not listed in SITL.cpp
"SIM_GND_BEHAV",
"SIM_GYR1_RND",
"SIM_GYR2_RND",
"SIM_GYR3_RND",
"SIM_GYR4_RND",
"SIM_GYR5_RND",
"SIM_GYR_FAIL_MSK",
"SIM_GYR_FILE_RW",
"SIM_IE24_ENABLE",
"SIM_IE24_ERROR",
"SIM_IE24_STATE",
Expand Down

0 comments on commit 4edaa31

Please sign in to comment.