gpt4 book ai didi

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

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

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

YoDouble.setToNaN介绍

[英]Sets this YoDouble's internal double value to Double#NaN.
[中]将此YoDouble的内部double值设置为double#NaN。

代码示例

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

public void reshape(int numberOfCoefficientsRequired)
{
 polynomial.reshape(numberOfCoefficientsRequired);
 tInitial.setToNaN();
 tFinal.setToNaN();
}

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

public void reset()
{
 numberOfCoefficients.set(0);
 for (int i = 0; i < maximumNumberOfCoefficients; i++)
   a[i].setToNaN();
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void initialize()
{
 startTime = System.nanoTime();
 numberOfIterations.set(0);
 solutionQuality.set(Double.MAX_VALUE);
 solutionQualityLast.setToNaN();
 solutionQualityBeforeLast.setToNaN();
 isSolved.set(false);
}

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

timeOfLastStateChange.setToNaN();
timeInCurrentState.setToNaN();

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

public YoStopwatch(String name, YoDouble timeYoVariable, YoVariableRegistry registry)
{
 this(timeYoVariable);
 yoLapStart = new YoDouble(name + "LapStart", registry);
 yoLapCount = new YoLong(name + "LapCount", registry);
 yoRecordedLapTotal = new YoDouble(name + "RecordedLapTotal", registry);
 yoSuspended = new YoBoolean(name + "Suspended", registry);
 yoSuspendStart = new YoDouble(name + "SuspendStart", registry);
 yoResumedSuspensionTotal = new YoDouble(name + "ResumedSuspensionTotal", registry);
 yoLapStart.setToNaN();
}

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

public void update()
{
 RobotSide sideToCalibrateNow = doZeroFingerCalibrationNow.getValue();
 if (sideToCalibrateNow != null)
 {
   performZeroCalibrationNow(sideToCalibrateNow);
   startFingerCalibration.set(false);
   isCalibratingFingers.set(false);
   fingerCalibrationStartTime.setToNaN();
   doZeroFingerCalibrationNow.set(null);
 }
 performCalibrationUsingFingerJointEncoders();
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

initialGuessComputationTime.setToNaN();
treeExpansionComputationTime.setToNaN();
shortcutPathComputationTime.setToNaN();
motionGenerationComputationTime.setToNaN();

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

fingerCalibrationStartTime.setToNaN();

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