These instructions will provide a brief, step-by-step guide to running PX4 with the SWARM Developer system.

Environment Control

As part of the SWARM Developer Platform, we provide a number of controls for each environment. We are creating a custom library of settable, commandable components unique to each type of environment where autonomous agents may be operating.

Each set of controls is built in to specific environments. We have several generic environments that you can utilize, depending on your use case.

Supported Environments

Below are our current environments, with detailed information about which features are supported for each environment:

SWARM Home

Description
A set of 3 regular, American-style homes with full Lumen and Nanite support built-in.

Supported Environment Settings

The follow list are the options that can be set in the "Environment" section of the Simulation Settings file.

Door Control
Set "Doors" to "Open" or "Closed".

Light Control
Set "Lights" to "On" or "Off".

Furniture Randomization

Set "FurnitureRandomization" to "On" or "Off".

Example Simulation Settings File
            {
                ...,
            "Environment" {
                "Name": "SWARMHome",
                "StartingLevelName": "Home1",
                "StreamVideo": true,
                "Options": {
                    "Doors": "Open",
                    "Lights": "On",
                    "FurnitureRandomization": "On"
                }
            },
            ...
        }
        

Supported In-Game Features

Door Control
Open and close all exteror and interior doors by clicking the "o" key on the keyboard when view the simulation viewer.

Light Control
Turn On and Off all lights in an environment by clicking the "l" key on the keyboard when view the simulation viewer.

Furniture Randomization

Each time the Vehicle is reset, the furniture will be placed in "Random" allocations that are still plausible. Currently, this is controlled by the R key.


Furniture Randomization Example

Door and Light Control Example
Tags: