Configuring and Running a SITL Simulation

Procedure 5 lists the steps to configure and run a SITL simulation. Only SITL-specific configurations are listed here; you can make any other settings you might want, as well.

Procedure 5: Running a SITL Simulation

  1. For each SITL gateway node, make sure the attributes are configured as listed in Table 1 Critical sitl_virtual_gateway_to_real_world Node Attributes.

  2. For each workstation or router connected to a SITL gateway, make sure the attributes are configured as described in Table 2 and Table 3.

  3. If the SITL simulation connects to the real hardware via a wireless network, make sure the wireless adapter on the SITL computer is configured as described in Connecting to a Wireless Network.

  4. If you are using MSVC 6.0 to compile programs:

    4.1 Choose File > Declare External Files…

    4.2 Select the checkbox next to "sitl_msvc_support".

    4.3 Click OK.

  5. Open the Configure/Run DES dialog box and make the following settings:

    5.1 Expand the tree to Execution > Advanced > Kernel Preferences and set "Real-time execution ratio" to 1.

    5.2 Expand the tree to Inputs > Global Attributes, then expand the Simulation Efficiency group in the Attribute table and (if necessary) change the ARP Sim Efficiency attribute value to "Disabled".

    5.3 Expand the tree to Execution > Advanced > Application and select the "Ignore 'repositories' preference value" checkbox.

    5.4 Expand the tree to Execution > Advanced > Compilation and select the "Force model recompilation" checkbox. (This is necessary only for the first time you run a SITL simulation, to make sure the SITL include files are used.)

  6. Run the simulation.