SIM001

SIM001 › Real hardware › The flight computer

Test report

Commanding the plane from the ground station › Hear the plane, follow it, command it, lose it passed

As a pilot with a TX15, I want the ground station to see and command the plane through the TX15, so that it needs no radio of its own.

The test behind the tutorial Commanding the plane from the ground station: 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 ground station telemetry is flowing and 5 seconds pass

When the ground station telemetry is flowing
  And 5 seconds pass
Then the ground station telemetry is flowing

Expected behaviour: A centred stick is 1500 us, The ground station hears the plane through the TX15.

Screenshot

2 When the ground station map distance is 400 m and 5 seconds pass

When the ground station map distance is 400 m
  And 5 seconds pass
Then the ground station map distance is 400 m

Expected behaviour: A centred stick is 1500 us, The ground station hears the plane through the TX15, The position on the map comes from the telemetry of the line.

Screenshot

3 When the ground station command is sent and 5 seconds pass

When the ground station command is sent
  And 5 seconds pass
Then the autopilot command is received

Expected behaviour: A centred stick is 1500 us, The ground station hears the plane through the TX15, The position on the map comes from the telemetry of the line, Commands of the ground station reach ArduPilot.

Screenshot

4 When 10 seconds pass

When 10 seconds pass
Then the ground station telemetry rate is at most 4000 bytes per second

Expected behaviour: The telemetry does not use more than the line carries.

Screenshot

5 When the TX15 is not connected and 10 seconds pass

When the TX15 is not connected
  And 10 seconds pass
Then the ground station telemetry is silent

Expected behaviour: The telemetry does not use more than the line carries, Without the TX15 the ground station hears nothing.

Screenshot