public FilteredVelocityYoVariable(String name, String description, DoubleYoVariable alphaVariable, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); this.position = null; this.alphaVariable = alphaVariable; this.alphaDouble = 0.0; this.dt = dt; lastPosition = new DoubleYoVariable(name + "_lastPosition", registry); reset(); }
public FilteredVelocityYoVariable(String name, String description, double alpha, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); this.alphaDouble = alpha; this.dt = dt; this.alphaVariable = null; this.position = null; lastPosition = new YoDouble(name + "_lastPosition", registry); reset(); }
public FilteredVelocityYoVariable(String name, String description, double alpha, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); this.alphaDouble = alpha; this.dt = dt; this.alphaVariable = null; this.position = null; lastPosition = new DoubleYoVariable(name + "_lastPosition", registry); reset(); }
public FilteredVelocityYoVariable(String name, String description, double alpha, DoubleYoVariable positionVariable, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); this.alphaDouble = alpha; this.position = positionVariable; this.dt = dt; this.alphaVariable = null; lastPosition = new DoubleYoVariable(name + "_lastPosition", registry); reset(); }
public FilteredVelocityYoVariable(String name, String description, DoubleYoVariable alphaVariable, DoubleYoVariable positionVariable, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); position = positionVariable; this.alphaVariable = alphaVariable; this.alphaDouble = 0.0; this.dt = dt; lastPosition = new DoubleYoVariable(name + "_lastPosition", registry); reset(); }
public FilteredVelocityYoVariable(String name, String description, DoubleProvider alphaVariable, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); this.position = null; this.alphaVariable = alphaVariable; this.alphaDouble = 0.0; this.dt = dt; lastPosition = new YoDouble(name + "_lastPosition", registry); reset(); }
public FilteredVelocityYoVariable(String name, String description, double alpha, YoDouble positionVariable, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); this.alphaDouble = alpha; this.position = positionVariable; this.dt = dt; this.alphaVariable = null; lastPosition = new YoDouble(name + "_lastPosition", registry); reset(); }
public FilteredVelocityYoVariable(String name, String description, DoubleProvider alphaVariable, YoDouble positionVariable, double dt, YoVariableRegistry registry) { super(name, description, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); position = positionVariable; this.alphaVariable = alphaVariable; this.alphaDouble = 0.0; this.dt = dt; lastPosition = new YoDouble(name + "_lastPosition", registry); reset(); }
@Override public void reset() { yoLineOfRotation.setToNaN(); yoFootAngularVelocityFiltered.reset(); yoFootAngularVelocityFiltered.setToNaN(); yoCoRPositionFiltered.reset(); yoCoRPositionFiltered.setToNaN(); yoCoRVelocityFiltered.reset(); yoCoRVelocityFiltered.setToNaN(); yoAngleOfLoR.set(0.0); yoLoRAngularVelocityFiltered.set(Double.NaN); yoLoRAngularVelocityFiltered.reset(); yoAngularVelocityAroundLoR.set(Double.NaN); yoIsLoRStable.set(false); yoIsCoRStable.set(false); yoIsFootRotating.set(false); hasBeenInitialized.set(false); }