Unverified Commit 54f6cedf authored by Juon Kawakami's avatar Juon Kawakami 🥗
Browse files

init

parent 90ebf5a7
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<scenario:scenario xmlns:scenario="urn:roborescue:map:scenario">
<scenario:refuge scenario:location="44678" scenario:bedCapacity="35" />
<scenario:refuge scenario:location="38218" scenario:bedCapacity="65" />
<scenario:civilian scenario:location="39658" />
<scenario:civilian scenario:location="39845" />
<scenario:civilian scenario:location="41128" />
<scenario:civilian scenario:location="42011" />
<scenario:civilian scenario:location="39876" />
<scenario:civilian scenario:location="40936" />
<scenario:civilian scenario:location="39970" />
<scenario:civilian scenario:location="41635" />
<scenario:civilian scenario:location="40708" />
<scenario:civilian scenario:location="41273" />
<scenario:civilian scenario:location="39246" />
<scenario:civilian scenario:location="39428" />
<scenario:civilian scenario:location="39995" />
<scenario:civilian scenario:location="41111" />
<scenario:civilian scenario:location="40240" />
<scenario:civilian scenario:location="43531" />
<scenario:civilian scenario:location="39386" />
<scenario:civilian scenario:location="42087" />
<scenario:civilian scenario:location="41325" />
<scenario:civilian scenario:location="41332" />
<scenario:civilian scenario:location="40170" />
<scenario:civilian scenario:location="41602" />
<scenario:civilian scenario:location="40227" />
<scenario:civilian scenario:location="39967" />
<scenario:civilian scenario:location="40153" />
<scenario:civilian scenario:location="39686" />
<scenario:civilian scenario:location="42000" />
<scenario:civilian scenario:location="43272" />
<scenario:civilian scenario:location="41499" />
<scenario:civilian scenario:location="40325" />
<scenario:civilian scenario:location="41837" />
<scenario:civilian scenario:location="41962" />
<scenario:civilian scenario:location="40777" />
<scenario:civilian scenario:location="39685" />
<scenario:civilian scenario:location="41694" />
<scenario:civilian scenario:location="41931" />
<scenario:civilian scenario:location="39403" />
<scenario:civilian scenario:location="39544" />
<scenario:civilian scenario:location="39486" />
<scenario:civilian scenario:location="42062" />
<scenario:civilian scenario:location="39566" />
<scenario:civilian scenario:location="39976" />
<scenario:civilian scenario:location="39702" />
<scenario:civilian scenario:location="41616" />
<scenario:civilian scenario:location="41084" />
<scenario:civilian scenario:location="41053" />
<scenario:civilian scenario:location="40751" />
<scenario:civilian scenario:location="40771" />
<scenario:civilian scenario:location="41980" />
<scenario:civilian scenario:location="41037" />
<scenario:civilian scenario:location="38609" />
<scenario:civilian scenario:location="38303" />
<scenario:civilian scenario:location="38308" />
<scenario:civilian scenario:location="38380" />
<scenario:civilian scenario:location="38631" />
<scenario:civilian scenario:location="38652" />
<scenario:civilian scenario:location="38991" />
<scenario:civilian scenario:location="38246" />
<scenario:civilian scenario:location="38348" />
<scenario:civilian scenario:location="42690" />
<scenario:civilian scenario:location="38819" />
<scenario:civilian scenario:location="38296" />
<scenario:civilian scenario:location="38893" />
<scenario:civilian scenario:location="38659" />
<scenario:civilian scenario:location="38204" />
<scenario:civilian scenario:location="38740" />
<scenario:civilian scenario:location="42395" />
<scenario:civilian scenario:location="38767" />
<scenario:civilian scenario:location="38541" />
<scenario:civilian scenario:location="38518" />
<scenario:civilian scenario:location="38679" />
<scenario:civilian scenario:location="43612" />
<scenario:civilian scenario:location="38889" />
<scenario:civilian scenario:location="38802" />
<scenario:civilian scenario:location="38683" />
<scenario:civilian scenario:location="38233" />
<scenario:civilian scenario:location="38655" />
<scenario:civilian scenario:location="38766" />
<scenario:civilian scenario:location="39065" />
<scenario:civilian scenario:location="38965" />
<scenario:civilian scenario:location="38910" />
<scenario:civilian scenario:location="38624" />
<scenario:civilian scenario:location="38212" />
<scenario:civilian scenario:location="39010" />
<scenario:civilian scenario:location="38470" />
<scenario:civilian scenario:location="42500" />
<scenario:civilian scenario:location="38890" />
<scenario:civilian scenario:location="44348" />
<scenario:civilian scenario:location="38760" />
<scenario:civilian scenario:location="38475" />
<scenario:civilian scenario:location="38636" />
<scenario:civilian scenario:location="38875" />
<scenario:civilian scenario:location="38921" />
<scenario:civilian scenario:location="38245" />
<scenario:civilian scenario:location="42436" />
<scenario:civilian scenario:location="38237" />
<scenario:civilian scenario:location="39031" />
<scenario:civilian scenario:location="38656" />
<scenario:civilian scenario:location="38529" />
<scenario:civilian scenario:location="38274" />
<scenario:firebrigade scenario:location="41674" />
<scenario:firebrigade scenario:location="42036" />
<scenario:firebrigade scenario:location="40039" />
<scenario:firebrigade scenario:location="39951" />
<scenario:firebrigade scenario:location="41306" />
<scenario:firebrigade scenario:location="41073" />
<scenario:firebrigade scenario:location="39986" />
<scenario:firebrigade scenario:location="41926" />
<scenario:firebrigade scenario:location="41868" />
<scenario:firebrigade scenario:location="41379" />
<scenario:firebrigade scenario:location="39358" />
<scenario:firebrigade scenario:location="41834" />
<scenario:firestation scenario:location="38232" />
<scenario:policeforce scenario:location="40882" />
<scenario:policeforce scenario:location="40631" />
<scenario:policeforce scenario:location="44232" />
<scenario:policeforce scenario:location="41854" />
<scenario:policeforce scenario:location="42163" />
<scenario:policeforce scenario:location="39404" />
<scenario:policeforce scenario:location="41694" />
<scenario:policeforce scenario:location="42036" />
<scenario:policeforce scenario:location="43697" />
<scenario:policeforce scenario:location="41233" />
<scenario:policeforce scenario:location="40630" />
<scenario:policeforce scenario:location="40385" />
<scenario:policeoffice scenario:location="39038" />
<scenario:ambulanceteam scenario:location="41155" />
<scenario:ambulanceteam scenario:location="40413" />
<scenario:ambulanceteam scenario:location="41810" />
<scenario:ambulanceteam scenario:location="44318" />
<scenario:ambulanceteam scenario:location="39677" />
<scenario:ambulanceteam scenario:location="39566" />
<scenario:ambulanceteam scenario:location="40495" />
<scenario:ambulanceteam scenario:location="39362" />
<scenario:ambulanceteam scenario:location="39122" />
<scenario:ambulanceteam scenario:location="41287" />
<scenario:ambulanceteam scenario:location="40069" />
<scenario:ambulanceteam scenario:location="41415" />
<scenario:ambulancecentre scenario:location="38407" />
</scenario:scenario>
\ No newline at end of file
!include common.cfg
# The probability that a buried civilian will call for help
civilian.help.probability : 0.1
# The probability that a damaged civilian will call for help
civilian.ouch.probability : 0.1
# Civilians with HP less than this threshold will not call for help
civilian.conscious.threshold : 2500
!include common.cfg
# The road clear rate in square meters per timestep per police force
clear.repair.rate: 17
# Maximum distance from a blockage in mm.
clear.repair.distance: 10000
#New Changes 2013
clear.repair.rad: 2000
!include common.cfg
# Damage distribution for wooden buildings
collapse.wood.p-destroyed: 0.15
collapse.wood.p-severe: 0.15
collapse.wood.p-moderate: 0.15
collapse.wood.p-slight: 0.15
collapse.wood.p-none: 0.4
# Damage distribution for steel buildings
collapse.steel.p-destroyed: 0.1
collapse.steel.p-severe: 0.15
collapse.steel.p-moderate: 0.2
collapse.steel.p-slight: 0.25
collapse.steel.p-none: 0.3
# Damage distribution for concrete buildings
collapse.concrete.p-destroyed: 0.3
collapse.concrete.p-severe: 0.25
collapse.concrete.p-moderate: 0.2
collapse.concrete.p-slight: 0.15
collapse.concrete.p-none: 0.1
# Amount of damage for each collapse degree class
collapse.destroyed.mean: 100
collapse.destroyed.sd: 5
collapse.severe.mean: 75
collapse.severe.sd: 5
collapse.moderate.mean: 50
collapse.moderate.sd: 5
collapse.slight.mean: 25
collapse.slight.sd: 3
# Whether to create road blockages or not
collapse.create-road-blockages: true
# Assumed height of walls per floor in m.
collapse.floor-height: 5
# Possible extent of wall collapse.
collapse.wall-extent.min: 0.6
collapse.wall-extent.max: 1
!include types.cfg
# Random seed for all components
random.seed: 1280
scenario.human.random-id: true
kernel.host: localhost
kernel.port: 27931
#!include comms/comms-01-full.cfg
!include comms/comms-02-unreliable.cfg
#!include comms/comms-03-mixed.cfg
#!include comms/comms-04-many.cfg
#!include comms/comms-05-medium.cfg
#!include comms/comms-06-none.cfg
#!include comms/very-limited.cfg
comms.channels.count: 3
comms.channels.0.type: voice
# Range of a voice message in mm
comms.channels.0.range: 30000
# Maximum size of a voice message
comms.channels.0.messages.size: 256
# Maximum number of voice messages each agent can utter each timestep
comms.channels.0.messages.max: 1
comms.channels.0.noise.input.dropout.use: yes
comms.channels.0.noise.input.dropout.p: 0.1
# Create 2 high-bandwidth channels
comms.channels.1.type: radio
comms.channels.1.bandwidth: 4000
comms.channels.2.type: radio
comms.channels.2.bandwidth: 4000
comms.channels.max.platoon: 2
comms.channels.max.centre: 2
comms.channels.count: 2
comms.channels.0.type: voice
# Range of a voice message in mm
comms.channels.0.range: 40000
# Maximum size of a voice message
comms.channels.0.messages.size: 256
# Maximum number of voice messages each agent can utter each timestep
comms.channels.0.messages.max: 1
comms.channels.0.noise.input.dropout.use: yes
comms.channels.0.noise.input.dropout.p: 0.1
# Create 2 high-bandwidth, low-reliability channels
comms.channels.1.type: radio
comms.channels.1.bandwidth: 3000
comms.channels.1.noise.input.failure.use: yes
comms.channels.1.noise.input.failure.p: 0.2
comms.channels.1.noise.output.dropout.use: yes
comms.channels.1.noise.output.dropout.p: 0.2
comms.channels.2.type: radio
comms.channels.2.bandwidth: 3000
comms.channels.2.noise.input.failure.use: yes
comms.channels.2.noise.input.failure.p: 0.2
comms.channels.2.noise.output.dropout.use: yes
comms.channels.2.noise.output.dropout.p: 0.2
comms.channels.max.platoon: 2
comms.channels.max.centre: 2
\ No newline at end of file
comms.channels.count: 6
comms.channels.0.type: voice
# Range of a voice message in mm
comms.channels.0.range: 30000
# Maximum size of a voice message
comms.channels.0.messages.size: 256
# Maximum number of voice messages each agent can utter each timestep
comms.channels.0.messages.max: 1
comms.channels.0.noise.input.dropout.use: yes
comms.channels.0.noise.input.dropout.p: 0.1
# Create a single high-bandwidth, low-reliability channel
comms.channels.1.type: radio
comms.channels.1.bandwidth: 2000
comms.channels.1.noise.input.failure.use: yes
comms.channels.1.noise.input.failure.p: 0.1
comms.channels.1.noise.output.failure.use: yes
comms.channels.1.noise.output.failure.p: 0.05
# Create four low-bandwidth, high-reliability channels
comms.channels.2.type: radio
comms.channels.2.bandwidth: 256
comms.channels.2.noise.output.dropout.use: yes
comms.channels.2.noise.output.dropout.p: 0.01
comms.channels.3.type: radio
comms.channels.3.bandwidth: 256
comms.channels.3.noise.output.dropout.use: yes
comms.channels.3.noise.output.dropout.p: 0.02
comms.channels.4.type: radio
comms.channels.4.bandwidth: 256
comms.channels.4.noise.output.dropout.use: yes
comms.channels.4.noise.output.dropout.p: 0.01
comms.channels.5.type: radio
comms.channels.5.bandwidth: 256
comms.channels.max.platoon: 1
comms.channels.max.centre: 2
\ No newline at end of file
comms.channels.count: 6
comms.channels.0.type: voice
# Range of a voice message in mm
comms.channels.0.range: 50000
# Maximum size of a voice message
comms.channels.0.messages.size: 512
# Maximum number of voice messages each agent can utter each timestep
comms.channels.0.messages.max: 1
comms.channels.0.noise.input.dropout.use: yes
comms.channels.0.noise.input.dropout.p: 0.1
# Create 10 low-bandwidth, high-reliability channels
comms.channels.1.type: radio
comms.channels.1.bandwidth: 256
comms.channels.1.noise.input.failure.use: yes
comms.channels.1.noise.input.failure.p: 0.01
comms.channels.1.noise.output.dropout.use: yes
comms.channels.1.noise.output.dropout.p: 0.01
comms.channels.2.type: radio
comms.channels.2.bandwidth: 256
comms.channels.2.noise.input.failure.use: yes
comms.channels.2.noise.input.failure.p: 0.01
comms.channels.2.noise.output.dropout.use: yes
comms.channels.2.noise.output.dropout.p: 0.01
comms.channels.3.type: radio
comms.channels.3.bandwidth: 256
comms.channels.3.noise.input.failure.use: yes
comms.channels.3.noise.input.failure.p: 0.01
comms.channels.3.noise.output.dropout.use: yes
comms.channels.3.noise.output.dropout.p: 0.01
comms.channels.4.type: radio
comms.channels.4.bandwidth: 256
comms.channels.4.noise.input.failure.use: yes
comms.channels.4.noise.input.failure.p: 0.01
comms.channels.4.noise.output.dropout.use: yes
comms.channels.4.noise.output.dropout.p: 0.01
comms.channels.5.type: radio
comms.channels.5.bandwidth: 256
comms.channels.5.noise.input.failure.use: yes
comms.channels.5.noise.input.failure.p: 0.01
comms.channels.5.noise.output.dropout.use: yes
comms.channels.5.noise.output.dropout.p: 0.01
comms.channels.max.platoon: 2
comms.channels.max.centre: 3
comms.channels.count: 4
comms.channels.0.type: voice
# Range of a voice message in mm
comms.channels.0.range: 30000
# Maximum size of a voice message
comms.channels.0.messages.size: 512
# Maximum number of voice messages each agent can utter each timestep
comms.channels.0.messages.max: 1
comms.channels.0.noise.input.dropout.p: 0.1
comms.channels.0.noise.input.dropout.use: yes
# Create 3 medium-bandwidth, medium-reliability channels
comms.channels.1.type: radio
comms.channels.1.bandwidth: 1024
comms.channels.1.noise.input.failure.use: yes
comms.channels.1.noise.input.failure.p: 0.1
comms.channels.1.noise.output.dropout.use: yes
comms.channels.1.noise.output.dropout.p: 0.05
comms.channels.2.type: radio
comms.channels.2.bandwidth: 1024
comms.channels.2.noise.input.failure.use: yes
comms.channels.2.noise.input.failure.p: 0.1
comms.channels.2.noise.output.dropout.use: yes
comms.channels.2.noise.output.dropout.p: 0.05
comms.channels.3.type: radio
comms.channels.3.bandwidth: 1024
comms.channels.3.noise.input.failure.use: yes
comms.channels.3.noise.input.failure.p: 0.1
comms.channels.3.noise.output.dropout.use: yes
comms.channels.3.noise.output.dropout.p: 0.05
comms.channels.max.platoon: 1
comms.channels.max.centre: 2
comms.channels.count: 1
comms.channels.0.type: voice
# Range of a voice message in mm
comms.channels.0.range: 30000
# Maximum size of a voice message
comms.channels.0.messages.size: 256
# Maximum number of voice messages each agent can utter each timestep
comms.channels.0.messages.max: 1
comms.channels.0.noise.output.dropout.use: yes
comms.channels.0.noise.output.dropout.p: 0.05
# No other channels
comms.channels.max.platoon: 0
comms.channels.max.centre: 0
\ No newline at end of file
comms.channels.count: 2
comms.channels.0.type: voice
# Range of a voice message in mm
comms.channels.0.range: 30000
# Maximum size of a voice message
comms.channels.0.messages.size: 256
# Maximum number of voice messages each agent can utter each timestep
comms.channels.0.messages.max: 1
comms.channels.0.noise.output.dropout.use: yes
comms.channels.0.noise.output.dropout.p: 0.05
# One very low bandwidth channel
comms.channels.1.type: radio
comms.channels.1.bandwidth: 64
comms.channels.1.noise.input.failure.use: yes
comms.channels.1.noise.input.failure.p: 0.25
comms.channels.1.noise.output.dropout.use: yes
comms.channels.1.noise.output.dropout.p: 0.12
# No other channels
comms.channels.max.platoon: 1
comms.channels.max.centre: 1
generator.output: ../maps/gml/generated/map.gml
generator.manhattan.grid.width: 10
generator.manhattan.grid.height: 10
generator.manhattan.grid.size: 100
generator.manhattan.road.width: 7
generator.manhattan.building.width.min: 5
generator.manhattan.building.height.min: 5
generator.manhattan.building.separation.min: 1
generator.manhattan.building.separation.max: 5
generator.manhattan.building.split.min-size: 50
generator.manhattan.building.split.max-size: 1000
generator.manhattan.building.split.chance: 0.9
\ No newline at end of file
# The map directory to read
gis.map.dir : ../maps/2016/NY1/map
# Optional: The map file to read. Defaults to map.gml
gis.map.file : map.gml
# Optional: The scenario file to read. Defaults to scenario.xml
gis.map.scenario : scenario.xml
gis.map.floor-placement.random=true
gis.map.floor-placement.random.floor-rate.1=50
gis.map.floor-placement.random.floor-rate.2=10
gis.map.floor-placement.random.floor-rate.3=4
gis.map.building-code-placement.random = true
gis.map.building-code-placement.random.code-rate.0=75
gis.map.building-code-placement.random.code-rate.1=20
gis.map.building-code-placement.random.code-rate.2=5
!include common.cfg
# The lambda value of the Poisson distribution used to choose how many fires to ignite per timestep
ignition.random.lambda: 0.000001
ignition.gas_station.explosion.range:40000
!include common.cfg
!include gis.cfg
!include comms.cfg
!include perception.cfg
!include score.cfg
# Also include configs for simulators and agents
!include collapse.cfg
!include clear.cfg
!include misc.cfg
!include resq-fire.cfg
!include traffic3.cfg
!include ignition.cfg
!include civilian.cfg
!include sample-agents.cfg
!include viewer.cfg
# Name of the kernel log file
kernel.logname: ../logs/rescue.log
# Number of timesteps to run
kernel.timesteps: 240
# The simulation termination conditions
kernel.termination: kernel.TimestepTerminationCondition
#kernel.termination: kernel.TimestepTerminationCondition rescuecore2.standard.kernel.CiviliansDeadOrRescuedTerminationCondition
# The amount of time (ms) agents have to send commands each timestep
kernel.agents.think-time: 1000
# Number of timesteps that agents commands are ignored
kernel.agents.ignoreuntil: 3
# List of command collectors to use
kernel.commandcollectors: kernel.TimedCommandCollector
#kernel.commandcollectors: kernel.TimedCommandCollector rescuecore2.standard.kernel.StandardCommandCollector
# List of command filters to use
kernel.commandfilters +: kernel.WrongTimeCommandFilter
kernel.commandfilters +: kernel.FrozenAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.DeadAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.BuriedAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.SingleCommandFilter
# The agent registrar
kernel.agents.registrar: rescuecore2.standard.kernel.StandardAgentRegistrar
# The amount of time agents have to start up
kernel.startup.connect-time: 300000 # 5 minute startup time
# kernel.startup.connect-time: 10000 # 10 second startup time
# Automatic choice of GIS
kernel.gis.auto: gis2.GMLWorldModelCreator
# Automatic choice of perception
kernel.perception.auto: rescuecore2.standard.kernel.LineOfSightPerception
# Automatic choice of communication model
kernel.communication.auto: rescuecore2.standard.kernel.comms.ChannelCommunicationModel
# Automatically start simulators/viewers/agents
kernel.simulators.auto +: collapse.CollapseSimulator
kernel.simulators.auto +: clear.ClearSimulator
kernel.simulators.auto +: misc.MiscSimulator
kernel.simulators.auto +: firesimulator.FireSimulatorWrapper
kernel.simulators.auto +: traffic3.simulator.TrafficSimulator
kernel.simulators.auto +: ignition.IgnitionSimulator
kernel.viewers.auto +: sample.SampleViewer
kernel.agents.auto +: sample.SampleFireBrigade*n
kernel.agents.auto +: sample.SamplePoliceForce*n
kernel.agents.auto +: sample.SampleAmbulanceTeam*n
kernel.agents.auto +: sample.SampleCentre*n
kernel.agents.auto +: sample.SampleCivilian*n
# Kernel UI components
kernel.ui.components: rescuecore2.standard.kernel.StandardWorldModelViewerComponent
!include common.cfg
!include gis.cfg
!include comms.cfg
!include perception.cfg
!include score.cfg
# Also include configs for simulators and agents
!include collapse.cfg
!include clear.cfg
!include misc.cfg
!include resq-fire.cfg
!include traffic3.cfg
!include ignition.cfg
!include civilian.cfg
!include sample-agents.cfg
!include viewer.cfg
# Name of the kernel log file
kernel.logname: ../logs/rescue.log
# Number of timesteps to run
kernel.timesteps: 240
# The simulation termination conditions
kernel.termination: kernel.TimestepTerminationCondition
#kernel.termination: kernel.TimestepTerminationCondition rescuecore2.standard.kernel.CiviliansDeadOrRescuedTerminationCondition
# The amount of time (ms) agents have to send commands each timestep
kernel.agents.think-time: 1000
# Number of timesteps that agents commands are ignored
kernel.agents.ignoreuntil: 3
# List of command collectors to use
kernel.commandcollectors: kernel.TimedCommandCollector
#kernel.commandcollectors: kernel.TimedCommandCollector rescuecore2.standard.kernel.StandardCommandCollector
# List of command filters to use
kernel.commandfilters +: kernel.WrongTimeCommandFilter
kernel.commandfilters +: kernel.FrozenAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.DeadAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.BuriedAgentsCommandFilter
kernel.commandfilters +: rescuecore2.standard.kernel.SingleCommandFilter
# The agent registrar
kernel.agents.registrar: rescuecore2.standard.kernel.StandardAgentRegistrar
# The amount of time agents have to start up
kernel.startup.connect-time: 180000 # 3 minute startup time
# kernel.startup.connect-time: 10000 # 10 second startup time
# Automatic choice of GIS
kernel.gis.auto: gis2.GMLWorldModelCreator
# Automatic choice of perception
kernel.perception.auto: rescuecore2.standard.kernel.LineOfSightPerception
# Automatic choice of communication model
kernel.communication.auto: rescuecore2.standard.kernel.comms.ChannelCommunicationModel
# Kernel UI components
kernel.ui.components: rescuecore2.standard.kernel.StandardWorldModelViewerComponent
log.viewers : rescuecore2.standard.view.StandardWorldModelViewer
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment