SIM001

SIM001 › The ground station › Ground control station › Planning a mission

Writing to and reading from the vehicle

UPLOAD replaces the mission on the vehicle with the plan. The button shows the number of items that it sends. DOWNLOAD reads the mission from the vehicle, so that you can see what it flies. EDIT copies the mission from the vehicle into the plan, so that you can change it.

UPLOAD writes the plan to the vehicle

After the upload, the map goes back to panning. Thus an accidental click does not change the plan.

If the plan has at least 1 item, press UPLOAD. The solid line of the mission on the vehicle is the same as the dashed plan. The map is back to panning.

If the plan has at least 1 item, press UPLOAD. The solid line of the mission on the vehicle is the same as the dashed plan. The map is back to panning.

See it in Planning a hand-launched circuit, Surveying a field, From plan to flight.

How this is tested verified
Given the plan has at least 1 item
When the operator uploads the plan
Then the vehicle mission is up to date
  And the map tool is pan
Follows
the section's setup
Leads to
A mission that ends with a landing lands
Tested by
Planning a hand-launched circuit › Takeoff, three waypoints, home passed, Surveying a field › Draw a grid and upload it not supported yet, From plan to flight › Plan, upload, arm, AUTO, throw not supported yet, Reaching «Changing a command makes the vehicle's copy out of date» not supported yet, Reaching «Changing the plan makes the vehicle's copy out of date» passed, 2 more

UPLOAD does not send an empty plan

If the plan has 0 items, press UPLOAD. The solid line of the mission on the vehicle does not change.

If the plan has 0 items, press UPLOAD. The solid line of the mission on the vehicle does not change.
How this is tested verified
Given the plan has 0 items
When the operator uploads the plan
Then the vehicle mission stays the same
Follows
the section's setup
Tested by
Reaching «UPLOAD does not send an empty plan» passed

Changing the plan makes the vehicle's copy out of date

If the vehicle mission is up to date and the map tool is PLAN, click the map. The dashed plan and the solid line of the mission on the vehicle are different.

If the vehicle mission is up to date and the map tool is PLAN, click the map. The dashed plan and the solid line of the mission on the vehicle are different.
How this is tested verified
Given the vehicle mission is up to date
  And the map tool is PLAN
When the operator clicks the map
Then the vehicle mission is out of date
Follows
PLAN picks the planning tool
Tested by
Reaching «Changing the plan makes the vehicle's copy out of date» passed

DOWNLOAD only reads

Press DOWNLOAD. The solid line of the mission on the vehicle does not change. The dashed plan and the count on UPLOAD do not change.

Press DOWNLOAD. The solid line of the mission on the vehicle does not change. The dashed plan and the count on UPLOAD do not change.
How this is tested verified
When the operator downloads the vehicle's mission
Then the vehicle mission stays the same
  And the plan stays the same
Follows
the section's setup
Tested by
Reaching «DOWNLOAD only reads» passed

EDIT brings the vehicle's mission back into the plan

If the vehicle mission is out of date, press EDIT. The solid line of the mission on the vehicle is the same as the dashed plan. The PLAN button lights up.

Screenshot to come: the tests cannot do this step yet.
Screenshot to come: the tests cannot do this step yet.
How this is tested not supported yet
Given the vehicle mission is out of date
When the operator edits the vehicle's mission
Then the vehicle mission is up to date
  And the map tool is PLAN
Follows
Changing a command makes the vehicle's copy out of date
Leads to
A mission that ends with a landing lands
Tested by
Reaching «EDIT brings the vehicle's mission back into the plan» not supported yet