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

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.
Finish editing this message first!
Please register or to comment