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

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

bugfix checking for PCC option in driver strategy

parent b2c9e104
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
PCCSegments = new PCCSegments();
if (data?.VehicleData?.ADAS?.PredictiveCruiseControl != PredictiveCruiseControlType.None) {
if (ADAS.PredictiveCruiseControl != PredictiveCruiseControlType.None) {
// create a dummy powertrain for pre-processing and estimatins
var modData = new ModalDataContainer(data, null, new[] { FuelData.Diesel }, null, false);
var builder = new PowertrainBuilder(modData);
......
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