Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit 53b14240 authored by Fabien Grzeskowiak's avatar Fabien Grzeskowiak
Browse files

python viz (wip)

parent 091aeca9
......@@ -3,4 +3,5 @@
<!-- <configPath path="examples/FOEAvoidance/FOEAvoidanceExample.xml"/> -->
<!-- <configPath path="examples/PowerLaw/PowerLawExample.xml"/> -->
<!-- <configPath path="examples/Toric2/config.xml"/> -->
<configPath path="examples/Toric2/config.xml"/>
\ No newline at end of file
<!-- <configPath path="examples/Toric2/config.xml"/> -->
<configPath path="examples/Toric3/config.xml"/>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Simulation delta_time="0.033" iterations="1000" world_type="Toric" world_size="15"/>
<World>
<Policies>
<Policy id="0">
<costfunction name="DirectionalGoalReaching" coeff="0.5"/>
<costfunction name="FOEAvoidance" coeff="3"/>
<costfunction name="SocialForcesAvoidance" coeff="0.6"/>
<costfunction name="RandomFunction" coeff="0.01"/>
</Policy>
</Policies>
<Agents>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="15" y="0.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="16" y="1.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="2.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="3.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="4.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="20" y="0.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="21" y="1.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="16" y="2.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="3.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="4.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="0.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="1.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="14" y="2.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="13" y="3.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="4.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="6" y="0.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="6" y="1.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="5" y="2.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="3.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="8" y="4.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="7" y="0.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="3" y="1.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="5" y="2.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="9" y="3.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="7" y="4.1"/>
<goal x="-100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-5" y="0"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-8" y="1"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-2" y="2"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="3" y="4"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="1"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-12" y="0"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-7" y="1"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="2"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-8" y="3"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-7" y="4"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-12" y="0"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="1"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="2"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-6" y="3"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="2"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-5" y="0"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="1"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-3" y="2"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-2" y="3"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="4"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-1" y="0"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-4" y="1"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-1" y="2"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-7" y="3"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-2" y="4"/>
<goal x="100" y="0"/>
<Policy id="0"/>
</Agent>
</Agents>
</World>
<?xml version="1.0" encoding="utf-8"?>
<Simulation delta_time="0.033" iterations="1000" world_type="Toric" world_size="50"/>
<World>
<Policies>
<Policy id="0">
<costfunction name="DirectionalGoalReaching" coeff="0.5"/>
<costfunction name="FOEAvoidance" coeff="3"/>
<costfunction name="RandomFunction" coeff="0.01"/>
</Policy>
</Policies>
<Agents>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="10" y="0.1"/>
<goal x="-10" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="10" y="1.1"/>
<goal x="-10" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="10" y="2.1"/>
<goal x="-10" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="10" y="3.1"/>
<goal x="-10" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="10" y="4.1"/>
<goal x="-10" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="11" y="0.1"/>
<goal x="-9" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="11" y="1.1"/>
<goal x="-9" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="11" y="2.1"/>
<goal x="-9" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="11" y="3.1"/>
<goal x="-9" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="11" y="4.1"/>
<goal x="-9" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="12" y="0.1"/>
<goal x="-8" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="12" y="1.1"/>
<goal x="-8" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="12" y="2.1"/>
<goal x="-8" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="12" y="3.1"/>
<goal x="-8" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="12" y="4.1"/>
<goal x="-8" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="13" y="0.1"/>
<goal x="-7" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="13" y="1.1"/>
<goal x="-7" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="13" y="2.1"/>
<goal x="-7" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="13" y="3.1"/>
<goal x="-7" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="13" y="4.1"/>
<goal x="-7" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="14" y="0.1"/>
<goal x="-6" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="14" y="1.1"/>
<goal x="-6" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="14" y="2.1"/>
<goal x="-6" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="14" y="3.1"/>
<goal x="-6" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="14" y="4.1"/>
<goal x="-6" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="15" y="0.1"/>
<goal x="-5" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="15" y="1.1"/>
<goal x="-5" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="15" y="2.1"/>
<goal x="-5" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="15" y="3.1"/>
<goal x="-5" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="15" y="4.1"/>
<goal x="-5" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="16" y="0.1"/>
<goal x="-4" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="16" y="1.1"/>
<goal x="-4" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="16" y="2.1"/>
<goal x="-4" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="16" y="3.1"/>
<goal x="-4" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="16" y="4.1"/>
<goal x="-4" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="0.1"/>
<goal x="-3" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="1.1"/>
<goal x="-3" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="2.1"/>
<goal x="-3" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="3.1"/>
<goal x="-3" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="17" y="4.1"/>
<goal x="-3" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="0.1"/>
<goal x="-2" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="1.1"/>
<goal x="-2" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="2.1"/>
<goal x="-2" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="3.1"/>
<goal x="-2" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="18" y="4.1"/>
<goal x="-2" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="0.1"/>
<goal x="-1" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="1.1"/>
<goal x="-1" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="2.1"/>
<goal x="-1" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="3.1"/>
<goal x="-1" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="19" y="4.1"/>
<goal x="-1" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="0"/>
<goal x="10" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="1"/>
<goal x="10" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="2"/>
<goal x="10" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="3"/>
<goal x="10" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-10" y="4"/>
<goal x="10" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="0"/>
<goal x="11" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="1"/>
<goal x="11" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="2"/>
<goal x="11" y="2"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="3"/>
<goal x="11" y="3"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-9" y="4"/>
<goal x="11" y="4"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-8" y="0"/>
<goal x="12" y="0"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-8" y="1"/>
<goal x="12" y="1"/>
<Policy id="0"/>
</Agent>
<Agent rad="0.5" pref_speed="2" max_speed="3">
<pos x="-8" y="2"/>
<goal x="12" y="2"/>
<Policy id="0"/>