SIM001

SIM001 › Learn to fly › Pylon race and tag from the station

Test report

Racing the computer pilots from the station › Wait for GO, then go passed

As a pilot with a TX15, I want the computer pilots to start the race as I do, so that the race is fair.

The test behind the tutorial Racing the computer pilots from the station: every step it takes, what it checks and what it saw.

Start

From the setup of Pylon race and tag from the station.

Everything it starts with
Given the game clock is off
  And the link is connected
  And the vehicle is disarmed
  And the autopilot mode is MANUAL
  And the map tool is pan
  And the plan has 0 items
  And the plan altitude is 40 m
  And the last plan item is none
  And the takeoff is not planned
  And the vehicle mission is empty
  And the home position is set
  And the waypoints are unchecked
  And the mission file is missing
  And the measured distance is hidden
  And the vehicle's current item is 0
  And the throttle stick is low
  And the arm switch is off
  And the mode switch is QHOVER
  And the radio line is serial
  And the airframe is VTOL
  And the TX15 screen arming is disarmed
  And the plane is on the ground
Screenshot
  • Every arranged state read back as arranged (22)

1 When the pilot starts a race

When the pilot starts a race
Then the game clock is counting down
  And the opponents are on the ground

Expected behaviour: A race starts with every plane on the ground.

Screenshot

2 When the arm switch is on

When the arm switch is on
Then the vehicle is disarmed

Expected behaviour: Nobody arms before GO.

Screenshot

3 When the countdown ends

When the countdown ends
Then the vehicle is armed
  And the opponents are flying

Expected behaviour: At GO the arm switch arms your plane, The computer pilots take off after GO.

Screenshot