VIPRA Documentation
|
| Main Page | How To Use | Provided Modules | VIPRA Behaviors | Module Parameters | Developing Modules |
There are several modules included with VIPRA.
Model:
Goals:
Map:
Pedestrian Set:
Input:
Output:
This Model
module implements the Calm Model
meanMass
: Mean mass for populationmassStdDev
: Standard Deviation for massmeanReactionTime
: Mean reaction time for populationreactionTimeStdDev
: Standard Deviation for reaction timemeanMaxSpeed
: Mean max speed for populationmaxSpeedStdDev
: Standard deviation for max speedmeanShoulderLen
: Mean shoulder length for populationshoulderLenStdDev
: Standard deviation for shoulder length In module_params.json:
This Goals
module uses the A* algorithm to find paths for each pedestrian.
endGoalType
: Name of object in map each pedestrian tries to reach (e.g. "exit")goalRange
: Range, in meters, before a goal is counted as "reached" (e.g. 0.05)gridSize
: Length of each side, in meters, of each grid in the pathing graph (e.g. 0.1)closestObstacle
: Closest a grid center can be to an obstacle before being considered non-traversableIn module_params.json:
This Map
module uses the Quad Tree to hold the map geometry.
minQuadSize
: Size at which quads stop being subdividedIn module_params.json:
This Pedestrian Set
module holds pedestrians in a grid of cells, allowing for more efficient lookup of nearest neighbors
gridSize
: Size of each grid cellIn module_params.json:
This Input
module loads JSON data, using nlohmann JSON.
For importing maps, it is recommended to use the DXF module. More information on how to use .dxf files in your project can be found here.
This Output
module creates a JSON file containing the positions of each pedestrian for each timestep that matches the output frequency in the simulation module parameters.
filename
: Name of the output fileIn module_params.json: