SIM001 › Ground control › Ground control station
Reaching «Flying a mission» passed
Generated. The tests in Flying a mission start there directly, so this test takes the way in, from the setup it follows, and checks that it gets there.
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
- Every arranged state read back as arranged (16)
1 When the operator toggles the planning tool
When the operator toggles the planning tool
Expected behaviour: PLAN picks the planning tool.
- the map tool is PLAN · PLAN picks the planning tool
- the last plan item is none · An empty plan has no last item
2 When the operator clicks the map
When the operator clicks the map
Expected behaviour: A click adds a waypoint.
- the plan has 1 item · A click adds a waypoint
- the last plan item is WAYPOINT · A click adds a waypoint
- the newest waypoint is at the plan altitude · A click adds a waypoint
3 When the operator clicks the map
When the operator clicks the map
Expected behaviour: A click adds a waypoint.
- the plan has 2 items · A click adds a waypoint
- the last plan item is WAYPOINT · A click adds a waypoint
- the newest waypoint is at the plan altitude · A click adds a waypoint
4 When the operator adds a takeoff
When the operator adds a takeoff
Expected behaviour: +TKOF puts a takeoff first.
- the plan has 3 items · +TKOF puts a takeoff first
- the takeoff is planned · +TKOF puts a takeoff first
5 When the operator uploads the plan
When the operator uploads the plan
Expected behaviour: UPLOAD writes the plan to the vehicle.
- the map tool is pan · UPLOAD writes the plan to the vehicle
- the vehicle mission is up to date · UPLOAD writes the plan to the vehicle
6 When the operator arms the vehicle
When the operator arms the vehicle
Expected behaviour: Arming sets home.
- the vehicle is armed · Arming sets home
- the home position is set · Arming sets home
7 When the operator switches to AUTO
When the operator switches to AUTO
Expected behaviour: AUTO flies the vehicle's mission.
- the autopilot mode is AUTO · AUTO flies the vehicle's mission
- the vehicle's current item is 1 · AUTO flies the vehicle's mission
8 When the pilot throws the plane in the sim
When the pilot throws the plane in the sim
Expected behaviour: In AUTO, a throw starts the mission.
- the plane is flying the mission · In AUTO, a throw starts the mission
- the game clock is off · the setup of Flying a mission
- the link is connected · the setup of Flying a mission
- the vehicle is armed · the setup of Flying a mission
- the autopilot mode is AUTO · the setup of Flying a mission
- the map tool is pan · the setup of Flying a mission
- the plan has 3 items · the setup of Flying a mission
- the plan altitude is 40 m · the setup of Flying a mission
- the last plan item is WAYPOINT · the setup of Flying a mission
- the takeoff is planned · the setup of Flying a mission
- the vehicle mission is up to date · the setup of Flying a mission
- the home position is set · the setup of Flying a mission
- the waypoints are unchecked · the setup of Flying a mission
- the mission file is missing · the setup of Flying a mission
- the measured distance is hidden · the setup of Flying a mission
- the vehicle's current item is 1 · the setup of Flying a mission