Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.22 KB

mock_link.md

File metadata and controls

32 lines (19 loc) · 1.22 KB

Mock Link

Mock Link allows you to create and stop links to multiple simulated (mock) vehicles in QGroundControl debug builds.

The simulation does not support flight, but does allow easy testing of:

  • Mission upload/download
  • Viewing and changing parameters
  • Testing most setup pages
  • Multiple vehicle UIs

It is particularly useful for unit testing error cases for mission upload/download.

Using Mock Link

To use Mock Link:

  1. Create a debug build by building the source.

  2. Access Mock Link by selecting the Application Settings icon in the top toolbar and then Mock Link in the sidebar:

  3. The buttons in the panel can be clicked to create a vehicle link of the associated type.

    • Each time you click a button a new connection will be created.
    • When there is more than one connection the multiple-vehicle UI will appear.

  4. Click the Stop one Mock Link to stop the currently active vehicle.

Using Mock Link is then more or less the same as using any other vehicle, except that the simulation does not allow flight.