public void resetVelocityForFrictionCalculation() { velocityForFrictionCalculation.reset(); }
public void resetVelocityForFrictionCalculation() { velocityForFrictionCalculation.reset(); }
private AlphaFilteredYoVariable(String name, String description, YoVariableRegistry registry, double alpha, DoubleYoVariable alphaVariable, DoubleYoVariable positionVariable) { super(name, description, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", description, registry); position = positionVariable; this.alphaVariable = alphaVariable; this.alpha = alpha; reset(); }
public AlphaFilteredYoVariable(String name, String description, YoVariableRegistry registry, DoubleProvider alphaVariable, YoDouble positionVariable) { super(name, description, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", description, registry); this.position = positionVariable; if (alphaVariable == null) alphaVariable = createAlphaYoDouble(name, 0.0, registry); this.alphaVariable = alphaVariable; reset(); }
public void setOffsetFiltered(double offset) { this.offsetFiltered.reset(); this.offsetFiltered.set(offset); this.offset.set(offset); }
public void setOffsetFiltered(double offset) { this.offsetFiltered.reset(); this.offsetFiltered.set(offset); this.offset.set(offset); }
timeSwitchSingularityAvoidance.set(yoTime.getDoubleValue()); heightCorrectedFilteredForSingularityAvoidance.reset(); heightVelocityCorrectedFilteredForSingularityAvoidance.reset(); heightAcceleretionCorrectedFilteredForSingularityAvoidance.reset(); heightCorrectedFilteredForSingularityAvoidance.update(desiredCenterOfMassHeightPoint.getZ()); heightVelocityCorrectedFilteredForSingularityAvoidance.update(comHeightDataToCorrect.getComHeightVelocity());