@Override public void initialize() { qDDFeedbackRateLimited.reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, double maxRate, DoubleYoVariable positionVariable, double dt) { super(name, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); this.maxRate = maxRate; position = positionVariable; this.maxRateVariable = null; this.dt = dt; reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, double maxRate, double dt) { super(name, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); this.maxRate = maxRate; this.maxRateVariable = null; this.position = null; this.dt = dt; reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, DoubleYoVariable maxRateVariable, double dt) { super(name, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); this.maxRate = 0.0; this.maxRateVariable = maxRateVariable; this.position = null; this.dt = dt; reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, DoubleYoVariable maxRateVariable, DoubleYoVariable positionVariable, double dt) { super(name, registry); this.hasBeenCalled = new BooleanYoVariable(name + "HasBeenCalled", registry); position = positionVariable; this.maxRateVariable = maxRateVariable; this.maxRate = 0.0; this.dt = dt; reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, DoubleProvider maxRateVariable, YoDouble positionVariable, double dt) { super(name, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); this.limited = new YoBoolean(name + "Limited", registry); position = positionVariable; this.maxRateVariable = maxRateVariable; this.dt = dt; reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, DoubleProvider maxRateVariable, double dt) { super(name, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); this.limited = new YoBoolean(name + "Limited", registry); this.maxRateVariable = maxRateVariable; this.position = null; this.dt = dt; reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, double maxRate, double dt) { super(name, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); this.limited = new YoBoolean(name + "Limited", registry); YoDouble maxRateVariable = new YoDouble(name + "MaxRate", registry); maxRateVariable.set(maxRate); this.maxRateVariable = maxRateVariable; this.position = null; this.dt = dt; reset(); }
public RateLimitedYoVariable(String name, YoVariableRegistry registry, double maxRate, YoDouble positionVariable, double dt) { super(name, registry); this.hasBeenCalled = new YoBoolean(name + "HasBeenCalled", registry); this.limited = new YoBoolean(name + "Limited", registry); position = positionVariable; YoDouble maxRateVariable = new YoDouble(name + "MaxRate", registry); maxRateVariable.set(maxRate); this.maxRateVariable = maxRateVariable; this.dt = dt; reset(); }