Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friction #10697

Merged
merged 833 commits into from
May 9, 2022
Merged

Friction #10697

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
833 commits
Select commit Hold shift + click to select a range
6c3f5d2
fix #10588
namdre Apr 26, 2022
e682b30
fix #10591
namdre Apr 26, 2022
b2dce78
Added updateDailyVersion.py. Refs #10086
palvarezlopez Apr 26, 2022
92b5668
Fixed #10086
palvarezlopez Apr 26, 2022
0876693
Added documentation for aggregateBatteryOutput. Refs #2
palvarezlopez Apr 26, 2022
0d05ead
Changelog. Refs #2
palvarezlopez Apr 26, 2022
969521b
adapting test #10589 #21
behrisch Apr 26, 2022
0b0bf3b
fix #10595
namdre Apr 26, 2022
c6493d1
Now saveAs... buttons are only enabled if there is elements to save. …
palvarezlopez Apr 26, 2022
8d080b2
fix #10582
namdre Apr 26, 2022
84bf89b
patching expected results refs #21, #10582
namdre Apr 26, 2022
405e5a9
Separator is hidden in supermode Data. Refs #10426
palvarezlopez Apr 26, 2022
4e99b77
Revert fix for #10582: Sometimes empty street names are intentional (…
namdre Apr 26, 2022
67f74db
Updated EditMenuCommands. Refs #10426
palvarezlopez Apr 26, 2022
a77b18a
Updated NETEDIT test. Refs #3045
palvarezlopez Apr 27, 2022
e2caeb0
adding test refs #10597, #21
namdre Apr 27, 2022
3b3cb0c
activating more meso test refs #21
namdre Apr 27, 2022
5e54ba6
fix #10600
namdre Apr 27, 2022
5a1a858
patching meso results refs #21, #10600
namdre Apr 27, 2022
3f772f1
NEMA Controller Re-write + SUMO UC 2022 Fixes / Tweaks (#10598)
mschrader15 Apr 27, 2022
0c0e957
patching expected results refs #21, #10598
namdre Apr 27, 2022
d2843e5
correcting error message time formatting from steps (ms) to seconds #…
namdre Apr 27, 2022
4c90c76
patching expected results refs #21, #10598
namdre Apr 27, 2022
fa18406
#2 fixing internal link
angelobanse Apr 27, 2022
2611285
added test refs #10599, #21
namdre Apr 27, 2022
995f7ca
fix #10599
namdre Apr 27, 2022
1f7dd3f
added test refs #10603, #21
namdre Apr 27, 2022
e444de5
fix #10603
namdre Apr 27, 2022
7f065df
patching expected results refs #21, #10603
namdre Apr 27, 2022
2ce2bf1
fix #10582
namdre Apr 27, 2022
6c45581
patching expected results refs #21, #10582
namdre Apr 27, 2022
f62b829
fixing warnings #3 #10595
behrisch Apr 27, 2022
1c2d671
improving emergency braking warning #10604 fixing more warnings
behrisch Apr 27, 2022
045adf7
adapting tests to emergency braking warning #21 fix #10604
behrisch Apr 27, 2022
405a04c
adding map providers #9787 fix #10506
behrisch Apr 27, 2022
770b984
patching expected results refs #21, #10582
namdre Apr 27, 2022
bd2f38b
Updated NETEDIT test. Refs #3045
palvarezlopez Apr 27, 2022
4e21ae8
Added new reload options. Refs #10426
palvarezlopez Apr 27, 2022
5d533ca
Minor update in GNEApplicationWindow. Refs #10426
palvarezlopez Apr 27, 2022
f1aabd4
Fixed #10426
palvarezlopez Apr 27, 2022
eacb3d1
fix #10606
namdre Apr 27, 2022
8f8fe54
patching expected results refs #21, #10606
namdre Apr 27, 2022
5512512
Updated NETEDIT test. Refs #3045
palvarezlopez Apr 27, 2022
2c2d03f
Updated NETEDIT test. Refs #3045
palvarezlopez Apr 27, 2022
6cdd8b5
added test refs #10610, #21
namdre Apr 27, 2022
6b9459f
fix #106106
namdre Apr 27, 2022
719861d
added test refs #10612, #21
namdre Apr 27, 2022
3c08681
fix #10612
namdre Apr 27, 2022
9221dc7
Updated NETEDIT test. Refs #3045
palvarezlopez Apr 27, 2022
a333fcf
fix #10613
namdre Apr 27, 2022
a5fce79
patching expected results refs #21, #10613
namdre Apr 27, 2022
0adf49c
adapting meso tests #21
behrisch Apr 27, 2022
49e3b41
enabling more tests #10602
behrisch Apr 27, 2022
b659d63
added test refs #10614, #21
namdre Apr 27, 2022
d44787a
fix #10614
namdre Apr 27, 2022
4dae7ac
patching expected results refs #21, #10604
namdre Apr 27, 2022
49bed9b
added tests refs #10615, #21
namdre Apr 27, 2022
486b0e4
fix #10615
namdre Apr 27, 2022
5ef7175
Updated NETEDIT test. Refs #3045
palvarezlopez Apr 27, 2022
7daf505
Updated NETEDIT test. Refs #3045
palvarezlopez Apr 27, 2022
dc001f1
fixing style #22
behrisch Apr 27, 2022
1063611
patching expected results refs #21, #10604
namdre Apr 27, 2022
d527c38
patching expected results refs #21, #10582
namdre Apr 27, 2022
58f5830
#2 updated deprecated method name
namdre Apr 28, 2022
aec173e
testing whether extra tests do run at all #21
behrisch Apr 28, 2022
aaa0ccd
compatibility with stone age compilers #3
behrisch Apr 28, 2022
8fe4124
Fixed #10622 and fixed #10588
palvarezlopez Apr 28, 2022
7f07999
Added new NETEDIT test. Refs #3045, #10588 #10591
palvarezlopez Apr 28, 2022
87fbbb0
tweaking debug code
namdre Apr 28, 2022
c04f375
added test refs #10626, #21
namdre Apr 28, 2022
2ec863b
added test refs #10625, #21
namdre Apr 28, 2022
fcacbe6
Fixed #10627
palvarezlopez Apr 28, 2022
a0b8a7a
refactoring refs #12
namdre Apr 28, 2022
5b364b0
fix #10625
namdre Apr 28, 2022
3780045
patching expected results refs #21, #10625
namdre Apr 28, 2022
40a7bb4
added test refs #10628, #21
namdre Apr 28, 2022
c2e2f35
fix #10628
namdre Apr 28, 2022
fcdcfe2
patching expected results refs #21, #10628
namdre Apr 28, 2022
c9625cf
addendum refs #10628
namdre Apr 28, 2022
ce425c7
patching expected results refs #21, #10628
namdre Apr 28, 2022
5d377a6
Added new NETEDIT test. Refs #3045
palvarezlopez Apr 28, 2022
98882ac
Updated NETEDIT tests. Refs #3045
palvarezlopez Apr 28, 2022
9690e78
Updated NETEDIT tests. Refs #3045
palvarezlopez Apr 28, 2022
fef58cf
Fixed problem loading trips and flow over junctions. Refs #457
palvarezlopez Apr 28, 2022
5454b2c
Updated NETEDIT tests. Refs #3045
palvarezlopez Apr 28, 2022
7d34edf
Updated NETEDIT tests. Refs #3045
palvarezlopez Apr 28, 2022
6abcfcb
added emission output test refs #21
namdre Apr 29, 2022
e880574
added test refs #10632, #21
namdre Apr 29, 2022
a9ee58a
added test refs #10632, #21
namdre Apr 29, 2022
3677e1a
refactoring refs #12
namdre Apr 29, 2022
a433a1f
storing routeID for walk refs #10632
namdre Apr 29, 2022
6784bd2
added test refs #10632, #21
namdre Apr 29, 2022
ec4f168
fix #10632
namdre Apr 29, 2022
f1b605c
fix #10633
namdre Apr 29, 2022
dcc9642
fix #10629
namdre Apr 29, 2022
d8b1b0c
fix #10635
namdre Apr 29, 2022
3e48616
#2 Changelog
namdre Apr 29, 2022
288478f
fix #10608
namdre Apr 29, 2022
78161c6
fix #10636 (default appearance unchanged)
namdre Apr 29, 2022
369b0d1
adding failing test #21 #10637
behrisch Apr 29, 2022
61c9fad
fix #10634
namdre Apr 29, 2022
128af04
Updated aggregateBatteryOutput.py. Refs #10609
palvarezlopez Apr 29, 2022
739693a
Updated aggregateBatteryOutput.py. Refs #10609
palvarezlopez Apr 29, 2022
453819a
Updated aggregateBatteryOutput.py. Refs #10609
palvarezlopez Apr 29, 2022
58604c1
Updated aggregateBatteryOutput.py. Refs #10609
palvarezlopez Apr 29, 2022
9e19447
Fixed #10609
palvarezlopez Apr 29, 2022
854df28
Added new test. Refs #10609
palvarezlopez Apr 29, 2022
5320d29
fix #10637
namdre Apr 29, 2022
913521a
patching expected results refs #21, #10637
namdre Apr 29, 2022
c12da3b
tweaking warning refs #8992
namdre Apr 29, 2022
0caadc4
patching expected results refs #21, #8992
namdre Apr 29, 2022
5282a1d
#2 minor wording changes
namdre Apr 29, 2022
55e19de
patching expected results refs #21, #10637
namdre Apr 30, 2022
9022e72
tweaking debug code
namdre Apr 30, 2022
0eaca88
added test refs #10641, #21
namdre Apr 30, 2022
57ce158
fix #10641
namdre Apr 30, 2022
fa20cdc
patching expected results refs #21, #10641
namdre Apr 30, 2022
13562ea
removing plot output refs #21
namdre Apr 30, 2022
96f36ad
yield to dangerous (junction) foes when stuck on junction after green…
namdre Apr 30, 2022
3bc7cac
patching expected results refs #21, #8124
namdre Apr 30, 2022
49ba78a
now react to approaching (moving) foes while stuck on junction after …
namdre Apr 30, 2022
63a69b5
patching expected results refs #21, #8124
namdre Apr 30, 2022
569bf26
added test refs #8124
namdre Apr 30, 2022
91e98ee
documented new method parameter refs #2
namdre Apr 30, 2022
c0532e8
added new tool refs #10642
namdre Apr 30, 2022
24ba242
added test refs #10643, #21
namdre Apr 30, 2022
439a490
fix #10643
namdre Apr 30, 2022
eda1214
using file name as default id when loading multiple files. refs #10643
namdre Apr 30, 2022
a6b9684
moved tool refs #10642
namdre May 1, 2022
7229b04
error handling refs #10642
namdre May 1, 2022
cc835d4
added test refs #10642, #21
namdre May 1, 2022
91caa0e
#2 doc #10642
namdre May 1, 2022
54f4e82
#2 attributeStats with multiple input files
namdre May 1, 2022
dbe59e5
#2 updated FAQ #10642, #10643
namdre May 1, 2022
0974d0f
typo
namdre May 1, 2022
84f95a4
patching expected results refs #21
namdre May 1, 2022
9cd1df7
#2 Changelog
namdre May 1, 2022
b758da3
adapting meso tests #21
behrisch May 1, 2022
a664479
refactoring workflows #12
behrisch May 1, 2022
814bcc9
adapting meso tests #21
behrisch May 1, 2022
54a3174
trivial projection autodetection #10646
behrisch May 1, 2022
8ec9e56
adapting tests #21 #10646
behrisch May 1, 2022
d9cc316
running astyle #22
behrisch May 2, 2022
f92333b
Now Netedit are automatic rerunned if it fails. Refs #3045
palvarezlopez May 2, 2022
787dfb2
Fixed #10649
palvarezlopez May 2, 2022
f74c2d9
Fixed #10624
palvarezlopez May 2, 2022
f3bf072
addendum refs #10624
namdre May 2, 2022
7e9d05a
fix #10647
namdre May 2, 2022
c24ea97
Minor update in tractionSubstationType. Refs #457
palvarezlopez May 2, 2022
0ecd90a
Added new NETEDIT test. Refs #3045
palvarezlopez May 2, 2022
3307e85
fixing warning #3
behrisch May 2, 2022
bf5f7a8
Removed invalid test. Refs #3045
palvarezlopez May 2, 2022
d5a7b14
fixing style #22
behrisch May 2, 2022
0e970d3
updating docs for command line options #2 #563
behrisch May 2, 2022
7d3840e
updating xsd schemata #2 #563
behrisch May 2, 2022
4b5bca8
version bump 1.13.0 #563
behrisch May 2, 2022
c3aa076
#2 Changelog clean-up
namdre May 3, 2022
e443968
after release cleanup #563
behrisch May 3, 2022
af2e428
script to disable screen lock on windows to keep the test server aliv…
behrisch May 3, 2022
b942bef
updating open build service link #2
behrisch May 3, 2022
3ba71f6
debian changelog #563 #2
behrisch May 3, 2022
f27a0cb
#2 Changelog: overhead wires were missing
namdre May 3, 2022
fe77b42
#2 wording
namdre May 3, 2022
5fd43ad
handling missing projection info in newer GDALs #10646
behrisch May 3, 2022
7ced9b0
added test refs #10665, #21
namdre May 3, 2022
4d46a1d
added tests refs #5212
namdre May 3, 2022
98c8c4a
adding ci tests #21
behrisch May 3, 2022
52089b7
moving website update to release day to avoid broken links #2
behrisch May 3, 2022
49ba152
#2 typo
angelobanse May 3, 2022
8d6d6c7
resetting lanechanger state after teleport. refs #10665
namdre May 4, 2022
3c8635a
ignoring leaders beyond red light for lane changing. fix #10665
namdre May 4, 2022
8813e81
patching expected results refs #21, #10665
namdre May 4, 2022
ccbc9c3
addendum refs #10665 (sublane model)
namdre May 4, 2022
0393fcd
patching expected results refs #21, #10665
namdre May 4, 2022
243495d
updating network offset and expected shapes. fix #10646, #21
namdre May 4, 2022
0623796
consistent use of yellow-link coloring. fix #10651
namdre May 4, 2022
f7fb923
patching meso results refs #21
namdre May 4, 2022
21b90ca
#2 Changelog 1.13.0 leftovers
namdre May 4, 2022
eb22c68
can now ignore jammed detectors. refs #5212
namdre May 4, 2022
f061295
patching expected results refs #21, #5212
namdre May 4, 2022
3a35f8a
trying to make tests less sensitive to parallel processes #21
behrisch May 4, 2022
85192a6
adapting extraction config to different checkout names #21
behrisch May 4, 2022
4ab89f5
can override lane-specific parameters. refs #5212
namdre May 4, 2022
d28a431
added tests refs #21, #5212
namdre May 4, 2022
61ceb50
fix #10671
namdre May 4, 2022
089f7b0
now indicating jammed detectors (orange,crossed-out). refs #5212
namdre May 4, 2022
618a0ba
#2 formatting
namdre May 4, 2022
2db5028
#2 note on opening brackets in xml attributes
namdre May 4, 2022
0828bc2
introducing optional inductionLoop length. refs #10668
namdre May 4, 2022
e23eed3
alternative drawing style for inductionLoop with length. refs #10668
namdre May 4, 2022
52a1844
#2 doc #5212, #10668
namdre May 4, 2022
6a85e1c
Fixed #9529
palvarezlopez May 4, 2022
15c16ad
addendum refs #10089
namdre May 4, 2022
0528c14
patching expected results refs #21, #10089
namdre May 4, 2022
4057535
Added matrix counter in FPS counter. Refs #10425
palvarezlopez May 4, 2022
96cb55c
patching expected results refs #21, #10089
namdre May 4, 2022
2f8887e
translating from spanisch 'requiere' to english 'require'. refs #12
namdre May 4, 2022
ac01777
Added vertexCounter. Refs #10425
palvarezlopez May 4, 2022
effe085
Added define for enable or disable count vertex and matrix. Refs #10425
palvarezlopez May 4, 2022
0ba2048
Fix unclosed socket in TraCI `Connection` initializer (#10670)
Gamenot May 4, 2022
a3e94e7
trying to fix clang13 warnings #3
behrisch May 4, 2022
562b767
tweaking debug code
namdre May 5, 2022
8b9d3a3
added test refs #10676, #21
namdre May 5, 2022
39e053e
fix #10676
namdre May 5, 2022
c7ba1fa
re-organized actuated tests with default branching logic. refs #21
namdre May 5, 2022
00728c3
re-organized tls tests (this suite has become too big to qualify as '…
namdre May 5, 2022
d19a46f
added test refs #10668, #21
namdre May 5, 2022
28d782a
#2 doc #10668
namdre May 5, 2022
89ebcb0
#2 Changelog
namdre May 5, 2022
6372a3e
fixing route file encoding #22
behrisch May 5, 2022
12581b1
Added regenerate button. Refs #9072
palvarezlopez May 5, 2022
a2cd177
Updated GNEJunction. Refs #9072
palvarezlopez May 5, 2022
b8f3c2f
Updated GNEChange_TLS. Refs #9072
palvarezlopez May 5, 2022
ea6b97e
Minor update in GNETLSEditorFrame. Refs #9072
palvarezlopez May 5, 2022
3428d0b
Updated PersonPlans. Refs #10607
palvarezlopez May 5, 2022
b4ebb80
Fixed #10607
palvarezlopez May 5, 2022
8c6a1eb
cosmetics &update to 1.13
ewht May 5, 2022
98806bf
Fixed #7142
palvarezlopez May 5, 2022
c086a56
#2 small wording corrections
namdre May 5, 2022
76c2dd3
Merge branch 'eclipse:main' into main
ewht May 5, 2022
d0ccf7f
update to 1.13
ewht May 5, 2022
978e484
renamed test input refs #21
namdre May 5, 2022
a83ccca
added test refs #9280, #5212, #21
namdre May 5, 2022
5d54279
jam-detection makes all detectors usable. refs #5212, fix #9280
namdre May 5, 2022
7399f05
patching expected results refs #21, #9280
namdre May 5, 2022
c48276f
Merge remote-tracking branch 'upstream/main'
ewht May 5, 2022
5a2bca9
make 'period' main attribute and allow 'freq' as alias; refs #10390
May 5, 2022
c997b4d
update test results; refs #21 #10390
May 5, 2022
fe7f0e8
delete tests
ewht May 5, 2022
74611dd
update to 1.13
ewht May 5, 2022
880fb9f
update readme
ewht May 5, 2022
7a93744
fix merge 1.13
ewht May 5, 2022
ebd1bbc
Merge branch 'main' into friction
ewht May 5, 2022
cd7edd4
keep updating 1.13
ewht May 5, 2022
698d00a
trying to speed up appveyor #10689
behrisch May 5, 2022
501bae7
using proper warnings fix 10666
behrisch May 5, 2022
64b6900
Merge branch 'main' into friction
ewht May 5, 2022
8c0d8be
keeping up with upstream 1.13
ewht May 5, 2022
662fcc7
friction 1.13
ewht May 6, 2022
dfc2497
netgen&netcon meta tests friction
ewht May 6, 2022
4cd306f
fixing tests
ewht May 6, 2022
670cd6c
fixing tests
ewht May 6, 2022
0511d9d
fixing tests
ewht May 6, 2022
fb25412
main GUISUMOVIiesParent
ewht May 6, 2022
9ebc5fa
keep updating 1.13
ewht May 6, 2022
4b92b6d
updating to 1.13
ewht May 9, 2022
206d15c
merge 1.13
ewht May 9, 2022
ba50562
merge 1.13
ewht May 9, 2022
5d1c393
merge 1.13
ewht May 9, 2022
d9a448b
merge 1.13
ewht May 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 3 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ environment:
ver: 2019
generator: "Visual Studio 16 2019"
configuration: Release
cmake_opts: "-DENABLE_JAVA_BINDINGS=0"
PYTHON: C:\Python37-x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ver: 2019
Expand All @@ -33,15 +34,15 @@ environment:
PYTHON: C:\Python37-x64

install:
- git clone --recurse-submodules https://github.com/DLR-TS/SUMOLibraries
- git clone --depth 1 https://github.com/DLR-TS/SUMOLibraries
- set SUMO_LIBRARIES=%CD%\SUMOLibraries
- "%PYTHON%\\python.exe -m pip install wheel"

build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build_msvc%ver% &&
cd build_msvc%ver% &&
cmake .. -G"%generator%" -A x64 -DPYTHON_EXECUTABLE=%PYTHON%\python.exe &&
cmake .. -G"%generator%" -A x64 -DPYTHON_EXECUTABLE=%PYTHON%\python.exe %cmake_opts% &&
cmake --build . --config %configuration% && cd .. &&
%PYTHON%\python.exe tools\build\setup-libsumo.py bdist_wheel

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ jobs:
cd sumo/cmake-build
make CTEST_OUTPUT_ON_FAILURE=1 examples test

- name: Extra tests
if: matrix.build_type == 'full' && github.repository == 'DLR-TS/sumo'
run: |
sumo/tests/runTests.sh -b ci -a sumo.meso.ci
sumo/tests/runTests.sh -b ci -a netconvert.gdal.ci,polyconvert.gdal.ci

- name: Uploading artifacts (SUMO binaries)
uses: actions/upload-artifact@v1
with:
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build-type: [plain, extra]
build_type: [plain, extra]
env:
CC: cl
CXX: cl
Expand All @@ -47,17 +47,17 @@ jobs:
uses: actions/cache@v2
with:
path: C:\Users\runneradmin\AppData\Local\Mozilla\sccache\cache
key: ${{ matrix.build-type }}-${{ github.head_ref }}-${{ github.run_number }}
key: ${{ matrix.build_type }}-${{ github.head_ref }}-${{ github.run_number }}
restore-keys: |
${{ matrix.build-type }}-${{ github.head_ref }}-
${{ matrix.build-type }}-
${{ matrix.build_type }}-${{ github.head_ref }}-
${{ matrix.build_type }}-

# required for CMake to find Ninja
- name: "Set up MSVC Developer Command Prompt"
uses: seanmiddleditch/gha-setup-vsdevenv@v3

- name: Configuring SUMO plain build
if: matrix.build-type == 'plain'
if: matrix.build_type == 'plain'
run: |
python -m pip install wheel
cd sumo
Expand All @@ -66,13 +66,13 @@ jobs:
cmake .. -GNinja -DCHECK_OPTIONAL_LIBS=false

- name: Building SUMO plain
if: matrix.build-type == 'plain'
if: matrix.build_type == 'plain'
run: |
cd sumo
cmake --build build_msvc --config Release

- name: Building SUMO extra
if: matrix.build-type == 'extra'
if: matrix.build_type == 'extra'
run: |
cd sumo
mkdir build_msvc
Expand All @@ -88,12 +88,12 @@ jobs:
- name: Uploading artifacts (SUMO binaries)
uses: actions/upload-artifact@v2
with:
name: Windows-${{ matrix.build-type }}
name: Windows-${{ matrix.build_type }}
path: sumo/bin
retention-days: 30

- name: Plain examples and tests
if: matrix.build-type == 'plain'
if: matrix.build_type == 'plain'
run: |
cd sumo/build_msvc
$env:TEXTTEST_TMP = "D:/texttest"
Expand All @@ -103,14 +103,16 @@ jobs:
ctest -R texttest --verbose

- name: Examples and extra tests
if: matrix.build-type == 'extra' && github.repository == 'DLR-TS/sumo'
if: matrix.build_type == 'extra' && github.repository == 'DLR-TS/sumo'
run: |
python -m pip install -r sumo/tools/requirements.txt
cd sumo/build_msvc
cmake --build . --config Release --target examples
$env:TEXTTEST_TMP = "D:/texttest"
$env:TEXTTEST_CI_APPS = "-a complex,tools,traci"
ctest --build-config Release --verbose
$env:TEXTTEST_CI_APPS = "-a sumo.meso,netconvert.gdal,polyconvert.gdal"
ctest --build-config Release --verbose

- name: Compressing test results
if: always() && github.repository == 'DLR-TS/sumo'
Expand All @@ -123,6 +125,6 @@ jobs:
if: always() && github.repository == 'DLR-TS/sumo'
uses: actions/upload-artifact@v2
with:
name: texttesttmp-${{ matrix.build-type }}
name: texttesttmp-${{ matrix.build_type }}
path: D:/texttest/tt.zip
if-no-files-found: warn
23 changes: 12 additions & 11 deletions .github/workflows/wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
strategy:
fail-fast: false
matrix:
build-type: [libsumo]
build_type: [libsumo]
python: [3.7, 3.8, 3.9, '3.10']
include:
- build-type: sumo
- build_type: sumo
python: 3.8
env:
CC: cl
Expand Down Expand Up @@ -57,17 +57,17 @@ jobs:
uses: actions/cache@v2
with:
path: C:\Users\runneradmin\AppData\Local\Mozilla\sccache\cache
key: ${{ matrix.build-type }}-${{ matrix.python }}-${{ github.head_ref }}-${{ github.run_number }}
key: ${{ matrix.build_type }}-${{ matrix.python }}-${{ github.head_ref }}-${{ github.run_number }}
restore-keys: |
${{ matrix.build-type }}-${{ matrix.python }}-${{ github.head_ref }}-
${{ matrix.build-type }}-${{ matrix.python }}-
${{ matrix.build_type }}-${{ matrix.python }}-${{ github.head_ref }}-
${{ matrix.build_type }}-${{ matrix.python }}-

# required for CMake to find Ninja
- name: "Set up MSVC Developer Command Prompt"
uses: seanmiddleditch/gha-setup-vsdevenv@v3

- name: Configuring SUMO plain build
if: matrix.build-type == 'libsumo'
if: matrix.build_type == 'libsumo'
run: |
python -m pip install wheel
cd sumo
Expand All @@ -76,15 +76,16 @@ jobs:
cmake .. -GNinja -DCHECK_OPTIONAL_LIBS=false

- name: Building libsumo plain
if: matrix.build-type == 'libsumo'
if: matrix.build_type == 'libsumo'
run: |
cd sumo
cmake --build build_msvc --config Release --target libsumo libtraci
xcopy /s data .\tools\libsumo\data\
python tools\build\setup-libsumo.py bdist_wheel --plat-name win_amd64
python tools\build\setup-libtraci.py bdist_wheel --plat-name win_amd64

- name: Building SUMO Wheels
if: matrix.build-type == 'sumo'
if: matrix.build_type == 'sumo'
run: |
python -m pip install wheel scikit-build
cd sumo
Expand All @@ -96,11 +97,11 @@ jobs:
- name: Uploading artifacts
uses: actions/upload-artifact@v1
with:
name: Py3-${{ matrix.build-type }}-wheels
name: Py3-${{ matrix.build_type }}-wheels
path: sumo/dist

- name: Plain libsumo tests
if: matrix.build-type == 'libsumo'
if: matrix.build_type == 'libsumo'
run: |
$env:PATH += ";$pwd\sumo\bin"
$env:TEXTTEST_TMP = "D:/texttest"
Expand All @@ -113,7 +114,7 @@ jobs:
if: always()
uses: actions/upload-artifact@v2
with:
name: texttesttmp-${{ matrix.build-type }}-${{ matrix.python }}
name: texttesttmp-${{ matrix.build_type }}-${{ matrix.python }}
path: D:/texttest
if-no-files-found: warn

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/cmake_build*
/build/cmake-build*
/build/cmake_build*
/build/CMAKE*
/build/cmake-codeblocks*
/build/cmake-clang*
/build/cmake-mingw*
Expand Down
14 changes: 8 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ if (CHECK_OPTIONAL_LIBS)
file(GLOB OSG_PATH "${SUMO_LIBRARIES}/OSG-?.?.?")
file(GLOB GL2PS_PATH "${SUMO_LIBRARIES}${LIB_VERSION}/gl2ps-?.?.?")
set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${GDAL_PATH};${FFMPEG_PATH};${OSG_PATH};${GL2PS_PATH}")
file(GLOB SUMO_OPTIONAL_LIBRARIES_DLL "${GDAL_PATH}/bin/*.dll" "${FFMPEG_PATH}/bin/*.dll" "${GL2PS_PATH}/bin/*.dll")
file(GLOB SUMO_OPTIONAL_LIBRARIES_DLL "${GDAL_PATH}/bin/*.dll" "${FFMPEG_PATH}/bin/*.dll" "${OSG_PATH}/bin/*.dll" "${GL2PS_PATH}/bin/*.dll")

# GDAL (for geopositioning)
find_package(GDAL)
Expand Down Expand Up @@ -486,12 +486,14 @@ if (SUMO_LIBRARIES AND WIN32)
endforeach(DLL_PATH)
# copy OSG dlls
if (HAVE_OSG)
file(GLOB OSG_DLL "${OSG_PATH}/bin/*osg.dll")
get_filename_component(OSG_DLL_BASENAME ${OSG_DLL} NAME)
set(OSG_TARGET ${CMAKE_SOURCE_DIR}/bin/${OSG_DLL_BASENAME})
file(GLOB OSG_PLUGIN_DLL "${OSG_PATH}/bin/osgPlugins*/osgdb_osg.dll")
get_filename_component(OSG_PLUGIN_DLL_BASENAME ${OSG_PLUGIN_DLL} NAME)
get_filename_component(OSG_PLUGIN_DIR ${OSG_PLUGIN_DLL} DIRECTORY)
get_filename_component(OSG_PLUGIN_DIR ${OSG_PLUGIN_DIR} NAME)
set(OSG_TARGET ${CMAKE_SOURCE_DIR}/bin/${OSG_PLUGIN_DIR}/${OSG_PLUGIN_DLL_BASENAME})
add_custom_command(OUTPUT ${OSG_TARGET}
COMMAND ${CMAKE_COMMAND} -E copy_directory ${OSG_PATH}/bin ${CMAKE_SOURCE_DIR}/bin
DEPENDS ${OSG_DLL})
COMMAND ${CMAKE_COMMAND} -E copy_directory ${OSG_PATH}/bin/${OSG_PLUGIN_DIR} ${CMAKE_SOURCE_DIR}/bin/${OSG_PLUGIN_DIR}
DEPENDS ${OSG_PLUGIN_DLL})
endif (HAVE_OSG)
# proj 7 needs to copy "share/proj" folder in SUMO_HOME/share
set(PROJ_DATA ${CMAKE_SOURCE_DIR}/share/proj/proj.db)
Expand Down
8 changes: 7 additions & 1 deletion build/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
sumo (1.13.0-1) focal; urgency=medium

* new upstream version

-- Michael Behrisch <oss@behrisch.de> Tue, 03 May 2022 09:01:33 +0200

sumo (1.12.0-6) focal; urgency=medium

* added missing executables, headers and libs

-- Michael Behrisch <oss@behrisch.de> Thu, 10 Feb 2022 11:14:50 +0100

sumo (1.12.0) focal; urgency=medium
sumo (1.12.0-1) focal; urgency=medium

* new upstream version

Expand Down
2 changes: 2 additions & 0 deletions build/package/sumo.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
</screenshots>
<content_rating type="oars-1.1"/>
<releases>
<release version="v1_13_0" date="2022-05-03"/>
<release version="v1_12_0" date="2022-01-25"/>
<release version="v1_11_0" date="2021-11-22"/>
</releases>
</component>
Expand Down
33 changes: 17 additions & 16 deletions cmake-variants.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildType:
default: debug
default: release
description: Switch between debug and release build type
choices:
debug:
Expand All @@ -8,28 +8,29 @@ buildType:
buildType: Debug
settings:
CMAKE_BUILD_TYPE: Debug
minimal:
short: Minimal
long: Minimal build without optional libs / GUI
buildType: Release
settings:
CMAKE_BUILD_TYPE: Release
CHECK_OPTIONAL_LIBS: no
FOX_CONFIG: ''
BINARY_SUFFIX: M
profiling:
short: Profiling
long: Profiling
buildType: RelWithDebInfo
settings:
CMAKE_BUILD_TYPE: RelWithDebInfo
PROFILING: yes
release:
short: Release
long: Release
buildType: Release
settings:
CMAKE_BUILD_TYPE: Release

useFMI:
default: 'no'
description: Enable building of FMUs for SUMO
choices:
'yes':
short: FMI
long: FMI
settings:
FMI: 'yes'
'no':
short: 'noFMI'
long: 'noFMI'
settings:
FMI: 'no'

pythonBindings:
default: 'default'
description: Enable Python bindings?
Expand Down
4 changes: 3 additions & 1 deletion data/xsd/additional_file.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
<xsd:attribute name="id" type="detectorIdType" use="required"/>
<xsd:attribute name="lane" type="xsd:string" use="required"/>
<xsd:attribute name="pos" type="xsd:float" use="required"/>
<xsd:attribute name="length" type="nonNegativeFloatType" use="optional"/>
<xsd:attribute name="freq" type="positiveFloatType" use="required"/>
<xsd:attribute name="file" type="xsd:string" use="required"/>
<xsd:attribute name="vTypes" type="xsd:string" use="optional"/>
Expand Down Expand Up @@ -418,7 +419,7 @@
<xsd:attribute name="lines" type="xsd:string" use="optional"/>
<xsd:attribute name="power" type="xsd:float" use="optional"/>
<xsd:attribute name="efficiency" type="xsd:float" use="optional"/>
<xsd:attribute name="chargeInTransit" type="xsd:float" use="optional"/>
<xsd:attribute name="chargeInTransit" type="boolType" use="optional"/>
<xsd:attribute name="chargeDelay" type="xsd:float" use="optional"/>
</xsd:complexType>

Expand All @@ -441,6 +442,7 @@
<xsd:attribute name="id" type="idType" use="required"/>
<xsd:attribute name="voltage" type="xsd:float" use="optional"/>
<xsd:attribute name="currentLimit" type="xsd:float" use="optional"/>
<xsd:attribute name="pos" type="xsd:string" use="optional"/>
</xsd:complexType>

<xsd:complexType name="overheadWireClampType">
Expand Down
6 changes: 3 additions & 3 deletions data/xsd/datamode_file.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@
<xsd:complexType name="edgeDataType">
<xsd:attribute name="id" type="xsd:string" use="required"/>
<xsd:attribute name="count" type="xsd:float" use="optional"/>
<xsd:anyAttribute/>
<xsd:anyAttribute processContents="lax"/>
</xsd:complexType>

<xsd:complexType name="edgeRelationType">
<xsd:attribute name="from" type="xsd:string" use="required"/>
<xsd:attribute name="to" type="xsd:string" use="required"/>
<xsd:attribute name="count" type="xsd:float" use="optional"/>
<xsd:attribute name="probability" type="xsd:float" use="optional"/>
<xsd:anyAttribute/>
<xsd:anyAttribute processContents="lax"/>
</xsd:complexType>

<xsd:complexType name="tazRelationType">
<xsd:attribute name="from" type="xsd:string" use="required"/>
<xsd:attribute name="to" type="xsd:string" use="required"/>
<xsd:attribute name="count" type="xsd:float" use="optional"/>
<xsd:anyAttribute/>
<xsd:anyAttribute processContents="lax"/>
</xsd:complexType>

</xsd:schema>
Loading