SIM001 › Games › Games with ArduPilot
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 Games with ArduPilot.
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 USB And the airframe is VTOL And the plane is on the ground
- Every arranged state read back as arranged (21)
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.
- the opponents are on the ground · A race starts with every plane on the ground
- the game is a race · A race starts with every plane on the ground
- the game clock is counting down · A race starts with every plane on the ground
- the vehicle is disarmed · A race starts with every plane on the ground
- the last plan item is none · An empty plan has no last item
2 When the arm switch is on
When the arm switch is on Then the vehicle is disarmed
Expected behaviour: Nobody arms before GO.
- the vehicle is disarmed · Nobody arms before GO
- the last plan item is none · An empty plan has no last item
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.
- the game clock is running · At GO the arm switch arms your plane
- the vehicle is armed · At GO the arm switch arms your plane
- the opponents are flying · The computer pilots take off after GO
- the last plan item is none · An empty plan has no last item