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

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

bugfix PCC segment pre-processor: if not on highway section, set target-speed...

bugfix PCC segment pre-processor: if not on highway section, set target-speed changed so that in case a highway section starts right after a stop, the pcc segment does not reach over the vehicle stop
parent 0c4d35c2
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
// pcc is only applicable on highway sections
if (!start.Highway) {
pccSegment = null;
targetSpeedChanged = end.Distance;
continue;
}
......
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