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

Skip to content
Snippets Groups Projects
Commit b935865e authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Added Case for APTN for ResponseUnderload in DrivingActionBrake to try again...

Added Case for APTN for ResponseUnderload in DrivingActionBrake to try again searching a suitable braking power.
parent 1fcf9952
No related branches found
No related tags found
No related merge requests found
......@@ -828,7 +828,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
if (DataBus.HybridControllerInfo != null) {
DrivingAction = DrivingAction.Brake;
}
if (DataBus.GearboxInfo.GearboxType.AutomaticTransmission()) {
if (DataBus.GearboxInfo.GearboxType.AutomaticTransmission() || DataBus.GearboxInfo.GearboxType == GearboxType.APTN) {
operatingPoint = SearchBrakingPower(absTime, operatingPoint.SimulationDistance, gradient,
operatingPoint.Acceleration, response);
DriverAcceleration = operatingPoint.Acceleration;
......
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