Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 792138f1 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

pcc segment preprocessor: update targetspeed also in case of non-highway...

pcc segment preprocessor: update targetspeed also in case of non-highway sections to avoid that pcc sections reach into parts without highway
parent 55dfc7f3
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl ...@@ -62,7 +62,8 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
// pcc is only applicable on highway sections // pcc is only applicable on highway sections
if (!start.Highway) { if (!start.Highway) {
pccSegment = null; pccSegment = null;
continue; targetSpeedChanged = end.Distance;
continue;
} }
// only consider pcc segments where the target speed is at least the pcc-enable speed // only consider pcc segments where the target speed is at least the pcc-enable speed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment