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 ddb68da1 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

remove comments

parent 624bc48c
Branches
Tags
No related merge requests found
...@@ -1203,10 +1203,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies ...@@ -1203,10 +1203,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
var allowEmergencyDownshift = false; var allowEmergencyDownshift = false;
foreach (var nextGear in GearList.IterateGears(GearList.Predecessor(gear, (uint)gearRangeDownshift), GearList.Successor(gear, (uint)gearRangeUpshift))) { foreach (var nextGear in GearList.IterateGears(GearList.Predecessor(gear, (uint)gearRangeDownshift), GearList.Successor(gear, (uint)gearRangeUpshift))) {
//for (uint nextGear = (uint)Math.Max(1, gear - gearRangeDownshift);
//nextGear <= Math.Min(numGears, gear + gearRangeUpshift);
//nextGear++) {
var emOffEntry = EvaluateConfigsForGear(absTime, dt, outTorque, outAngularVelocity, nextGear, allowICEOff, responses, emPos, dryRun); var emOffEntry = EvaluateConfigsForGear(absTime, dt, outTorque, outAngularVelocity, nextGear, allowICEOff, responses, emPos, dryRun);
if (emOffEntry == null) { if (emOffEntry == null) {
...@@ -1248,8 +1244,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies ...@@ -1248,8 +1244,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
responses.Add(emOffEntry); responses.Add(emOffEntry);
//var emTqReq = (emOffEntry.Response.ElectricMotor.PowerRequest + emOffEntry.Response.ElectricMotor.InertiaPowerDemand) /
// emOffEntry.Response.ElectricMotor.AngularVelocity;
var emTqReq = emOffEntry.Response.ElectricMotor.TorqueRequest + var emTqReq = emOffEntry.Response.ElectricMotor.TorqueRequest +
emOffEntry.Response.ElectricMotor.InertiaTorque; emOffEntry.Response.ElectricMotor.InertiaTorque;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment