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

remove condition to disengage when angular velocity gets 0

parent 8ccc1e62
Branches
Tags
No related merge requests found
......@@ -220,7 +220,8 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
_shiftTime = absTime;
}
IResponse retVal;
if (ClutchClosed(absTime) && !angularVelocity.IsEqual(0)) {
// TODO: MQ 2016/03/10: investigate further the effects of having the condition angularvelocity != 0
if (ClutchClosed(absTime) /* && !angularVelocity.IsEqual(0) */) {
retVal = RequestGearEngaged(absTime, dt, torque, angularVelocity, dryRun);
} else {
retVal = RequestGearDisengaged(absTime, dt, torque, angularVelocity, dryRun);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment