JuPedSim issueshttps://gitlab.jsc.fz-juelich.de/groups/jupedsim/-/issues2019-06-18T16:40:23+02:00https://gitlab.jsc.fz-juelich.de/jupedsim/jpseditor/-/issues/26copy geometry elements2019-06-18T16:40:23+02:00Mohcine Chraibim.chraibi@fz-juelich.decopy geometry elementsWould be nice to be able to copy "blocks" and paste them around.
For example in case we want to duplicate the triangle in the following figure (obstacle)
![Screen_Shot_2015-07-10_at_11.30.40](https://cst.version.fz-juelich.de/jupedsim...Would be nice to be able to copy "blocks" and paste them around.
For example in case we want to duplicate the triangle in the following figure (obstacle)
![Screen_Shot_2015-07-10_at_11.30.40](https://cst.version.fz-juelich.de/jupedsim/jupedsim/uploads/5996cd4dabb0242b577bb6ef313f3773/Screen_Shot_2015-07-10_at_11.30.40.png)Tao ZhongTao Zhonghttps://gitlab.jsc.fz-juelich.de/jupedsim/jpseditor/-/issues/119Obstacles button2019-06-18T16:40:23+02:00Mohcine Chraibim.chraibi@fz-juelich.deObstacles buttonMaybe it would be easier for the workflow if we have a special new button for obstacles.
Actually we have these types:
- Hline
- Door
- Wall
![Screenshot_2019-02-14_at_09.42.39](/uploads/734ee855ece0d63215197d36b3268c47/Screensho...Maybe it would be easier for the workflow if we have a special new button for obstacles.
Actually we have these types:
- Hline
- Door
- Wall
![Screenshot_2019-02-14_at_09.42.39](/uploads/734ee855ece0d63215197d36b3268c47/Screenshot_2019-02-14_at_09.42.39.png)Tao ZhongTao Zhonghttps://gitlab.jsc.fz-juelich.de/jupedsim/jpseditor/-/issues/52Drawing2019-06-18T16:40:23+02:00Mohcine Chraibim.chraibi@fz-juelich.deDrawingWhile drawing (for example a line), two clicks are needed to continue from one point to the next.
Not so nice.While drawing (for example a line), two clicks are needed to continue from one point to the next.
Not so nice.Tao ZhongTao Zhonghttps://gitlab.jsc.fz-juelich.de/jupedsim/jpseditor/-/issues/94Plain Text Editor for Geometry2019-06-18T16:40:23+02:00Tao ZhongPlain Text Editor for Geometryhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpseditor/-/issues/25Undo2019-06-18T16:40:23+02:00Mohcine Chraibim.chraibi@fz-juelich.deUndoWould be nice to have an undo functionality.Would be nice to have an undo functionality.Tao ZhongTao Zhonghttps://gitlab.jsc.fz-juelich.de/jupedsim/jpsvis/-/issues/75Documents about how to compile jpsvis on windows 102019-06-17T16:47:44+02:00Ghost UserDocuments about how to compile jpsvis on windows 10[Install_JPSvis_on_Windows_10.pdf](/uploads/85b180e4241eefe75fedc04f2ef7efed/Install_JPSvis_on_Windows_10.pdf)[Install_JPSvis_on_Windows_10.pdf](/uploads/85b180e4241eefe75fedc04f2ef7efed/Install_JPSvis_on_Windows_10.pdf)Mohcine Chraibim.chraibi@fz-juelich.deMohcine Chraibim.chraibi@fz-juelich.dehttps://gitlab.jsc.fz-juelich.de/jupedsim/jpseditor/-/issues/144Stair definition failed2019-06-17T08:24:08+02:00Ghost UserStair definition failedJPSeditor crashes quite often, so I use to save the geometry every time when I have defined a new room.
Then, if I define a room as stair in JPSeditor the A_x, B_y and C_z is (always) "nan" in the geometry file and I have to calculate i...JPSeditor crashes quite often, so I use to save the geometry every time when I have defined a new room.
Then, if I define a room as stair in JPSeditor the A_x, B_y and C_z is (always) "nan" in the geometry file and I have to calculate it by hand.v0.8.9Tao ZhongTao Zhonghttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/323ff_global_shortest_trips for trains2019-06-12T15:52:36+02:00Ghost Userff_global_shortest_trips for trainsThe router ff_global_shortest_trips needs to be able to use the dynamic trains from #300.The router ff_global_shortest_trips needs to be able to use the dynamic trains from #300.Mohcine Chraibim.chraibi@fz-juelich.deMohcine Chraibim.chraibi@fz-juelich.dehttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/322Waiting area on platform2019-06-12T15:48:19+02:00Ghost UserWaiting area on platformIf there are no doors on the platform the agents should go to the waiting are and wait.
![Screenshot_2019-06-12_15.41.53](/uploads/940996ae0294f50c2cf5fefce3bc5dac/Screenshot_2019-06-12_15.41.53.png)
Or the room (and subroom) has ...If there are no doors on the platform the agents should go to the waiting are and wait.
![Screenshot_2019-06-12_15.41.53](/uploads/940996ae0294f50c2cf5fefce3bc5dac/Screenshot_2019-06-12_15.41.53.png)
Or the room (and subroom) has to be defined as (final) goal.tobias schroedtertobias schroedterhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpsvis/-/issues/74Something wrong when I 'make' jpsvis2019-06-08T20:58:21+02:00Ghost UserSomething wrong when I 'make' jpsvisDear colleagues,
How are you doing these days?
I have a problem when I compile JPSVIS on a ubuntu 14.04 system. I already compile JPSCORE successfully on the system, and I already install qt5 and vtk6. 'cmake' is OK, but 'make' is failed...Dear colleagues,
How are you doing these days?
I have a problem when I compile JPSVIS on a ubuntu 14.04 system. I already compile JPSCORE successfully on the system, and I already install qt5 and vtk6. 'cmake' is OK, but 'make' is failed because of the follow error:
**************************************************
```
n file included from /usr/include/c++/8/vector:64,
from /usr/include/qt5/QtCore/qmetatype.h:56,
from /usr/include/qt5/QtCore/qobject.h:56,
from /usr/include/qt5/QtCore/qabstractanimation.h:45,
from /usr/include/qt5/QtCore/QtCore:4,
from /usr/include/qt5/QtXml/QtXmlDepends:2,
from /usr/include/qt5/QtXml/QtXml:3,
from /home/huang/git/jpsvis/src/SaxParser.h:33,
from /home/huang/git/jpsvis/src/SaxParser.cpp:30:
/usr/include/c++/8/bits/stl_vector.h:1748:5: note: candidate: ‘template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)’
operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^~~~~~~~
/usr/include/c++/8/bits/stl_vector.h:1748:5: note: template argument deduction/substitution failed:
/home/huang/git/jpsvis/src/SaxParser.cpp:1481:30: note: ‘QCharRef’ is not derived from ‘const std::vector<_Tp, _Alloc>’
if(line[0] == "#") // looking for framerate
```
***************************************************
May I ask what can I do to solve the problem?
Thanks for your work.
Best regards!
Zhongyi Huanghttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/321Elevators2019-05-20T12:14:10+02:00Ghost UserElevatorsWe have stairs and escalators, but we should also have elevators.We have stairs and escalators, but we should also have elevators.https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/320One-sided closed doors2019-05-19T10:50:03+02:00tobias schroedterOne-sided closed doorsAllows to pedestrian to go through in one direction but is (temp) closed from the other direction.Allows to pedestrian to go through in one direction but is (temp) closed from the other direction.tobias schroedtertobias schroedterhttps://gitlab.jsc.fz-juelich.de/jupedsim/jpsvis/-/issues/69OSX | compilation with GNU g++ is not possible2019-05-16T15:52:44+02:00Ghost UserOSX | compilation with GNU g++ is not possiblefrom https://gitlab.version.fz-juelich.de/jupedsim/jpsvis/issues/64#note_28646
```
export CPLUS_INCLUDE_PATH=/usr/local/include
export C_INCLUDE_PATH=/usr/local/include
```
***result***: I have to check the paths when using macports.from https://gitlab.version.fz-juelich.de/jupedsim/jpsvis/issues/64#note_28646
```
export CPLUS_INCLUDE_PATH=/usr/local/include
export C_INCLUDE_PATH=/usr/local/include
```
***result***: I have to check the paths when using macports.https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/314Different groups for one source2019-05-16T14:02:16+02:00Ghost UserDifferent groups for one sourceAs we want to model a population distribution, but don't want to use overlapping Sources (see #305) it could be very useful to use only one source to create new agents of different groups.As we want to model a population distribution, but don't want to use overlapping Sources (see #305) it could be very useful to use only one source to create new agents of different groups.https://gitlab.jsc.fz-juelich.de/jupedsim/jpsvis/-/issues/73Reading external files2019-05-15T13:55:15+02:00Ghost UserReading external filesSince we have external files for sources, goals, etc. in `jpscore`, we should also be able to read these files in `jpsvis` to visualize
goals, sources, etc.
- [x] sources
- [x] goals
- [ ] events:
- **Doors should change colo...Since we have external files for sources, goals, etc. in `jpscore`, we should also be able to read these files in `jpsvis` to visualize
goals, sources, etc.
- [x] sources
- [x] goals
- [ ] events:
- **Doors should change color depending on their state (open or close)**
- [example](/uploads/69882d458a71ef554c86746b063ec79a/events_demo.zip)v0.8.4Mohcine Chraibim.chraibi@fz-juelich.deMohcine Chraibim.chraibi@fz-juelich.dehttps://gitlab.jsc.fz-juelich.de/jupedsim/jpsvis/-/issues/47Reset Geometry Structure2019-05-15T13:47:05+02:00Mohcine Chraibim.chraibi@fz-juelich.deReset Geometry StructureReset button should also reset the geometry structure.
The following behavior is desired:
- Open geometry (geometry1)
- Close/reset geometry
- open a new geometry (geometry2)
This should show only geometry1Reset button should also reset the geometry structure.
The following behavior is desired:
- Open geometry (geometry1)
- Close/reset geometry
- open a new geometry (geometry2)
This should show only geometry1https://gitlab.jsc.fz-juelich.de/jupedsim/jpsvis/-/issues/67Multithreading is plattform dependent2019-05-13T12:32:30+02:00Mohcine Chraibim.chraibi@fz-juelich.deMultithreading is plattform dependentIn MainWindow.cpp we handle multithreading differently, according to the used platform. For example:
```
#ifdef __APPLE__
//std::thread::id main_thread_id = std::this_thread::get_id();
dispatch_queue_t main_q = ...In MainWindow.cpp we handle multithreading differently, according to the used platform. For example:
```
#ifdef __APPLE__
//std::thread::id main_thread_id = std::this_thread::get_id();
dispatch_queue_t main_q = dispatch_get_main_queue();
dispatch_async(main_q, ^(void){
//visualisationThread->moveToThread(QApplication::instance()->thread());
_visualisationThread->run();
});
#else
_visualisationThread->start();
#endif
```
here for Macosx, we use Apple's threading system which is built right into the operating system.
I'm not sure if using POSIX threads or even Boost:Threads is a better option in terms of performance.v0.8.4https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/310New trajectory formats (TXT)2019-05-12T22:11:08+02:00Mohcine Chraibim.chraibi@fz-juelich.deNew trajectory formats (TXT)`jpscore` can produce two formats:
- txt: `#ID FR X Y Z `
- [xml](http://www.jupedsim.org/jpscore/2016-11-03-trajectory.html#xml)
I would try to change the txt format to
`
#ID FR X Y Z ...`jpscore` can produce two formats:
- txt: `#ID FR X Y Z `
- [xml](http://www.jupedsim.org/jpscore/2016-11-03-trajectory.html#xml)
I would try to change the txt format to
`
#ID FR X Y Z a b angle color
`
This could lead to slightly bigger files.
Alternatively, we should think about implementing a binary format like [HDF5](https://support.hdfgroup.org/HDF5/)
Any other suggestions are welcome.v0.8.4https://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/319malloc_error_break2019-05-11T18:02:05+02:00Ghost Usermalloc_error_breakThe error of issue #316 is gone, but there is another error, now...
![Bildschirmfoto_2019-05-11_um_17.39.04](/uploads/a715b6ac39de47efd527de0aaef42db4/Bildschirmfoto_2019-05-11_um_17.39.04.png)
[correct_Bahnsteige.xml](/uploads/bfb68e5...The error of issue #316 is gone, but there is another error, now...
![Bildschirmfoto_2019-05-11_um_17.39.04](/uploads/a715b6ac39de47efd527de0aaef42db4/Bildschirmfoto_2019-05-11_um_17.39.04.png)
[correct_Bahnsteige.xml](/uploads/bfb68e52ecd861ba2ea16efd02a2e33b/correct_Bahnsteige.xml)
[log-goal.txt](/uploads/2e71bfd86980ea60c03f89cda3d96d45/log-goal.txt)
[Personen_ini.xml](/uploads/26c7559ed1e1b4e2695fcad5685ec12b/Personen_ini.xml)
I do another simulation to see if the error occurs again.
For the small setup (Aufgabe6 - #316) there is no problem anymore.Mohcine Chraibim.chraibi@fz-juelich.deMohcine Chraibim.chraibi@fz-juelich.dehttps://gitlab.jsc.fz-juelich.de/jupedsim/jpscore/-/issues/315Separation of pedestrian flows2019-05-11T00:40:21+02:00Ghost UserSeparation of pedestrian flowsFor our lecture "Evakuierungssimulation" we have an exercise to investigate the separation of pedestrian flows.
The result should be: evacuation-time variation a > evacuation-time variation b.
In the last lectures (SoSe 2018) the resu...For our lecture "Evakuierungssimulation" we have an exercise to investigate the separation of pedestrian flows.
The result should be: evacuation-time variation a > evacuation-time variation b.
In the last lectures (SoSe 2018) the results were as expected. When I rerunned the simulations for the current lectures (SoSe 2019) the result was totally different (with the same ini-file)! See the attached plots.
[Raum_2_a.xml](/uploads/165c5c314ffd73724dc32cbeb75a8f2f/Raum_2_a.xml)
[Raum_2_b.xml](/uploads/e26e39a7e2a69ccf4592c7cc597a4d4a/Raum_2_b.xml)
[Aufgabe4a_ini.xml](/uploads/e9b1edc57fbaee75fa1874429a0fc0eb/Aufgabe4a_ini.xml)
[Aufgabe4b_ini.xml](/uploads/47e8d7612162be80331d42389a69dd61/Aufgabe4b_ini.xml)
![Plot_Aufgabe4-alt](/uploads/fd276025b018d54994c98969223ab336/Plot_Aufgabe4-alt.png)
![Plot_Aufgabe4-neu](/uploads/52a615a20b75eaf14f5c4085cb70b7fc/Plot_Aufgabe4-neu.png)Mohcine Chraibim.chraibi@fz-juelich.deMohcine Chraibim.chraibi@fz-juelich.de