Jenkins: hardware disable gyro auto cal and FFT before running tests

This commit is contained in:
Daniel Agar 2021-09-21 18:42:16 -04:00
parent 87db18c1a0
commit cf5da66e9f
1 changed files with 3 additions and 0 deletions

View File

@ -899,6 +899,9 @@ void resetParameters() {
void runTests() {
resetParameters()
sh './Tools/HIL/nsh_param_set.py --device `find /dev/serial -name *usb-*` --name "IMU_GYRO_CAL_EN" --value "0" || true' // disable during testing
sh './Tools/HIL/nsh_param_set.py --device `find /dev/serial -name *usb-*` --name "IMU_GYRO_FFT_EN" --value "0" || true' // disable during testing
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "param save"'
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "reboot" || true' // reboot to apply