SIM001 › Ground control › Ground control station › Planning a mission
Reaching «A new waypoint needs a new height check» passed
Generated. No story reaches A new waypoint needs a new height check, so this test takes the shortest route there from the setup of Planning a mission.
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
- Every arranged state read back as arranged (16)
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 checks the heights against the terrain
When the operator checks the heights against the terrain
Expected behaviour: A height check raises waypoints above the terrain.
- the waypoints are clear of the terrain · A height check raises waypoints above the terrain
3 When the operator clicks the map
When the operator clicks the map
Expected behaviour: A click adds a waypoint, A new waypoint needs a new height check.
- 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
- the waypoints are unchecked · A new waypoint needs a new height check