SIM001

SIM001 › Real hardware › The flight computer

Test report

Reading the flight display › From PreArm to RTL 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.

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 0 degrees
  And the TX15 screen airspeed is 0 m/s
  And the TX15 screen climb is 0 m/s
  And the TX15 screen satellites is 12
  And the TX15 screen message is none
  And the ground station telemetry is silent
  And the ground station map distance is 0 m
  And the TX15 screen mode is MANUAL
  And the TX15 screen arming is disarmed
Screenshot
  • Every arranged state read back as arranged (16)

1 When the TX15 screen message is PreArm: Throttle (RC3) is not neutral and 5 seconds pass

When the TX15 screen message is PreArm: Throttle (RC3) is not neutral
  And 5 seconds pass
Then the TX15 screen message is PreArm: Throttle (RC3) is not neutral

Expected behaviour: A centred stick is 1500 us, The screen shows what ArduPilot says.

Screenshot

2 When the TX15 screen arming is armed and 5 seconds pass

When the TX15 screen arming is armed
  And 5 seconds pass
Then the TX15 screen arming is armed

Expected behaviour: A centred stick is 1500 us, The TX15 shows when the plane is armed, The screen shows what ArduPilot says.

Screenshot

3 When the TX15 screen satellites is 9 and 5 seconds pass

When the TX15 screen satellites is 9
  And 5 seconds pass
Then the TX15 screen satellites is 9

Expected behaviour: A centred stick is 1500 us, The TX15 shows when the plane is armed, The screen counts the satellites, The screen shows what ArduPilot says.

Screenshot

4 When the TX15 screen airspeed is 18 m/s and 5 seconds pass

When the TX15 screen airspeed is 18 m/s
  And 5 seconds pass
Then the TX15 screen airspeed is 18 m/s

Expected behaviour: A centred stick is 1500 us, The TX15 shows when the plane is armed, The screen shows the airspeed, The screen counts the satellites, The screen shows what ArduPilot says.

Screenshot

5 When the TX15 screen bank is 30 degrees and 5 seconds pass

When the TX15 screen bank is 30 degrees
  And 5 seconds pass
Then the TX15 screen bank is 30 degrees

Expected behaviour: A centred stick is 1500 us, The TX15 shows when the plane is armed, The TX15 shows the bank, The screen shows the airspeed, The screen counts the satellites, The screen shows what ArduPilot says.

Screenshot

6 When the TX15 screen climb is -3 m/s and the TX15 screen mode is RTL and 5 seconds pass

When the TX15 screen climb is -3 m/s
  And the TX15 screen mode is RTL
  And 5 seconds pass
Then the TX15 screen mode is RTL
  And the TX15 screen climb is -3 m/s

Expected behaviour: A centred stick is 1500 us, The TX15 shows the flight mode, The TX15 shows when the plane is armed, The TX15 shows the bank, The screen shows the airspeed, The screen shows the climb with its sign, The screen counts the satellites, The screen shows what ArduPilot says.

Screenshot

7 When the TX15 screen battery is 11.1 V and 5 seconds pass

When the TX15 screen battery is 11.1 V
  And 5 seconds pass
Then the TX15 screen battery is 11.1 V

Expected behaviour: A centred stick is 1500 us, The TX15 shows the flight mode, The TX15 shows when the plane is armed, The TX15 shows the battery, The TX15 shows the bank, The screen shows the airspeed, The screen shows the climb with its sign, The screen counts the satellites, The screen shows what ArduPilot says.

Screenshot