Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

start cycle simulation at a certain distance

parent 2f2026dd
No related branches found
No related tags found
No related merge requests found
......@@ -341,6 +341,12 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
}
}
internal void SetDriveOffDistance(Meter startDistance)
{
while (CycleIntervalIterator.MoveNext() && CycleIntervalIterator.RightSample.Distance < startDistance) {}
CycleIntervalIterator.MoveNext();
}
public class DrivingCycleEnumerator : IEnumerator<DrivingCycleData.DrivingCycleEntry>
{
protected int CurrentCycleIndex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment