SIM001

SIM001 › The ground station › Ground control station

Test report

From plan to flight › Plan, upload, arm, AUTO, throw not supported yet

As a pilot at the field, I want to plan a mission, upload it and throw the plane into it, so that it flies the mission on its own.

The test behind the tutorial From plan to flight: every step it takes, what it checks and what it saw.

The driver can't arrange the autopilot mode, arrange the game clock, arrange the home position and 38 more things yet.

Start

From the setup of Ground control 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 plane is on the ground
Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.
  • the game clock is off · arranged
  • the link is connected · arranged
  • the vehicle is disarmed · arranged
  • the autopilot mode is MANUAL · arranged
  • the map tool is pan · arranged
  • the plan has 0 items · arranged
  • the plan altitude is 40 m · arranged
  • the last plan item is none · arranged
  • the takeoff is not planned · arranged
  • the vehicle mission is empty · arranged
  • the home position is set · arranged
  • the waypoints are unchecked · arranged
  • the mission file is missing · arranged
  • the measured distance is hidden · arranged
  • the vehicle's current item is 0 · arranged
  • the plane is on the ground · arranged

1 When the operator toggles the planning tool

When the operator toggles the planning tool
Then the map tool is PLAN

Expected behaviour: PLAN picks the planning tool.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

2 When the operator adds a takeoff

When the operator adds a takeoff

Expected behaviour: +TKOF puts a takeoff first, On an empty plan the takeoff is also the last item.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

3 When the operator clicks the map

When the operator clicks the map

Expected behaviour: A click adds a waypoint.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

4 When the operator clicks the map

When the operator clicks the map

Expected behaviour: A click adds a waypoint.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

5 When the operator adds a return home

When the operator adds a return home
Then the plan has 4 items

Expected behaviour: +RTL ends the plan with a return.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

6 When the operator uploads the plan

When the operator uploads the plan
Then the vehicle mission is up to date

Expected behaviour: UPLOAD writes the plan to the vehicle.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

7 When the operator arms the vehicle

When the operator arms the vehicle
Then the vehicle is armed

Expected behaviour: Arming sets home.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

8 When the operator switches to AUTO

When the operator switches to AUTO
Then the autopilot mode is AUTO

Expected behaviour: AUTO flies the vehicle's mission.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.

9 When the pilot throws the plane in the sim

When the pilot throws the plane in the sim
Then the plane is flying the mission

Expected behaviour: In AUTO, a throw starts the mission.

Screenshot to come: the tests can't run this step yet.
Screenshot to come: the tests can't run this step yet.