SIM001

SIM001 › Real hardware › The flight computer

Test report

Checking the sticks on the serial line › Centre, full travel, half travel, arm passed

As a pilot with a TX15, I want to see that each stick reaches ArduPilot, so that I know the plane does what my hands do.

The test behind the tutorial Checking the sticks on the serial line: 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 5 seconds pass

When 5 seconds pass
Then the roll channel is 1500 us
  And the pitch channel is 1500 us

Expected behaviour: A centred stick is 1500 us.

Screenshot

2 When the TX15 roll stick is 100 % and the TX15 throttle stick is 100 % and 5 seconds pass

When the TX15 roll stick is 100 %
  And the TX15 throttle stick is 100 %
  And 5 seconds pass
Then the roll channel is at least 1990 us
  And the throttle channel is at least 1990 us

Expected behaviour: A stick at full travel is at the end of the range.

Screenshot

3 When the TX15 pitch stick is -50 % and 5 seconds pass

When the TX15 pitch stick is -50 %
  And 5 seconds pass
Then the pitch channel is at least 1245 us
  And the pitch channel is at most 1255 us

Expected behaviour: A stick at full travel is at the end of the range, A stick at half travel is half way.

Screenshot

4 When the TX15 arm switch is on and 5 seconds pass

When the TX15 arm switch is on
  And 5 seconds pass
Then the arm channel is at least 1900 us

Expected behaviour: A stick at full travel is at the end of the range, A stick at half travel is half way, The arm switch goes to its channel.

Screenshot