SIM001 › Ground control › Ground control station › Planning a mission
Surveying a field › Draw a grid and upload it passed
As a pilot mapping a field, I want the planner to lay out the survey lines for me, so that the photos cover the whole field.
The test behind the tutorial Surveying a field: every step it takes, what it checks and what it saw.
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 draws a survey grid
When the operator draws a survey grid Then the plan has at least 4 items
Expected behaviour: A survey grid fills the area with waypoints.
- the plan has at least 4 items · A survey grid fills the area with waypoints
- the last plan item is WAYPOINT · A survey grid fills the area with waypoints
2 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.
- 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