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

increase tolerance for 0 torque in at gearbox due to increased search tolerance

parent 1047ad0b
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
Log.Debug("AT-Gearbox Power Request: torque: {0}, angularVelocity: {1}", outTorque, outAngularVelocity);
var driveOffSpeed = DataBus.VehicleStopped && outAngularVelocity > 0;
var driveOffTorque = CurrentState.Disengaged && outTorque.IsGreater(0, 1e-3);
var driveOffTorque = CurrentState.Disengaged && outTorque.IsGreater(0, 1e-2);
if (!dryRun && (driveOffSpeed || driveOffTorque)) {
Gear = 1;
CurrentState.TorqueConverterLocked = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment