本文整理了Java中us.ihmc.robotics.controllers.YoTangentialDampingGains
类的一些代码示例,展示了YoTangentialDampingGains
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoTangentialDampingGains
类的具体详情如下:
包路径:us.ihmc.robotics.controllers.YoTangentialDampingGains
类名称:YoTangentialDampingGains
[英]Defines parameters to use in the EuclideanTangentialDampingCalculator. This reduces the damping ratio when incurring large tracking errors.
[中]定义要在欧几里德阻尼计算器中使用的参数。当出现较大的跟踪误差时,这会降低阻尼比。
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public void setTangentialDampingGains(TangentialDampingGains tangentialDampingGains)
{
this.tangentialDampingGains.set(tangentialDampingGains);
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
/** {@inheritDoc} */
public void set(double kdReductionRatio, double parallelDampingDeadband, double positionErrorForMinimumKd)
{
setKdReductionRatio(kdReductionRatio);
setParallelDampingDeadband(parallelDampingDeadband);
setPositionErrorForMinimumKd(positionErrorForMinimumKd);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public YoFootPositionGains(String suffix, YoVariableRegistry registry)
{
proportionalXYGain = new DoubleYoVariable("kpXYLinear" + suffix, registry);
proportionalZGain = new DoubleYoVariable("kpZLinear" + suffix, registry);
derivativeXYGain = new DoubleYoVariable("kdXYLinear" + suffix, registry);
derivativeZGain = new DoubleYoVariable("kdZLinear" + suffix, registry);
dampingRatio = new DoubleYoVariable("zetaLinear" + suffix, registry);
maximumFeedback = new DoubleYoVariable("maximumLinearFeedback" + suffix, registry);
maximumFeedbackRate = new DoubleYoVariable("maximumLinearFeedbackRate" + suffix, registry);
maxDerivativeError = new DoubleYoVariable("maximumLinearDerivativeError" + suffix, registry);
maxProportionalError = new DoubleYoVariable("maximumLinearProportionalError" + suffix, registry);
tangentialDampingGains = new YoTangentialDampingGains(suffix, registry);
maximumFeedback.set(Double.POSITIVE_INFINITY);
maximumFeedbackRate.set(Double.POSITIVE_INFINITY);
maxDerivativeError.set(Double.POSITIVE_INFINITY);
maxProportionalError.set(Double.POSITIVE_INFINITY);
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public YoTangentialDampingGains(String suffix, YoVariableRegistry registry)
{
kdParallelMaxReductionRatio = new DoubleYoVariable("kdParallelMaxReductionRatio" + suffix, registry);
dampingParallelToMotionDeadband = new DoubleYoVariable("parallelDampingDeadband" + suffix, registry);
positionErrorForMinimumKd = new DoubleYoVariable("maxParallelDampingError" + suffix, registry);
reset();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public YoSymmetricSE3PIDGains(String suffix, YoVariableRegistry registry)
{
proportionalGain = new DoubleYoVariable("kp" + suffix, registry);
derivativeGain = new DoubleYoVariable("kd" + suffix, registry);
dampingRatio = new DoubleYoVariable("zeta" + suffix, registry);
integralGain = new DoubleYoVariable("ki" + suffix, registry);
maxIntegralError = new DoubleYoVariable("maxIntegralError" + suffix, registry);
maxDerivativeError = new DoubleYoVariable("maxDerivativeError" + suffix, registry);
maxProportionalError = new DoubleYoVariable("maxProportionalError" + suffix, registry);
maximumFeedback = new DoubleYoVariable("maximumFeedback" + suffix, registry);
maximumFeedbackRate = new DoubleYoVariable("maximumFeedbackRate" + suffix, registry);
tangentialDampingGains = new YoTangentialDampingGains(suffix, registry);
maximumFeedback.set(Double.POSITIVE_INFINITY);
maximumFeedbackRate.set(Double.POSITIVE_INFINITY);
maxDerivativeError.set(Double.POSITIVE_INFINITY);
maxProportionalError.set(Double.POSITIVE_INFINITY);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public YoTangentialDampingGains(String suffix, YoVariableRegistry registry)
{
kdParallelMaxReductionRatio = new YoDouble("kdParallelMaxReductionRatio" + suffix, registry);
dampingParallelToMotionDeadband = new YoDouble("parallelDampingDeadband" + suffix, registry);
positionErrorForMinimumKd = new YoDouble("maxParallelDampingError" + suffix, registry);
reset();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public void setTangentialDampingGains(double kdReductionRatio, double parallelDampingDeadband, double positionErrorForMinimumKd)
{
this.tangentialDampingGains.set(kdReductionRatio, parallelDampingDeadband, positionErrorForMinimumKd);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
/** {@inheritDoc} */
public void set(double kdReductionRatio, double parallelDampingDeadband, double positionErrorForMinimumKd)
{
setKdReductionRatio(kdReductionRatio);
setParallelDampingDeadband(parallelDampingDeadband);
setPositionErrorForMinimumKd(positionErrorForMinimumKd);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
public YoPlanarFootPositionGains(String suffix, YoVariableRegistry registry)
{
proportionalXGain = new DoubleYoVariable("kpXLinear" + suffix, registry);
proportionalZGain = new DoubleYoVariable("kpZLinear" + suffix, registry);
derivativeXGain = new DoubleYoVariable("kdXLinear" + suffix, registry);
derivativeZGain = new DoubleYoVariable("kdZLinear" + suffix, registry);
dampingRatio = new DoubleYoVariable("zetaLinear" + suffix, registry);
maximumFeedback = new DoubleYoVariable("maximumLinearFeedback" + suffix, registry);
maximumFeedbackRate = new DoubleYoVariable("maximumLinearFeedbackRate" + suffix, registry);
maxDerivativeError = new DoubleYoVariable("maximumLinearDerivativeError" + suffix, registry);
maxProportionalError = new DoubleYoVariable("maximumLinearProportionalError" + suffix, registry);
tangentialDampingGains = new YoTangentialDampingGains(suffix, registry);
maximumFeedback.set(Double.POSITIVE_INFINITY);
maximumFeedbackRate.set(Double.POSITIVE_INFINITY);
maxDerivativeError.set(Double.POSITIVE_INFINITY);
maxProportionalError.set(Double.POSITIVE_INFINITY);
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public void reset()
{
for (int i = 0; i < proportionalGains.length; i++)
{
proportionalGains[i].set(0.0);
derivativeGains[i].set(0.0);
integralGains[i].set(0.0);
}
maxIntegralError.set(0.0);
maxFeedback.set(Double.POSITIVE_INFINITY);
maxFeedbackRate.set(Double.POSITIVE_INFINITY);
maxDerivativeError.set(Double.POSITIVE_INFINITY);
maxProportionalError.set(Double.POSITIVE_INFINITY);
if (tangentialDampingGains != null)
tangentialDampingGains.reset();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public void setTangentialDampingGains(double kdReductionRatio, double parallelDampingDeadband, double positionErrorForMinKd)
{
this.tangentialDampingGains.set(kdReductionRatio, parallelDampingDeadband, positionErrorForMinKd);
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public YoEuclideanPositionGains(String prefix, YoVariableRegistry registry)
{
String baseProportionalGainName = prefix + "PositionProportionalGain";
String baseDerivativeGainName = prefix + "PositionDerivativeGain";
String baseIntegralGainName = prefix + "PositionIntegralGain";
for (int i = 0; i < 3; i++)
{
proportionalGains[i] = new DoubleYoVariable(baseProportionalGainName + directionNames[i], registry);
derivativeGains[i] = new DoubleYoVariable(baseDerivativeGainName + directionNames[i], registry);
integralGains[i] = new DoubleYoVariable(baseIntegralGainName + directionNames[i], registry);
}
maxIntegralError = new DoubleYoVariable(prefix + "PositionMaxIntegralError", registry);
maxDerivativeError = new DoubleYoVariable(prefix + "PositionMaxDerivativeError", registry);
maxProportionalError = new DoubleYoVariable(prefix + "PositionMaxProportionalError", registry);
maxFeedback = new DoubleYoVariable(prefix + "PositionMaxFeedback", registry);
maxFeedbackRate = new DoubleYoVariable(prefix + "PositionMaxFeedbackRate", registry);
tangentialDampingGains = new YoTangentialDampingGains(prefix, registry);
maxFeedback.set(Double.POSITIVE_INFINITY);
maxFeedbackRate.set(Double.POSITIVE_INFINITY);
maxDerivativeError.set(Double.POSITIVE_INFINITY);
maxProportionalError.set(Double.POSITIVE_INFINITY);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
@Override
public void setTangentialDampingGains(TangentialDampingGains tangentialDampingGains)
{
this.tangentialDampingGains.set(tangentialDampingGains);
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public void setTangentialDampingGains(TangentialDampingGains tangentialDampingGains)
{
this.tangentialDampingGains.set(tangentialDampingGains);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
@Override
public void setTangentialDampingGains(double kdReductionRatio, double parallelDampingDeadband, double positionErrorForMinimumKd)
{
tangentialDampingGains.set(kdReductionRatio, parallelDampingDeadband, positionErrorForMinimumKd);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
@Override
public void setTangentialDampingGains(double kdReductionRatio, double parallelDampingDeadband, double positionErrorForMinimumKd)
{
tangentialDampingGains.set(kdReductionRatio, parallelDampingDeadband, positionErrorForMinimumKd);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
@Override
public void setTangentialDampingGains(TangentialDampingGains tangentialDampingGains)
{
this.tangentialDampingGains.set(tangentialDampingGains);
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public void set(TangentialDampingGains tangentialDampingGains)
{
if (tangentialDampingGains != null)
{
set(tangentialDampingGains.getKdReductionRatio(), tangentialDampingGains.getParallelDampingDeadband(), tangentialDampingGains.getPositionErrorForMinimumKd());
}
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void set(TangentialDampingGains tangentialDampingGains)
{
if (tangentialDampingGains != null)
{
set(tangentialDampingGains.getKdReductionRatio(), tangentialDampingGains.getParallelDampingDeadband(), tangentialDampingGains.getPositionErrorForMinimumKd());
}
}
内容来源于网络,如有侵权,请联系作者删除!