本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D.setY()
方法的一些代码示例,展示了YoFrameVector3D.setY()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameVector3D.setY()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFrameVector3D
类名称:YoFrameVector3D
方法名:setY
暂无
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public void computeCurrentDisturbanceForce()
{
currentDisturbanceForce.setX(random.nextDouble());
currentDisturbanceForce.setY(random.nextDouble());
currentDisturbanceForce.setZ(random.nextDouble());
currentDisturbanceForce.normalize();
currentDisturbanceForce.scale(maximalDisturbanceMagnitude.getDoubleValue());
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools
public void computeForcePerturbance()
{
if (perturbanceUnitVector.getX() > 0.0)
{
perturbanceForce.setX(perturbanceUnitVector.getX() * xPosForce);
}
else
{
perturbanceForce.setX(perturbanceUnitVector.getX() * xNegForce);
}
if (perturbanceUnitVector.getY() > 0.0)
{
perturbanceForce.setY(perturbanceUnitVector.getY() * yPosForce);
}
else
{
perturbanceForce.setY(perturbanceUnitVector.getY() * yNegForce);
}
}
代码示例来源:origin: us.ihmc/ihmc-simulation-toolkit
translationPhase.setY(translationPhase.getY() + 2.0 * Math.PI * translationFreqHz[1] * deltaT);
translationPhase.setZ(translationPhase.getZ() + 2.0 * Math.PI * translationFreqHz[2] * deltaT);
rotationPhaseEuler.setY(rotationPhaseEuler.getY() + 2.0 * Math.PI * rotationFreqHzYawPitchRoll[1] * deltaT);
rotationPhaseEuler.setZ(rotationPhaseEuler.getZ() + 2.0 * Math.PI * rotationFreqHzYawPitchRoll[0] * deltaT);
代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test
contactForce.setY(linearForceY);
contactForce.setZ(linearForceZ);
contactTorque.setY(torqueY);
contactTorque.setZ(torqueZ);
内容来源于网络,如有侵权,请联系作者删除!