Developing simulations and connecting SITL

Understand the roles of the autopilot, simulator, GCS and API before connecting them into an experimental system.

Last updated:

A developer checks a simulated drone scene and telemetry data on two screens
A concept image generated with AI; not a screenshot or a confirmation of supported equipment models

Divide the system so you know where a problem lies

SITL runs the flight control software on a computer. The simulator generates motion and sensor readings for the control system to respond to, while a GCS such as QGroundControl or MAVProxy is used for configuration, status monitoring and mission management. Having a 3D scene is therefore not the same as having complete training scenarios or an assessment system.

ArduPilot Gazebo plugin does not require ROS, although many systems also use ROS, while the PX4 Gazebo pathway has its own steps. Choose one set and get it working before connecting other tools.

Diagram: the GCS sends a target → SITL computes the commands → the simulator returns sensor readings

Minimum test sequence

  1. Choose ArduPilot or PX4, then pin the OS and simulator versions according to the manual.
  2. Get the simulator's basic scene working on its own first, and check the images and simulation time.
  3. Run the project's SITL example and check that there is a heartbeat and status data in the GCS.
  4. Use a basic simulated mission, check the state transitions and keep the logs.
  5. Only then add the remote controller, camera or API one part at a time, and compare with the baseline results.

At every step, record the commands from the manual for the version used and the results actually seen. If there is no telemetry, do not start changing controller values at random; check the processes, endpoints and plugin versions first.

Network and data boundaries

Keep computer-based experiments separate from real aircraft. Check the connection endpoints of the GCS and every program. Use local connections as far as the examples support, and do not expose control ports to the internet to solve connection problems.

If you add scenes or models from external sources, check the asset rights and plugin installation separately from the simulator's licence. ProjectAirSim states that external systems and assets have their own terms.

Reproducible deliverables

Keep a list of versions, launch commands, missions, logs and errors encountered. Another peer should be able to open the baseline case with the same steps before research begins. This chapter does not yet have SITL run results from this website development cycle.

Build on this with Computer Vision communication systems and computer-based mission simulation

Bibliography and original sources

Documents checked 23 September 2026 (B.E. 2569)

Activity linking MCU knowledge with simulation

Choose a DroneSim activity, a log-reading activity or a firmware SITL results study with objectives, steps, a worksheet and a summary of events from the stored ArduCopter 4.7.1 results, separating what each tool can confirm

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). Developing simulations and connecting SITL. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/knowledge/drone-simulation/sitl/

Original from Drone-Hub: https://drone.pk-research.work/knowledge/drone-simulation/sitl/ · © PK-Research