vadere merge requestshttps://gitlab.lrz.de/vadere/vadere/-/merge_requests2023-05-26T19:16:01+02:00https://gitlab.lrz.de/vadere/vadere/-/merge_requests/230[Simulator] Extend traci2023-05-26T19:16:01+02:00Mayr, Christina Maria[Simulator] Extend traciadded warnings and additional methods to traci for communication with flowcontroladded warnings and additional methods to traci for communication with flowcontrolhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/229:twisted_rightwards_arrows: Add emoji to commit message2023-05-25T11:25:23+02:00Rahn, Simon:twisted_rightwards_arrows: Add emoji to commit messageAdd new rule to contributing guidelines to improve clarity of commits / commit messages.Add new rule to contributing guidelines to improve clarity of commits / commit messages.Rahn, SimonRahn, Simonhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/225remove unused run 'offline again' context menu item2023-04-27T09:16:55+02:00Schuhbaeck, Stefanremove unused run 'offline again' context menu itemhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/227add argument groups to seperate requiered from optional arguments fixes #3332023-04-26T20:08:00+02:00Schuhbaeck, Stefanadd argument groups to seperate requiered from optional arguments fixes #333https://gitlab.lrz.de/vadere/vadere/-/merge_requests/223[POST-VIS] Allow recording of videos from the command line2023-01-28T14:06:54+01:00Mayr, Christina Maria[POST-VIS] Allow recording of videos from the command line## Problem
Scenarios were recorded manually by using the recording functionality of Vadere's `PostVisualization`.
For this the user needs to start the `PostVisualization` and manually trigger and stop the recording.
If videos of severa...## Problem
Scenarios were recorded manually by using the recording functionality of Vadere's `PostVisualization`.
For this the user needs to start the `PostVisualization` and manually trigger and stop the recording.
If videos of several scenarios are needed the manual recording can become extensive.
## Goal
The user should be able to generate videos automatically.
## Solution
I automated the recording process.
## How to use the feature
To generate videos, the user can either start `VideoRecorder.java` to generate a video for a single scenario or a python script to generate multiple videos at once.
For a detailed description, see the [Vadere wiki](
https://gitlab.lrz.de/vadere/vadere/-/wikis/Misc/Generate-videos).
## Notes
* I refactored `PostvisualizationWindow` (-> now `PostvisualizationWindowInteractive`).
* I added a new stage to the CI pipeline which generated videos from specified scenario files. Please see again the [Vadere wiki](
https://gitlab.lrz.de/vadere/vadere/-/wikis/Misc/Generate-videos) for more information.Mayr, Christina MariaMayr, Christina Mariahttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/222fix/workaround: ignore TraCI SET_ORDER command (required for latest Artery re...2022-11-08T19:37:24+01:00Wischhof, Larsfix/workaround: ignore TraCI SET_ORDER command (required for latest Artery releases)Wischhof, LarsWischhof, Larshttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/205x-t measure grid now sparse2022-10-21T13:48:49+02:00Ghost Userx-t measure grid now sparseSchuhbaeck, StefanMayr, Christina MariaSchuhbaeck, Stefanhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/220Implementation of the Attribute Table2022-10-04T12:52:02+02:00Jaeck, LudwigImplementation of the Attribute TableThis branch includes the refactoring of distributions of #343 This branch introduces version 2.4 with: It adds a table view for editing ScenarioElement attributes. It includes FlatLightLaf as a more modern UI Skin. It adds the ability to...This branch includes the refactoring of distributions of #343 This branch introduces version 2.4 with: It adds a table view for editing ScenarioElement attributes. It includes FlatLightLaf as a more modern UI Skin. It adds the ability to hide scenario elements in the editor. It fixes the project list panel resizing problems. It does a lot of refactoring of Attribute classes/Distribution classes and of the Topography View class
* [x] Implement ListView
* [x] Implement ShapeView
* [x] Change default behavior of @VadereAttibute Annotation such that all attributes are shown in the Gui view. Use Annotation to hide.
* [ ] UI resize issuesJaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/221add missing updateFromOutside flag toggel.2022-10-04T09:46:35+02:00Schuhbaeck, Stefanadd missing updateFromOutside flag toggel.- Small update to VadereContex
- Move Reflection calls to dedicated TreeModelCache to speed up attribute table view creation
- fix sole '-' minus in Int/Double spinner
- fix json view update during typing
- fix/workaround to mirror json ...- Small update to VadereContex
- Move Reflection calls to dedicated TreeModelCache to speed up attribute table view creation
- fix sole '-' minus in Int/Double spinner
- fix json view update during typing
- fix/workaround to mirror json changes in arrays (edit of existing items did not work)Schuhbaeck, StefanRahn, SimonSchuhbaeck, Stefanhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/213Resolve "[Target] Distributions for target waiting times"2022-09-01T13:30:52+02:00Jaeck, LudwigResolve "[Target] Distributions for target waiting times"added distributions to target objects
Closes #340added distributions to target objects
Closes #340Jaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/217Feature/textview closing paired symbols2022-08-31T14:02:26+02:00Jaeck, LudwigFeature/textview closing paired symbolsthis branch adds automatically enclossing characters for commonly used grouped characters in the json format ('"','[','{') if the user starts typing the opening kind of the pair and automatically sets the caret in between. A pair will al...this branch adds automatically enclossing characters for commonly used grouped characters in the json format ('"','[','{') if the user starts typing the opening kind of the pair and automatically sets the caret in between. A pair will also be deleted together, if there is no text in between, upon pressing backspaceJaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/215postviz progress slider now shows all steps2022-08-29T09:47:30+02:00Jaeck, Ludwigpostviz progress slider now shows all stepspreviously the slider was not reaching the end of the range in every scenario.
fixed postviz player stopping one step before end.
fixed postviz player starting at step one when the simulation starts at step 0.
fixed progress slider displ...previously the slider was not reaching the end of the range in every scenario.
fixed postviz player stopping one step before end.
fixed postviz player starting at step one when the simulation starts at step 0.
fixed progress slider displaying the full step range of the simulation.
Closes #341Jaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/216[PROCESSORS] BonnMotionTrajectoryProcessor changes trajectories in FootStepPr...2022-08-25T13:11:33+02:00Mayr, Christina Maria[PROCESSORS] BonnMotionTrajectoryProcessor changes trajectories in FootStepProcessor**Observation:**
'Wrong' trajectories, see scenario vadere/Scenarios/Demos/test_project/one_way_lane_wait_with_bonnmotion.scenario
![agent_in_obstacle](/uploads/a388db423f9933f01a989144be65f9a2/agent_in_obstacle.png)
**Problem:**
Th...**Observation:**
'Wrong' trajectories, see scenario vadere/Scenarios/Demos/test_project/one_way_lane_wait_with_bonnmotion.scenario
![agent_in_obstacle](/uploads/a388db423f9933f01a989144be65f9a2/agent_in_obstacle.png)
**Problem:**
The `BonnMotionTrajectoryProcessor` changes the trajectories stored in the `FootStepProcessor`:
```
Map<TimestepPedestrianIdKey, VPoint> trajectories = this.pedestrianPositionProcessor.getData();
trajectories.entrySet().forEach(e -> {
int pedId = e.getKey().getPedestrianId();
double time = e.getKey().getTimestep() * simTimeStepLength;
VPoint point = e.getValue();
if (attr.getOrigin().equals("upper left")){
point.y = boundHeight - point.y;
}
if(attr.isApplyOffset() && coordRef != null){
point = point.add(coordRef.getTranslation());
}
point = point.multiply(attr.getScale());
point = point.add(attr.getTranslate());
Pair<Double, VPoint> wayPoint = Pair.of(time, point);
addWayPoint(pedId, wayPoint); // HERE THE TRAJECTORY IS CHANGED
```
**Solution:**
The `BonnMotionTrajectoryProcessor` has to work on a deepcopy of the trajectories or the footsteps.
I suggest to clone the footstep:
```
for (TimestepPedestrianIdKey e : trajectories.keySet()) {
int pedId = e.getPedestrianId();
double time = e.getTimestep() * simTimeStepLength;
VPoint point = trajectories.get(e).clone(); // CLONE!!!
```
####
**Notes:**
* the BonnMotionTrajectoryProcessorTest is currently not running neither in the master branch nor in this branch, see #344 .
**Before merging:**
* please remove the example scenario files under `vadere/Scenarios/Demos/test_project`Schuhbaeck, StefanSchuhbaeck, Stefanhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/212refined play controls in postvis2022-08-16T11:24:37+02:00Jaeck, Ludwigrefined play controls in postvisButtons are now grouped and represented as toggle buttons.
Player will stop when slider reaches the endButtons are now grouped and represented as toggle buttons.
Player will stop when slider reaches the endJaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/209added ScenarioChecker topography checks for property 'absorb'2022-08-16T07:58:55+02:00Jaeck, Ludwigadded ScenarioChecker topography checks for property 'absorb'create warning if no target has absorbing = true
create warning if there are targets with absorbing = false, while there are targets that that have set absorbing = true, and a lower idcreate warning if no target has absorbing = true
create warning if there are targets with absorbing = false, while there are targets that that have set absorbing = true, and a lower idJaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/211added ScenarioChecker feature Error when shape has an area of zero2022-08-16T07:14:29+02:00Jaeck, Ludwigadded ScenarioChecker feature Error when shape has an area of zeroJaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/210refactored exposure processors2022-08-11T19:40:42+02:00Jaeck, Ludwigrefactored exposure processorsinfected agents are not processed
Closes #339infected agents are not processed
Closes #339Jaeck, LudwigRahn, SimonJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/208[Psychology] avoid empty attributes list by adding default attributes to list2022-08-11T12:57:57+02:00Mayr, Christina Maria[Psychology] avoid empty attributes list by adding default attributes to listcloses #338closes #338https://gitlab.lrz.de/vadere/vadere/-/merge_requests/206Psychology model: process first information only2022-08-11T10:07:55+02:00Mayr, Christina MariaPsychology model: process first information onlycontradictory information is ignored.
only the first info countscontradictory information is ignored.
only the first info countsMayr, Christina MariaMayr, Christina Mariahttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/204x-T Measure + bug fixes2022-07-14T09:40:35+02:00Ghost Userx-T Measure + bug fixesSchuhbaeck, StefanSchuhbaeck, Stefan