Commit 5e04b527 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

changed all osm model attributes to the attributes suggested by isabella.

parent 7ecf36a2
...@@ -17,14 +17,15 @@ ...@@ -17,14 +17,15 @@
"scenario" : { "scenario" : {
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel", "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"attributesModel" : { "attributesModel" : {
"org.vadere.state.attributes.models.AttributesPotentialCompact" : { "org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialWidth" : 0.5, "pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialHeight" : 12.6, "pedPotentialPersonalSpaceWidth" : 1.2,
"obstPotentialWidth" : 0.25, "pedPotentialHeight" : 50.0,
"obstPotentialHeight" : 20.1, "obstPotentialWidth" : 0.8,
"useHardBodyShell" : false, "obstPotentialHeight" : 6.0,
"obstDistanceDeviation" : 0.0, "intimateSpaceFactor" : 1.2,
"visionFieldRadius" : 5.0 "personalSpacePower" : 1,
"intimateSpacePower" : 1
}, },
"org.vadere.state.attributes.models.AttributesOSM" : { "org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 18, "stepCircleResolution" : 18,
...@@ -41,8 +42,8 @@ ...@@ -41,8 +42,8 @@
"seeSmallWalls" : false, "seeSmallWalls" : false,
"minimumStepLength" : false, "minimumStepLength" : false,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid", "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompact", "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompact", "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
"submodels" : [ ] "submodels" : [ ]
}, },
"org.vadere.state.attributes.models.AttributesFloorField" : { "org.vadere.state.attributes.models.AttributesFloorField" : {
...@@ -113,6 +114,222 @@ ...@@ -113,6 +114,222 @@
"type" : "RECTANGLE" "type" : "RECTANGLE"
}, },
"id" : -1 "id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : 0.5001
}, {
"x" : -1.0E-4,
"y" : 0.5001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 35.0001,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : 60.0001
}, {
"x" : 34.4999,
"y" : 60.0001
}, {
"x" : 34.4999,
"y" : -1.0E-4
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 35.0001,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : 59.4999
}, {
"x" : 35.0001,
"y" : 59.4999
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : 60.0001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : 0.5001
}, {
"x" : -1.0E-4,
"y" : 0.5001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 35.0001,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : 60.0001
}, {
"x" : 34.4999,
"y" : 60.0001
}, {
"x" : 34.4999,
"y" : -1.0E-4
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 35.0001,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : 59.4999
}, {
"x" : 35.0001,
"y" : 59.4999
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : 60.0001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : 0.5001
}, {
"x" : -1.0E-4,
"y" : 0.5001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 35.0001,
"y" : -1.0E-4
}, {
"x" : 35.0001,
"y" : 60.0001
}, {
"x" : 34.4999,
"y" : 60.0001
}, {
"x" : 34.4999,
"y" : -1.0E-4
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 35.0001,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : 59.4999
}, {
"x" : 35.0001,
"y" : 59.4999
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : 60.0001
}, {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : 60.0001
} ]
},
"id" : -1
} ], } ],
"stairs" : [ ], "stairs" : [ ],
"targets" : [ { "targets" : [ {
......
...@@ -10,14 +10,15 @@ ...@@ -10,14 +10,15 @@
"scenario" : { "scenario" : {
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel", "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"attributesModel" : { "attributesModel" : {
"org.vadere.state.attributes.models.AttributesPotentialCompact" : { "org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialWidth" : 0.5, "pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialHeight" : 12.6, "pedPotentialPersonalSpaceWidth" : 1.2,
"obstPotentialWidth" : 0.25, "pedPotentialHeight" : 50.0,
"obstPotentialHeight" : 20.1, "obstPotentialWidth" : 0.8,
"useHardBodyShell" : false, "obstPotentialHeight" : 6.0,
"obstDistanceDeviation" : 0.0, "intimateSpaceFactor" : 1.2,
"visionFieldRadius" : 5.0 "personalSpacePower" : 1,
"intimateSpacePower" : 1
}, },
"org.vadere.state.attributes.models.AttributesOSM" : { "org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 18, "stepCircleResolution" : 18,
...@@ -34,8 +35,8 @@ ...@@ -34,8 +35,8 @@
"seeSmallWalls" : false, "seeSmallWalls" : false,
"minimumStepLength" : false, "minimumStepLength" : false,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid", "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompact", "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompact", "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
"submodels" : [ ] "submodels" : [ ]
}, },
"org.vadere.state.attributes.models.AttributesFloorField" : { "org.vadere.state.attributes.models.AttributesFloorField" : {
...@@ -115,6 +116,222 @@ ...@@ -115,6 +116,222 @@
} ] } ]
}, },
"id" : -1 "id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : 0.5001
}, {
"x" : -1.0E-4,
"y" : 0.5001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 38.0001,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : 12.0001
}, {
"x" : 37.4999,
"y" : 12.0001
}, {
"x" : 37.4999,
"y" : -1.0E-4
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 38.0001,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : 11.4999
}, {
"x" : 38.0001,
"y" : 11.4999
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : 12.0001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : 0.5001
}, {
"x" : -1.0E-4,
"y" : 0.5001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 38.0001,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : 12.0001
}, {
"x" : 37.4999,
"y" : 12.0001
}, {
"x" : 37.4999,
"y" : -1.0E-4
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 38.0001,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : 11.4999
}, {
"x" : 38.0001,
"y" : 11.4999
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : 12.0001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : 0.5001
}, {
"x" : -1.0E-4,
"y" : 0.5001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 38.0001,
"y" : -1.0E-4
}, {
"x" : 38.0001,
"y" : 12.0001
}, {
"x" : 37.4999,
"y" : 12.0001
}, {
"x" : 37.4999,
"y" : -1.0E-4
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 38.0001,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : 11.4999
}, {
"x" : 38.0001,
"y" : 11.4999
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : 12.0001
}, {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : -1.0E-4
}, {
"x" : 0.5001,
"y" : 12.0001
} ]
},
"id" : -1
} ], } ],
"stairs" : [ ], "stairs" : [ ],
"targets" : [ { "targets" : [ {
......
...@@ -10,14 +10,15 @@ ...@@ -10,14 +10,15 @@
"scenario" : { "scenario" : {
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel", "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"attributesModel" : { "attributesModel" : {
"org.vadere.state.attributes.models.AttributesPotentialCompact" : { "org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialWidth" : 0.5, "pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialHeight" : 12.6, "pedPotentialPersonalSpaceWidth" : 1.2,
"obstPotentialWidth" : 0.25, "pedPotentialHeight" : 50.0,
"obstPotentialHeight" : 20.1, "obstPotentialWidth" : 0.8,
"useHardBodyShell" : false, "obstPotentialHeight" : 6.0,
"obstDistanceDeviation" : 0.0, "intimateSpaceFactor" : 1.2,
"visionFieldRadius" : 5.0 "personalSpacePower" : 1,
"intimateSpacePower" : 1
}, },
"org.vadere.state.attributes.models.AttributesOSM" : { "org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 18, "stepCircleResolution" : 18,
...@@ -34,8 +35,8 @@ ...@@ -34,8 +35,8 @@
"seeSmallWalls" : false, "seeSmallWalls" : false,
"minimumStepLength" : false, "minimumStepLength" : false,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid", "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompact", "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompact", "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
"submodels" : [ ] "submodels" : [ ]
}, },
"org.vadere.state.attributes.models.AttributesFloorField" : { "org.vadere.state.attributes.models.AttributesFloorField" : {
...@@ -88,6 +89,150 @@ ...@@ -88,6 +89,150 @@
"type" : "RECTANGLE" "type" : "RECTANGLE"
}, },
"id" : -1 "id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : -1.0E-4,
"y" : -1.0E-4
}, {
"x" : 20.0001,
"y" : -1.0E-4
}, {
"x" : 20.0001,
"y" : 0.5001
}, {
"x" : -1.0E-4,
"y" : 0.5001
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 20.0001,
"y" : -1.0E-4
}, {
"x" : 20.0001,
"y" : 10.0001
}, {
"x" : 19.4999,
"y" : 10.0001
}, {
"x" : 19.4999,