VIPRA Documentation
|
| Main Page | How To Use | Provided Modules | VIPRA Behaviors | Module Parameters | Developing Modules |
Requirements
Creating a Simulation
Running the Simulation
- Flags
- Simulation Parameters
- Simulation Config
- Parameter Sweeps
- Maps
VIPRA Behaviors
Visualization
The following are requirement for running the VIPRA simulation.
Additionally, for distributed simulations:
The simulation and any modules are compiled by running:
To allow for MPI:
The simulation is run with
-map=<path>
: path to the map file (required)-peds=<path>
: path to the pedestrian initial positions-params=<path>
: path to the parameter file, default = ./module_params.json-modules=<path>
: path to the sim config file, default = ./sim_config.json-count=<number>
: number of simulations to run, default = 1 (more on this in Parameter Sweeps)-install=<path>
: path to module install directory, default = ./install-log=<debug|info|warn|error>
: minimum level to log, default = infoParameters are loaded into the simulation from a JSON file, each module implementation has its own set of parameters.
An example set of parameters is provided in the examples/module_params.json
file.
A simulation config file is a JSON file that tells VIPRA which modules to use.
The types of modules are discussed in: Modules
An example simulation config is provided in the examples/sim_config.json
file.
Parameters can be randomized, in parallel or serial, to get a wide range of possible outcomes.
See more on the Parameter Sweeps Page
A map defineds the geometry and special areas used by the simulator. These maps include obstacles, spawn positions, objectives for agents to use as goals, and special areas that change agent behavior.
See more on the Maps Tutorial page
A detailed explanation of behaviors can be found in the Behaviors Page
The list of behaviors to use in a simulation run are provided in the simulation parameters JSON file.
Example:
A very simple visualizer is provided for TrajectoriesJson
output.