us.ihmc.yoVariables.variable.YoDouble.getValueAsDouble()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中us.ihmc.yoVariables.variable.YoDouble.getValueAsDouble()方法的一些代码示例,展示了YoDouble.getValueAsDouble()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoDouble.getValueAsDouble()方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoDouble
类名称:YoDouble
方法名:getValueAsDouble

YoDouble.getValueAsDouble介绍

[英]Retrieves this YoDouble's value as a double.

Effectively equivalent to #getDoubleValue().
[中]将此YoDouble的值检索为double。
实际上相当于#getDoubleValue()。

代码示例

代码示例来源:origin: us.ihmc/acsell

public void tare()
  {
   this.offset = strainSensor.getValueAsDouble();
  }
}

代码示例来源:origin: us.ihmc/acsell

public double getValue()
  {
    return quadratureControlEffort.getValueAsDouble();
  }
}

代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test

public double getBodyPitch()
{
 return bodyPitch.getValueAsDouble();
}

代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors

public double getSpehereRadius()
{
 return ballRadius.getValueAsDouble();
}

代码示例来源:origin: us.ihmc/acsell

public double getCalibratedValue()
{
 return (strainSensor.getValueAsDouble() - offset) * gain; //see Spencer's email
}

代码示例来源:origin: us.ihmc/acsell

public void tare()
{
  offset = -force.getValueAsDouble()+offset;
}

代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit-test

if (positionVariable.getValueAsDouble() + 0.5 > Math.PI)
 positionVariable.set(-Math.PI + (Math.PI - positionVariable.getValueAsDouble()));

相关文章