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 f4364d50 authored by Martin Dippold's avatar Martin Dippold
Browse files

* Correction Drift calculation by file reading

parent e01b6c84
Branches
Tags milestones/3.1.8.2
No related merge requests found
......@@ -641,13 +641,12 @@ Public Module input
If InputData(sKV.Key)(tDim) > 360 Or InputData(sKV.Key)(tDim) < -360 Then
Throw New Exception("The beta_ic angle is higher then +-360°! This is not a valid angle. Please correct.")
End If
ElseIf sKV.Key = tComp.tq_l Then
CalcData(tCompCali.tq_l_c).Add(InputData(sKV.Key)(tDim) - vehicleX.tqDriftLeft * (InputData(tComp.t)(tDim) - vehicleX.tDriftZero) / (vehicleX.tDriftCheck - vehicleX.tDriftZero))
ElseIf sKV.Key = tComp.tq_r Then
CalcData(tCompCali.tq_r_c).Add(InputData(sKV.Key)(tDim) - vehicleX.tqDriftRight * (InputData(tComp.t)(tDim) - vehicleX.tDriftZero) / (vehicleX.tDriftCheck - vehicleX.tDriftZero))
End If
Next sKV
CalcData(tCompCali.tq_l_c).Add(InputData(sKV.Key)(tDim) - vehicleX.tqDriftLeft * (InputData(tComp.t)(tDim) - vehicleX.tDriftZero) / (vehicleX.tDriftCheck - vehicleX.tDriftZero))
CalcData(tCompCali.tq_r_c).Add(InputData(sKV.Key)(tDim) - vehicleX.tqDriftRight * (InputData(tComp.t)(tDim) - vehicleX.tDriftZero) / (vehicleX.tDriftCheck - vehicleX.tDriftZero))
If valid_set Then
If tDim = 0 Then
InputData.Add(tComp.user_valid, New List(Of Double))
......
......@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("3.1.8.1")>
<Assembly: AssemblyFileVersion("3.1.8.1")>
<Assembly: AssemblyVersion("3.1.8.2")>
<Assembly: AssemblyFileVersion("3.1.8.2")>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment