JPScore issueshttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues2017-10-29T08:27:49+01:00https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/254Supported MacOS Version2017-10-29T08:27:49+01:00Ghost UserSupported MacOS VersionWhich Mac versions are supported (El Capitan, Sierra, High Sierra)?Which Mac versions are supported (El Capitan, Sierra, High Sierra)?https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/253Cognitive Map: Wrong value for routing strategy ERROR2017-10-17T16:29:31+02:00Ben HeinCognitive Map: Wrong value for routing strategy ERRORWhen using the cognitive map router as follows (for smoke sensor)
` <router router_id="7" description="cognitive_map">
<sensors>
<sensor sensor_id="2" description="Smoke" smoke_factor_grids="../FDS/3_sfgrids/dx_1.00/Z_2....When using the cognitive map router as follows (for smoke sensor)
` <router router_id="7" description="cognitive_map">
<sensors>
<sensor sensor_id="2" description="Smoke" smoke_factor_grids="../FDS/3_sfgrids/dx_1.00/Z_2.25/" update_time="20" final_time="120" status="activated"/>
<sensor sensor_id="3" description="LastDestination" status="activated"/>
</sensors>
<cognitive_map status="complete" />
</router>`
I get the following error when running jpscore:
**ERROR: wrong value for routing strategy [cognitive_map]!!!**
Have these values been changed/ is this due to the refactoring?https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/251Could not parse the project file2017-11-14T10:00:30+01:00Ghost UserCould not parse the project fileWhen starting Jpscore and when trying to run a simulation I get the messages:
ERROR: Failed to open file
ERROR: Could not parse the project fileWhen starting Jpscore and when trying to run a simulation I get the messages:
ERROR: Failed to open file
ERROR: Could not parse the project filehttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/250PassedLineX and PassedLineY are bugy2018-06-13T16:41:29+02:00Mohcine Chraibim.chraibi@fz-juelich.dePassedLineX and PassedLineY are bugy## Summary
These function are heavily used in the tests.
Following trajectory will give back a True, which is obviously wrong
![issue](/uploads/5674fbe25e4bd39ad82906c0b1af6f77/issue.png)## Summary
These function are heavily used in the tests.
Following trajectory will give back a True, which is obviously wrong
![issue](/uploads/5674fbe25e4bd39ad82906c0b1af6f77/issue.png)https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/249Assertion failed: (_grid->includesPoint(position))2018-06-13T16:41:28+02:00Mohcine Chraibim.chraibi@fz-juelich.deAssertion failed: (_grid->includesPoint(position))## Summary
```
Assertion failed: (_grid->includesPoint(position)),
function getCostToDestination,
file /Users/chraibi/Workspace/jpscore/routing/ff_router/UnivFFviaFM.cpp, line 1361.
```
## Inifile + Geometry file to reproduce bug
[...## Summary
```
Assertion failed: (_grid->includesPoint(position)),
function getCostToDestination,
file /Users/chraibi/Workspace/jpscore/routing/ff_router/UnivFFviaFM.cpp, line 1361.
```
## Inifile + Geometry file to reproduce bug
[ini.xml](/uploads/adc96cbd80d1a2f2e89e5917804dc298/ini.xml)
[geometry.xml](/uploads/01b5aa5d0438724060c636195b5876c5/geometry.xml)
## Router
These routers show this error
<router description="ff_global_shortest" router_id="4" />
<router description="ff_local_shortest" router_id="5" />
<router description="ff_quickest" router_id="6" />
NB: Change in ini.xml
```
<geometry>../geometry.xml</geometry>
```
to
```
<geometry>geometry.xml</geometry>
```https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/247Router Agents get stuck2018-06-13T16:41:28+02:00Mohcine Chraibim.chraibi@fz-juelich.deRouter Agents get stuck## Summary
Agents get stuck at `transitions`.## Summary
Agents get stuck at `transitions`.Arne GrafArne Grafhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/245Router: Could not find a route for pedestrian2018-06-13T16:41:30+02:00Mohcine Chraibim.chraibi@fz-juelich.deRouter: Could not find a route for pedestrian## Summary
Depending on the model-parameters sometime the router `ff_global_shortest` give an error
```
Could not find a route for pedestrian
```
## Inifile + Geometry file to reproduce bug
- [new_test.xml](/uploads/...## Summary
Depending on the model-parameters sometime the router `ff_global_shortest` give an error
```
Could not find a route for pedestrian
```
## Inifile + Geometry file to reproduce bug
- [new_test.xml](/uploads/4406c09083abca97be3ed11767131956/new_test.xml)
- [test_inifile.xml](/uploads/3ac46012439ae90d85f0a523029c4ade/test_inifile.xml)
## screenshots
![Screen_Shot_2017-06-20_at_12.19.12](/uploads/055f75f482af006ae9f09f8147fc23bc/Screen_Shot_2017-06-20_at_12.19.12.png)Arne GrafArne Grafhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/244Sources distribution bounds2019-05-10T23:56:45+02:00Mohcine Chraibim.chraibi@fz-juelich.deSources distribution bounds## Summary
This function `ComputeBestPositionVoronoiBoost` in file `VoronoiPositionGenerator.cpp` distributed pedestrians coming from a source.
However, if sometimes pedestrians should be distributed in a certain rectangle, defined by `...## Summary
This function `ComputeBestPositionVoronoiBoost` in file `VoronoiPositionGenerator.cpp` distributed pedestrians coming from a source.
However, if sometimes pedestrians should be distributed in a certain rectangle, defined by `x_min, xmax, y_min, y_max`.
These values are right now ignored by this method.https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/243Router error: could not find a route for pedestrian2017-05-19T08:58:39+02:00Tao ZhongRouter error: could not find a route for pedestrian## Summary
With the router "**ff_global_shortest**" there is a error and intermit the simulation in JPScore, but it works with "**global shortest**" router.
## Inifile + Geometry file to reproduce bug
inifile: [ini_Test4.xml](/uploads/c...## Summary
With the router "**ff_global_shortest**" there is a error and intermit the simulation in JPScore, but it works with "**global shortest**" router.
## Inifile + Geometry file to reproduce bug
inifile: [ini_Test4.xml](/uploads/c4f1a7cc04b57fc8ea64c293fbf76fc4/ini_Test4.xml)
geometry: [geo_Test4.xml](/uploads/4a409dd6df18592613ed88fb18863505/geo_Test4.xml)
## Actual behavior
Run the inifile, the simulation will stop and reports a segmentation fault by the 47.5%.
## Relevant logs, files (inifile and geometry) and/or screenshots
Error: ![屏幕快照_2017-03-10_14.51.11](/uploads/e4df6c2700a1c15b79197a19b6a8d008/屏幕快照_2017-03-10_14.51.11.png)
log: [Test4_log.txt.P0.dat](/uploads/f16b836be90041261dfc5896bc4e2b76/Test4_log.txt.P0.dat)Arne GrafArne Grafhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/241Initialize pedestrians from file2018-06-13T16:41:29+02:00Mohcine Chraibim.chraibi@fz-juelich.deInitialize pedestrians from file## Short description of suggestion
Read file (for example of experiment) and initialize the pedestrians by using the positions from the first frame
## Why would the enhancement be useful to most users
For better comparison with experi...## Short description of suggestion
Read file (for example of experiment) and initialize the pedestrians by using the positions from the first frame
## Why would the enhancement be useful to most users
For better comparison with experimentsMohcine Chraibim.chraibi@fz-juelich.deMohcine Chraibim.chraibi@fz-juelich.dehttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/240Wrong z-component in trajectories2018-06-13T16:41:33+02:00Mohcine Chraibim.chraibi@fz-juelich.deWrong z-component in trajectories## Summary
Pedestrian in 3D geometries have the wrong `z` component.
For example
a subroom defined by
```
A_x="0" B_y="0" C="20.694"
```
The trajectories will be something like
## Expected behavior
```
<agent ID="1" x="21.363...## Summary
Pedestrian in 3D geometries have the wrong `z` component.
For example
a subroom defined by
```
A_x="0" B_y="0" C="20.694"
```
The trajectories will be something like
## Expected behavior
```
<agent ID="1" x="21.363600" y="17.103700" z="26.994000" />
```
## Actual behavior
```
<agent ID="1" x="21.363600" y="17.103700" z="27.294000" />
```
## Inifile + Geometry file to reproduce bug
[HH_ini.xml](/uploads/3adda7028a1af441b34b49ea86c6907c/HH_ini.xml)[HH_geo.xml](/uploads/44d2b6ef426a6b211f19646725d8d291/HH_geo.xml)[HH_routing.xml](/uploads/cfe80bd21684d6987fd9f437425ea9cb/HH_routing.xml)
## Relevant logs, files (inifile and geometry) and/or screenshots
In screenshot peds 1, 2 and 3 are manually modified just to show the problem.
![Screen_Shot_2017-02-23_at_15.39.17](/uploads/040e8b95e951ed846c5fb4b694a1bc45/Screen_Shot_2017-02-23_at_15.39.17.png)https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/238IsInSubroom() only works for polygons which only contain horizontal / vertica...2018-03-16T15:01:02+01:00Arne GrafIsInSubroom() only works for polygons which only contain horizontal / vertical lines.## Summary
https://en.wikipedia.org/wiki/Point_in_polygon
https://en.wikipedia.org/wiki/Winding_number
The algorithm checks,in which quadrant the nodes of the polygon are, where the position of the pedestrian/point was the origin of...## Summary
https://en.wikipedia.org/wiki/Point_in_polygon
https://en.wikipedia.org/wiki/Winding_number
The algorithm checks,in which quadrant the nodes of the polygon are, where the position of the pedestrian/point was the origin of the coordinate system.
Then, these quadrant numbers (1 .. 4) are added up and you can find, if a polygon is inside or outside.
It works not, if the polygon has edges, that are neither vertical nor horizontal. Please try it with pen and paper.
I will add a scanned picture some time soon.https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/234Routing in Demo 42018-06-13T16:41:33+02:00Mohcine Chraibim.chraibi@fz-juelich.deRouting in Demo 4## Summary
Demo 4 does not work.
## Steps to reproduce
- Run
```
./bin/jpscore demos/scenario_4_stairs/stairs_ini.xml
```
Two runs are necessary:
- one run with `router_id="1"`
- and another with `router_id="2"`
- For the sake o...## Summary
Demo 4 does not work.
## Steps to reproduce
- Run
```
./bin/jpscore demos/scenario_4_stairs/stairs_ini.xml
```
Two runs are necessary:
- one run with `router_id="1"`
- and another with `router_id="2"`
- For the sake of testing change `number = "10"`
## Expected behavior
Pedestrians should evacuate
## Actual behavior
- With `router=2` they do not evacuate
- With `router=1` simulation breaks with error
## Inifile + Geometry file to reproduce bug
See `demos/scenario_4_stairs`
## Relevant logs, files (inifile and geometry) and/or screenshots
![router](/uploads/15d9c9789bb075adb17ec5254f2e3e1c/router.gif)
![Screen_Shot_2017-02-01_at_12.45.17](/uploads/02c703d2efd1ff93c7e278e16339cd3a/Screen_Shot_2017-02-01_at_12.45.17.png)arneArne GrafArne Grafhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/233Door Statstics2018-06-13T16:41:33+02:00Mohcine Chraibim.chraibi@fz-juelich.deDoor Statstics## Summary
Some pedestrians may have no `navLine` (How come?)
Therefore, when calling `UpdateFlowAtDoors()` the simulation will break at this [LINE](https://gitlab.version.fz-juelich.de/jupedsim/jpscore/blob/develop/Simulation.cpp#...## Summary
Some pedestrians may have no `navLine` (How come?)
Therefore, when calling `UpdateFlowAtDoors()` the simulation will break at this [LINE](https://gitlab.version.fz-juelich.de/jupedsim/jpscore/blob/develop/Simulation.cpp#L574) with a SegFault.
## Steps to reproduce
- add the following `<show_statistics>true</Show_statistics>` the inifile of [demo 7](https://gitlab.version.fz-juelich.de/jupedsim/jpscore/tree/develop/demos/scenario_7_floorfield)
- Run demo 7.
## Actual behavior
Segmentation Fault.
## Inifile + Geometry file to reproduce bug
[demo 7](https://gitlab.version.fz-juelich.de/jupedsim/jpscore/tree/develop/demos/scenario_7_floorfield)
## Relevant logs, files (inifile and geometry) and/or screenshots
![Screen_Shot_2017-01-25_at_12.51.17](/uploads/76ad92c724ccdd74b7047114044c4c2f/Screen_Shot_2017-01-25_at_12.51.17.png)Arne GrafArne Grafhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/230Update links to documentation2018-06-13T16:41:33+02:00Mohcine Chraibim.chraibi@fz-juelich.deUpdate links to documentationPlease check all [documentation](http://www.jupedsim.org) pages and check if there still exist a link to the old `cst`-repository.
- Check the wiki pages. Images that have been uploaded are missing.
- Write a note here. What is mis...Please check all [documentation](http://www.jupedsim.org) pages and check if there still exist a link to the old `cst`-repository.
- Check the wiki pages. Images that have been uploaded are missing.
- Write a note here. What is missing. Aaron SchumacherAaron Schumacher2017-01-14https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/229merge toxicity_branch in develop2018-06-13T16:41:32+02:00Mohcine Chraibim.chraibi@fz-juelich.demerge toxicity_branch in developMohcine Chraibim.chraibi@fz-juelich.deMohcine Chraibim.chraibi@fz-juelich.de2016-12-31https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/228The Euler scheme problem2017-05-19T08:58:39+02:00Mohcine Chraibim.chraibi@fz-juelich.deThe Euler scheme problemI got a problem about the computation of the Euler scheme, e.g. in GCFM model, the equation is
![image](/uploads/9ff0e42a3be3ea0fae1e68b3b8854e77/image.png)
![image](/uploads/9fa1b4195c2fafcdcfd44b2f9c492b8e/image.png)
if I use the v(t...I got a problem about the computation of the Euler scheme, e.g. in GCFM model, the equation is
![image](/uploads/9ff0e42a3be3ea0fae1e68b3b8854e77/image.png)
![image](/uploads/9fa1b4195c2fafcdcfd44b2f9c492b8e/image.png)
if I use the v(t) instead R(t) in the first equation, does this turn to be a first order ODE?
and I think Euler scheme is using to solve the first order ODE, and How to using it to solve the second order ODE.
Is there a derivation about how to using Euler scheme solve the first equation?
Thank you!https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/225Strategy 8 on Stairs2017-05-19T08:58:39+02:00Mohcine Chraibim.chraibi@fz-juelich.deStrategy 8 on StairsApparently Str 8 doe not work on Stairs.
Are the [restrictions](http://www.jupedsim.org/jpscore/2016-11-03-routing) formulated for the `ffrouter` the same for this strategy?Apparently Str 8 doe not work on Stairs.
Are the [restrictions](http://www.jupedsim.org/jpscore/2016-11-03-routing) formulated for the `ffrouter` the same for this strategy?Arne GrafArne Grafhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/224Compile errors under Windows (CLion)2017-05-19T08:58:39+02:00Mohcine Chraibim.chraibi@fz-juelich.deCompile errors under Windows (CLion)![image](/uploads/2d71c06ae350827026ad2084f155ca5d/image.png)![image](/uploads/2d71c06ae350827026ad2084f155ca5d/image.png)https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/223I've been compiled the Jpscore in visual studio 2013,but I got an error about...2017-05-19T08:58:39+02:00Mohcine Chraibim.chraibi@fz-juelich.deI've been compiled the Jpscore in visual studio 2013,but I got an error about the OpenMP![image](/uploads/29a22382295a0ded6dec0133b37541a4/image.png)
Can I just using "int" instead "size_t", I got that the VS2013 only support the OpenMP 2.0, and the OpenMP 2.0 doesn't allow the unsigned int in sentence "for".![image](/uploads/29a22382295a0ded6dec0133b37541a4/image.png)
Can I just using "int" instead "size_t", I got that the VS2013 only support the OpenMP 2.0, and the OpenMP 2.0 doesn't allow the unsigned int in sentence "for".