In this tutorial, you will learn how to carry out a Software-In-The-Loop (SITL) drone simulation within SIMNET using ArduPilot or PX4.
In order to carry out SITL simulation, you will need to use a 3rd party Ground Control Station software, such as Mission Planner, or QGround Control. Download and install these on your device of choice. Note that these can run on any internet-connected device, and don't need to be installed on the same computer where SIMNET is running.
If you wish to carry out fully autonomous flights, you will not need a controller. However, if you want to combine autonomous and manual flight, you will need to configure your controller with SIMNET in order to fly your aircraft manually. Please see our Controller Setup Tutorial for more information.
Load Your Aircraft: Click on 'Aircraft->Load...' in the toolbar, and load an aircraft that is set up for SITL simulation. In SIMNET, any aircraft that says 'ArduPilot' or 'PX4' in its name (for example, the 'T55 Quadcopter ArduPilot') is set up for SITL simulation.
Load Your Flight Location: Click on 'Location->Load...' and select your flight location of choice. If you want to create a custom flight location, please follow our Custom Flight Locations Tutorial.
Select Your Layout: You may wish to use only one simulation view or combine multiple at a time. For example, when flying an aircraft with a camera, you may choose to have the pilot's point of view on the left, and the camera point of view on the right. To open a new simulation pane, click on 'New Pane->Simulation' on the toolbar, then you can drag the pane to the desired location by dragging the 'Simulation' label on top of the toolbar. Use the 'View' button to select the desired view on each simulation pane. Alternatively, you may load a preset layout using the 'Layouts' button on the toolbar, such as the 'Simulate (Pilot and Camera Views)' layout.
Connect Your Ground Control Station: Open your ground control station software, and create a new TCP connection, using the IP and Port provided in SIMNET under the 'Ground Control Station' toolbar button. Connect the Ground Control Station to SIMNET.
Start Simulating: Use the Ground Control Station to plan and upload a mission to your aircraft, then proceed to arm your aircraft using the Ground Control Station to begin flight. You may press the space bar or click on 'Simulation->Reset' to reset the simulation at any time.
Below are some videos demonstrating this process for specific Ground Control Station software.
SITL Simulation Using Desktop Version of QGroundControl
SITL Simulation Using Mobile Version of QGroundControl