SIM001 › The ground station › Ground control station › Planning a mission
Keeping a mission for the field › Save, change, load not supported yet
As a pilot, I want to save a mission and load it again later, so that I can fly the same circuit next time.
The test behind the tutorial Keeping a mission for the field: 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 33 more things yet.
Start
From the setup of Planning a mission.
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 PLAN 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
- 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 PLAN · 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 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
2 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
3 When the operator saves the plan to a file
When the operator saves the plan to a file Then the mission file is up to date
Expected behaviour: Saving keeps the plan in a file.
- the mission file is up to date · Saving keeps the plan in a file
4 When the operator clicks the map
When the operator clicks the map Then the mission file is out of date
Expected behaviour: A click adds a waypoint, Changing the plan after saving.
- the plan has 3 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
- the mission file is out of date · Changing the plan after saving
5 When the operator loads the plan from the file
When the operator loads the plan from the file Then the mission file is up to date
Expected behaviour: Loading brings the saved plan back.
- the mission file is up to date · Loading brings the saved plan back