Mission Planner Simulation

The Simulation tab provides a SITL (Software in the Loop) simulation capability. Many typical frame types for each Vehicle type have been created. This allows you to see the expected behavior for vehicles in missions, or with a joystick attached, actually be able to fly/drive the vehicle simulation as if with RC. This allows you to see potential effects of parameter changes on vehicle behavior or explore mission generation, without risking your vehicle first.

Demonstration Video

Setup and Use

The Simulation uses the same SITL models as those used in the Linux sim_vehicle.py script (see SITL Simulator (Software in the Loop), and uses the current master development branch of the code for firmware.

  • Open Mission Planner’s Simulation tab.

  • Choose your vehicle type and frame (the “Model” drop down box). First select the “Model” frame type, then click the vehicle it corresponds to. If no “Model” (frame) is selected, then a normal plane will be used no matter what vehicle is clicked. If a frame is selected and a vehicle clicked that does NOT correspond to it, undefined results may occur.

  • Default parameters for that vehicle/frame will be loaded and the simulation started. Mission Planner can be used to control the vehicle, setup missions, alter parameters, etc.

  • In addition to the normal vehicle parameters, you can also now see and change the “SIM_x” (simulation) parameters via the CONFIG/Full Parameter Tree page. See SITL Parameters for a list of these.


In addition, using the Extra command line box on the SIMULATION tab, you can start the SITL at any given location using the command --home={location} where location can be either gps coordinates,altitude ASL and vehicle initial heading, or a named location in the Autotest locations file



Although not shown in the above video, current version of Mission Plannner will ask if you want to simulate using the Development(master aka “latest”) or Stable version of the vehicle firmware when you click the vehicle to download the model and parameters and begin the simulation.

In addition, if you are code developer, you can run SITL using your custom code branch using Mission Planner, either with or without, the physics and visualizations of RealFlight. See the “Using Your Code Branch with Mission Planner SITL and RealFlight” section of Using SITL with RealFlight