Commit 80127990 authored by Mohcine Chraibi's avatar Mohcine Chraibi

correct version number of geo files in demos

parent 3e53c121
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="corner" unit="m"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../xsd/jps_geometry.xsd">
<rooms>
<room id="0" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="10.0" py="4.0" />
<vertex px="10.0" py="0.0" />
<vertex px="0.0" py="0.0" />
<vertex px="0.0" py="10.0" />
<vertex px="10.0" py="10.0" />
<vertex px="10.0" py="6.0" />
</polygon>
</subroom>
<subroom id="1" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="10.0" py="6.0" />
<vertex px="17.0" py="6.0" />
<vertex px="17.0" py="-5.0" />
</polygon>
<polygon caption="wall">
<vertex px="15.0" py="-5.0" />
<vertex px="15.0" py="4.0" />
<vertex px="10.0" py="4.0" />
</polygon>
<!--
<obstacle id="0" caption="table" height="1.0" closed="1">
<polygon>
<vertex px="12.0" py="5.9" />
<vertex px="13.0" py="5.9" />
<vertex px="13.0" py="5.4" />
<vertex px="12.0" py="5.4" />
<vertex px="12.0" py="5.9" />
</polygon>
</obstacle>
<obstacle id="1" caption="table" height="1.0" closed="1">
<polygon>
<vertex px="16.4" py="-2.0" />
<vertex px="16.9" py="-2.0" />
<vertex px="16.9" py="-3.0" />
<vertex px="16.4" py="-3.0" />
<vertex px="16.4" py="-2.0" />
</polygon>
</obstacle>
-->
</subroom>
<crossings>
<!-- virtual exits between subrooms -->
<crossing id="0" subroom1_id="0" subroom2_id="1">
<vertex px="10.0" py="6.0" />
<vertex px="10.0" py="4.0" />
</crossing>
</crossings>
</room>
</rooms>
<geometry version="0.8" caption="corner" unit="m"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../xsd/jps_geometry.xsd">
<rooms>
<room id="0" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="10.0" py="4.0" />
<vertex px="10.0" py="0.0" />
<vertex px="0.0" py="0.0" />
<vertex px="0.0" py="10.0" />
<vertex px="10.0" py="10.0" />
<vertex px="10.0" py="6.0" />
</polygon>
</subroom>
<subroom id="1" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="10.0" py="6.0" />
<vertex px="17.0" py="6.0" />
<vertex px="17.0" py="-5.0" />
</polygon>
<polygon caption="wall">
<vertex px="15.0" py="-5.0" />
<vertex px="15.0" py="4.0" />
<vertex px="10.0" py="4.0" />
</polygon>
<!--
<obstacle id="0" caption="table" height="1.0" closed="1">
<polygon>
<vertex px="12.0" py="5.9" />
<vertex px="13.0" py="5.9" />
<vertex px="13.0" py="5.4" />
<vertex px="12.0" py="5.4" />
<vertex px="12.0" py="5.9" />
</polygon>
</obstacle>
<obstacle id="1" caption="table" height="1.0" closed="1">
<polygon>
<vertex px="16.4" py="-2.0" />
<vertex px="16.9" py="-2.0" />
<vertex px="16.9" py="-3.0" />
<vertex px="16.4" py="-3.0" />
<vertex px="16.4" py="-2.0" />
</polygon>
</obstacle>
-->
</subroom>
<crossings>
<!-- virtual exits between subrooms -->
<crossing id="0" subroom1_id="0" subroom2_id="1">
<vertex px="10.0" py="6.0" />
<vertex px="10.0" py="4.0" />
</crossing>
</crossings>
</room>
</rooms>
<transitions>
<!-- exits like crossings but between rooms or to outside (room with index
= -1) -->
<transition id="1" caption="main exit" type="emergency"
room1_id="0" subroom1_id="1" room2_id="-1" subroom2_id="-1">
<vertex px="15.0" py="-5.0" />
<vertex px="17.0" py="-5.0" />
</transition>
</transitions>
<transitions>
<!-- exits like crossings but between rooms or to outside (room with index
= -1) -->
<transition id="1" caption="main exit" type="emergency"
room1_id="0" subroom1_id="1" room2_id="-1" subroom2_id="-1">
<vertex px="15.0" py="-5.0" />
<vertex px="17.0" py="-5.0" />
</transition>
</transitions>
</geometry>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" ?>
<JuPedSim project="arena-section-Project" version="0.6"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xsd.jupedsim.org/0.6/jps_ini_core.xsd">
<!-- seed used for initialising random generator -->
<seed>12542</seed>
<!-- geometry file -->
<max_sim_time>600</max_sim_time>
<!-- geometry file -->
<geometry>arena_geometry.xml</geometry>
<!-- trajectories file and format -->
<trajectories format="xml-plain" fps="8">
<file location="arena_trajectories.xml" />
<!--<socket hostname="127.0.0.1" port="8989"/> -->
</trajectories>
<!-- where to store the logs -->
<!--<logfile>outputfiles/log.txt</logfile> -->
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
<!-- doors states are: close or open -->
<doors>
<door trans_id="2503" caption="AR09URO08" state="close" />
<door trans_id="2512" caption="AR09URO07" state="close" />
<door trans_id="2501" caption="TREPPE001" state="close" />
</doors>
</traffic_constraints>
<routing>
<goals>
<goal id="0" final="false" caption="goal 1">
<polygon>
<vertex px="-115.0" py="-95.0" />
<vertex px="-100.0" py="-95.0" />
<vertex px="-100.0" py="-80.0" />
<vertex px="-115.0" py="-80.0" />
<vertex px="-115.0" py="-95.0" />
</polygon>
</goal>
<goal id="1" final="false" caption="goal 2">
<polygon>
<vertex px="-115.0" py="95.0" />
<vertex px="-100.0" py="95.0" />
<vertex px="-100.0" py="80.0" />
<vertex px="-115.0" py="80.0" />
<vertex px="-115.0" py="95.0" />
</polygon>
</goal>
</goals>
</routing>
<!--persons information and distribution -->
<agents operational_model_id="1">
<agents_distribution>
<group group_id="0" agent_parameter_id="1" room_id="0" subroom_id="0" number="60" router_id="1" />
</agents_distribution>
</agents>
<!-- These parameters may be overwritten -->
<operational_models>
<model operational_model_id="1" description="gcfm">
<model_parameters>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exit_crossing_strategy>3</exit_crossing_strategy>
<linkedcells enabled="true" cell_size="2.2" />
<force_ped nu="0.3" dist_max="3" disteff_max="2" interpolation_width="0.1" />
<force_wall nu="0.2" dist_max="3" disteff_max="2" interpolation_width="0.1" />
</model_parameters>
<agent_parameters agent_parameter_id="1">
<v0 mu="0.5" sigma="0.0" />
<bmax mu="0.25" sigma="0.001" />
<bmin mu="0.20" sigma="0.001" />
<amin mu="0.18" sigma="0.001" />
<tau mu="0.5" sigma="0.001" />
<atau mu="0.5" sigma="0.001" />
</agent_parameters>
</model>
<model operational_model_id="2" description="gompertz">
<model_parameters>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exit_crossing_strategy>5</exit_crossing_strategy>
<linkedcells enabled="true" cell_size="2.2" />
<force_ped nu="0.3" />
<force_wall nu="0.2" />
</model_parameters>
<agent_parameters agent_parameter_id="1">
<v0 mu="0.5" sigma="0.0" />
<bmax mu="0.25" sigma="0.001" />
<bmin mu="0.20" sigma="0.001" />
<amin mu="0.18" sigma="0.001" />
<tau mu="0.5" sigma="0.001" />
<atau mu="0.5" sigma="0.001" />
</agent_parameters>
</model>
</operational_models>
<route_choice_models>
<router router_id="1" description="global_shortest">
<parameters>
<!-- extra routing information -->
<navigation_lines file="arena_routing.xml" />
</parameters>
</router>
</route_choice_models>
</JuPedSim>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<routing version="0.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../xsd/jps_routing.xsd" >
<Hlines>
<Hline id="180" room_id="0" subroom_id="0">
<vertex px="50.491318" py="50.669334" />
<vertex px="51.419758" py="50.169289" />
</Hline>
<Hline id="181" room_id="0" subroom_id="0">
<vertex px="53.550541" py="50.669334" />
<vertex px="52.619759" py="50.169289" />
</Hline>
<Hline id="182" room_id="0" subroom_id="0">
<vertex px="49.520386" py="49.369362" />
<vertex px="49.520798" py="50.435883" />
</Hline>
<Hline id="183" room_id="0" subroom_id="0">
<vertex px="55.720272" py="50.436012" />
<vertex px="56.320286" py="50.169285" />
</Hline>
<Hline id="184" room_id="0" subroom_id="0">
<vertex px="54.520206" py="50.436012" />
<vertex px="54.520386" py="49.369362" />
</Hline>
<Hline id="185" room_id="0" subroom_id="0">
<vertex px="48.324692" py="49.369362" />
<vertex px="48.320885" py="50.436012" />
</Hline>
<Hline id="186" room_id="0" subroom_id="0">
<vertex px="53.320568" py="51.119240" />
<vertex px="50.720562" py="51.119358" />
</Hline>
<Hline id="187" room_id="0" subroom_id="52">
<vertex px="57.320969" py="47.770535" />
<vertex px="57.298149" py="48.269318" />
</Hline>
<Hline id="188" room_id="0" subroom_id="48">
<vertex px="57.317806" py="48.569321" />
<vertex px="57.317806" py="49.065918" />
</Hline>
<Hline id="189" room_id="0" subroom_id="0">
<vertex px="55.720272" py="50.436012" />
<vertex px="55.720272" py="49.369362" />
</Hline>
<Hline id="190" room_id="0" subroom_id="0">
<vertex px="56.320286" py="50.169285" />
<vertex px="56.320286" py="50.669334" />
</Hline>
<Hline id="191" room_id="0" subroom_id="0">
<vertex px="57.320595" py="49.368141" />
<vertex px="57.319775" py="50.169289" />
</Hline>
<Hline id="192" room_id="0" subroom_id="0">
<vertex px="57.319775" py="50.169289" />
<vertex px="57.319775" py="50.669334" />
</Hline>
<Hline id="193" room_id="0" subroom_id="35">
<vertex px="57.320248" py="50.969334" />
<vertex px="57.301022" py="51.469143" />
</Hline>
<Hline id="194" room_id="0" subroom_id="34">
<vertex px="57.320969" py="51.769142" />
<vertex px="57.320969" py="52.268749" />
</Hline>
<Hline id="195" room_id="0" subroom_id="31">
<vertex px="57.320969" py="54.169231" />
<vertex px="57.300579" py="54.669327" />
</Hline>
<Hline id="196" room_id="0" subroom_id="30">
<vertex px="57.320248" py="54.969326" />
<vertex px="57.300591" py="55.469250" />
</Hline>
<Hline id="197" room_id="0" subroom_id="29">
<vertex px="57.320248" py="55.769253" />
<vertex px="57.300583" py="56.269302" />
</Hline>
<Hline id="198" room_id="0" subroom_id="28">
<vertex px="57.320248" py="56.569302" />
<vertex px="57.301285" py="57.069134" />
</Hline>
<Hline id="199" room_id="0" subroom_id="27">
<vertex px="57.320969" py="57.369133" />
<vertex px="57.300549" py="57.869278" />
</Hline>
<Hline id="200" room_id="0" subroom_id="26">
<vertex px="57.320213" py="58.169277" />
<vertex px="57.300583" py="58.669315" />
</Hline>
<Hline id="201" room_id="0" subroom_id="25">
<vertex px="57.320248" py="58.969318" />
<vertex px="57.320248" py="59.466656" />
</Hline>
<Hline id="202" room_id="0" subroom_id="24">
<vertex px="57.320248" py="59.769241" />
<vertex px="57.300583" py="60.269295" />
</Hline>
<Hline id="203" room_id="0" subroom_id="23">
<vertex px="57.320248" py="60.569294" />
<vertex px="57.320248" py="61.066742" />
</Hline>
<Hline id="204" room_id="0" subroom_id="22">
<vertex px="57.320248" py="61.369331" />
<vertex px="57.300587" py="61.869259" />
</Hline>
<Hline id="205" room_id="0" subroom_id="21">
<vertex px="57.320248" py="62.169258" />
<vertex px="57.300583" py="62.669308" />
</Hline>
<Hline id="206" room_id="0" subroom_id="20">
<vertex px="57.320248" py="62.969307" />
<vertex px="57.300583" py="63.469234" />
</Hline>
<Hline id="207" room_id="0" subroom_id="19">
<vertex px="57.320248" py="63.769234" />
<vertex px="57.320248" py="64.266579" />
</Hline>
<Hline id="208" room_id="0" subroom_id="18">
<vertex px="57.320969" py="64.569069" />
<vertex px="57.298130" py="65.069336" />
</Hline>
<Hline id="209" room_id="0" subroom_id="0">
<vertex px="50.491318" py="50.669334" />
<vertex px="50.491318" py="49.369362" />
</Hline>
<Hline id="210" room_id="0" subroom_id="0">
<vertex px="53.550541" py="50.669334" />
<vertex px="53.550529" py="49.369362" />
</Hline>
</Hlines>
</routing>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<routing version="0.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../xsd/jps_routing.xsd" >
<Hlines>
<Hline id="1" room_id="0" subroom_id="13">
<vertex px="4" py="12" />
<vertex px="5.5" py="10.5" />
</Hline>
<Hline id="2" room_id="0" subroom_id="13">
<vertex px="13.5" py="6.5" />
<vertex px="15" py="8" />
</Hline>
<Hline id="3" room_id="0" subroom_id="13">
<vertex px="21.5" py="29.5" />
<vertex px="24.5" py="27.5" />
</Hline>
</Hlines>
</routing>
......@@ -12,10 +12,10 @@ xsi:noNamespaceSchemaLocation="../../xsd/jps_ini_core.xsd">
<!-- trajectories file and format -->
<trajectories format="xml-plain" fps="8">
<file location="Kobes_traj.xml" />
<!--<socket hostname="127.0.0.1" port="8989"/> -->
<socket hostname="127.0.0.1" port="8989"/>
</trajectories>
<!-- where to store the logs -->
<!--<logfile>log.txt</logfile> -->
<logfile>log.txt</logfile>
<!-- traffic information: e.g closed doors -->
......@@ -48,7 +48,7 @@ xsi:noNamespaceSchemaLocation="../../xsd/jps_ini_core.xsd">
<!--persons information and distribution -->
<agents operational_model_id="3">
<agents_distribution>
<group group_id="1" agent_parameter_id="1" room_id="0" subroom_id="2" number="1" goal_id="-1" router_id="7" pre_movement_mean="1" pre_movement_sigma="0" risk_tolerance_mean="1" risk_tolerance_sigma="0.1" />
<group group_id="1" agent_parameter_id="1" room_id="0" subroom_id="2" number="1000" goal_id="-1" router_id="7" pre_movement_mean="1" pre_movement_sigma="0" risk_tolerance_mean="1" risk_tolerance_sigma="0.1" />
<group group_id="2" agent_parameter_id="1" room_id="0" subroom_id="3" number="1" goal_id="-1" router_id="7" pre_movement_mean="1" pre_movement_sigma="0" risk_tolerance_mean="1" risk_tolerance_sigma="0.1" />
<group group_id="3" agent_parameter_id="1" room_id="0" subroom_id="4" number="1" goal_id="-1" router_id="7" pre_movement_mean="1" pre_movement_sigma="0" risk_tolerance_mean="1" risk_tolerance_sigma="0.1" />
<group group_id="4" agent_parameter_id="1" room_id="0" subroom_id="5" number="1" goal_id="-1" router_id="7" pre_movement_mean="1" pre_movement_sigma="0" risk_tolerance_mean="1" risk_tolerance_sigma="0.1" />
......
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="corner" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xsd.jupedsim.org/jps_geometry.xsd" unit="m">
<geometry version="0.8" caption="corner" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xsd.jupedsim.org/jps_geometry.xsd" unit="m">
<rooms>
<room id="0" caption="hall">
<subroom id="0" caption="main_room" class="subroom">
......
......@@ -11,7 +11,7 @@
<geometry>1.2_bottleneck.xml</geometry>
<!-- traectories file and format -->
<trajectories format="xml-plain" fps="8">
<file location="trajectorien_bottleneck.xml" />
<file location="trajectories.xml" />
</trajectories>
<!-- where to store the logs -->
<logfile>log</logfile>
......@@ -52,7 +52,7 @@
<!-- frequency in persons/minute -->
<agents_sources>
<source id="1" frequency="3" agents_max="30" group_id="1" caption="source 1" />
<source id="1" frequency="10" agents_max="50" group_id="1" caption="source 1" />
</agents_sources>
<!-- <agents_sources/> -->
</agents>
......@@ -105,7 +105,7 @@
<force_wall a="7" D="0.14"/>
</model_parameters>
<agent_parameters agent_parameter_id="1">
<v0 mu="0" sigma="0.001" />
<v0 mu="1.2" sigma="0.001" />
<bmax mu="0.15" sigma="0.00001" /> <!-- this is l/2, assuming peds are circles with constant radius-->
<bmin mu="0.15" sigma="0.001" />
<amin mu="0.15" sigma="0.00001" />
......
......@@ -5,7 +5,7 @@
* Author: gsp1502
*/
#define PLOT_VORONOI_DIAGRAM 1
#define PLOT_VORONOI_DIAGRAM 0
static int global_count = 0;
......
Markdown is supported
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