SIM001 › Beyond the cockpit › The flight computer
Reading the flight display › Armed, banked and climbing passed
As a pilot with a TX15, I want the screen of the TX15 to show the flight as a flight display, so that I see the mode, the attitude, the speeds, the battery and what ArduPilot says.
The test behind the tutorial Reading the flight display: every step it takes, what it checks and what it saw.
Start
From the setup of The flight computer, and:
Given the TX15 screen bank is -20 degrees And the TX15 screen airspeed is 18 m/s And the TX15 screen climb is 2 m/s And the TX15 screen message is PreArm: Throttle (RC3) is not neutral And the TX15 screen mode is QHOVER And the TX15 screen arming is armed
Everything it starts with
Given the TX15 is connected And the TX15 roll stick is 0 % And the TX15 pitch stick is 0 % And the TX15 throttle stick is 0 % And the TX15 arm switch is off And the corrupted frames are 0 % And the TX15 screen battery is 12 V And the TX15 screen bank is -20 degrees And the TX15 screen airspeed is 18 m/s And the TX15 screen climb is 2 m/s And the TX15 screen satellites is 12 And the TX15 screen message is PreArm: Throttle (RC3) is not neutral And the ground station telemetry is silent And the ground station map distance is 0 m And the TX15 screen mode is QHOVER And the TX15 screen arming is armed
- Every arranged state read back as arranged (16)
1 When 5 seconds pass
When 5 seconds pass Then the TX15 screen mode is QHOVER And the TX15 screen arming is armed And the TX15 screen bank is at most -19 degrees And the TX15 screen airspeed is at least 17.5 m/s And the TX15 screen message is PreArm: Throttle (RC3) is not neutral
Expected behaviour: A centred stick is 1500 us, The TX15 shows when the plane is armed, The screen shows the airspeed, The screen shows what ArduPilot says.
- the roll channel is 1500 us · A centred stick is 1500 us
- the pitch channel is 1500 us · A centred stick is 1500 us
- the TX15 screen arming is armed · The TX15 shows when the plane is armed
- the TX15 screen airspeed is between 17.5 and 18.5 m/s · The screen shows the airspeed
- the TX15 screen message is PreArm: Throttle (RC3) is not neutral · The screen shows what ArduPilot says
- the TX15 screen mode is QHOVER · the story
- the TX15 screen bank is at most -19 degrees · the story
- the TX15 screen airspeed is at least 17.5 m/s · the story