SIM001

SIM001 › Beyond the cockpit › The flight computer

Test report

Flying with a TX15 on the serial line › Fly and watch the screen passed

As a pilot with a TX15, I want the sticks to reach the plane through the flight computer, so that I fly the way I fly the real plane.

The test behind the tutorial Fly and watch the screen: every step it takes, what it checks and what it saw.

Start

From the setup of The flight computer, and:

Given the TX15 arm switch is on
  And the TX15 screen battery is 11.1 V
  And the TX15 screen bank is 30 degrees
  And the ground station telemetry is flowing
  And the ground station map distance is 400 m
  And the TX15 screen mode is AUTO
  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 on
  And the corrupted frames are 0 %
  And the TX15 screen battery is 11.1 V
  And the TX15 screen bank is 30 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 flowing
  And the ground station map distance is 400 m
  And the TX15 screen mode is AUTO
  And the TX15 screen arming is armed
Screenshot
  • Every arranged state read back as arranged (16)

1 When 5 seconds pass

When 5 seconds pass
Then the arm channel is at least 1900 us
  And the TX15 screen mode is AUTO
  And the TX15 screen arming is armed
  And the TX15 screen battery is at least 11 V
  And the TX15 screen battery is at most 11.2 V
  And the TX15 screen bank is at least 29 degrees
  And the TX15 screen bank is at most 31 degrees
  And the ground station telemetry is flowing
  And the ground station map distance is at least 399 m
  And the ground station map distance is at most 401 m

Expected behaviour: A centred stick is 1500 us, The arm switch goes to its channel, The TX15 shows when the plane is armed, The TX15 shows the battery, The TX15 shows the bank, The ground station hears the plane through the TX15, The position on the map comes from the telemetry of the line.

Screenshot