gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-17 15:04:40 28 4
gpt4 key购买 nike

本文整理了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()));

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com