Sequence - Test Sequence Editor
Step
step_1
% Set all data to zero AHRS1 = zeros(5,1); AHRS2 = zeros(5,1); AHRS3 = zeros(5.1); % Set all AHRS valid AHRS1_Valid = true; AHRS2_Valid = true; AHRS3_Valid = true;
Transition
1. after(1. sec)
Next Step
step_2
step_2
% Test that all outputs are set to zero uisng the tolerance verify(abs(voted_fb(1))<Tol. 'Zero output condition failed for Parameterl'); verify(abs(voted_fb(2))<Tol. 'Zero output condition failed for Parameter2'); verify(abs(voted_fb(3))<Tol, 'Zero output condition failed for Parameter3'); verify(abs(voted_fb(4))<Tol, 'Zero output condition failed for Parameter4‘); verify(abs(voted_fb(5))<Tol, 'Zero output condition failed for Parameter5');
steP_3 1. after(1. sec)
% Set data to different values for each AHRS and each element AHRS1 = (1; -2; 3; 4; 0;];
AHRS2 = [-1: 2; -3;-4: -5:];
AHRS3 = (5; 4; 3; -2:1;);
1.
step_3
step_4
step_4 1.
% Test that each element is the mid value, based on the three inputs verify((voted_fb(1)-AHRS1(1))<Tol. 'Mid value selection failed for AHRS1 Parameterl'); verify((voted_fb(2)-AHRS2(2))<Tol, 'Mid value selection failed for AHRS2 Parameter2'); verify((voted_fb(3)-AHRS3(3))<Tol, 'Mid value selection failed for AHRS3 Parameter3'); verify((voted_fb(4)-AHRS3(4))<Tol, 'Mid value selection failed for AHRS3 Parameter4'); verify((voted_fb(5)-AHRS1(5))<Tol, 'Mid value selection failed for AHRS1 Parameter5');
step_5
step_5 i . after(1, sec)
% Set data to different vlaues at or near fuli positive rangę for each AHRS and each element AHRS1 =[180: 179; 180:178; 178;]:
AHRS2 = [179:180: 179:179; 180;];
AHRS3 = [178; 178; 178; 180; 179:];
step_6
step_6 1. true
% Test that each element is the mid value, based on the three inputs verify((voted_fb(1)-AHRS2(1))<Tol. 'Mid value selection failed for AHRS2 Parameterl’);
worifw//w/'»ta»"ł fh/OY.AUDd/OŃWTrJ ‘MiH \/oli ia cala/^łirtrt foilaH ir\r AUDQ1 DoromałopO'V
step_7