本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D.setToZero()
方法的一些代码示例,展示了YoFrameVector3D.setToZero()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameVector3D.setToZero()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFrameVector3D
类名称:YoFrameVector3D
方法名:setToZero
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setLinearVelocityToZero()
{
linearVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setAngularVelocityToZero()
{
angularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setFinalVelocityToZero()
{
finalAngularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setLinearVelocityToZero()
{
linearVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setLinearVelocityToZero()
{
linearVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setInitialVelocityToZero()
{
initialAngularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setAngularVelocityToZero()
{
angularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setAngularVelocityToZero()
{
angularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setAngularVelocityToZero()
{
angularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setLinearVelocityToZero()
{
linearVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void resetIntegrator()
{
rotationErrorCumulated.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setFinalVelocityToZero()
{
finalAngularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setInitialVelocityToZero()
{
initialAngularVelocity.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void resetIntegrator()
{
positionErrorCumulated.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-simulation-toolkit
private void stopSlipping(RobotSide robotSide)
{
YoFrameVector3D translationPhase = translationPhases.get(robotSide);
translationPhase.setToZero();
YoFrameVector3D rotationPhaseEuler = rotationPhasesEuler.get(robotSide);
rotationPhaseEuler.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void initialize()
{
currentTime.set(0.0);
MathTools.checkIntervalContains(trajectoryTime.getDoubleValue(), 0.0, Double.POSITIVE_INFINITY);
parameterPolynomial.setQuintic(0.0, trajectoryTime.getDoubleValue(), 0.0, 0.0, 0.0, 1.0, 0.0, 0.0);
currentOrientation.set(initialOrientation);
currentAngularVelocity.setToZero();
currentAngularAcceleration.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
private void initialize(Vector3DReadOnly acceleration, Vector3DReadOnly magneticVector)
{
boolean success = computeOrientationError(estimatedOrientation, acceleration, magneticVector, quaternionUpdate);
if (!success)
return;
estimatedOrientation.multiply(quaternionUpdate);
yoIntegralTerm.setToZero();
hasBeenInitialized.set(true);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void initialize()
{
double trajectoryTime = trajectoryTimeProvider.getValue();
MathTools.checkIntervalContains(trajectoryTime, 0.0, Double.POSITIVE_INFINITY);
this.trajectoryTime.set(trajectoryTime);
currentTime.set(0.0);
parameterPolynomial.setQuintic(0.0, trajectoryTime, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0);
updateInitialOrientation();
updateFinalOrientation();
desiredOrientation.set(initialOrientation);
desiredAngularVelocity.setToZero();
desiredAngularAcceleration.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void initialize()
{
currentTime.set(0.0);
double tIntermediate = trajectoryTime.getDoubleValue() / 2.0;
xPolynomial.setQuadraticWithFinalVelocityConstraint(0.0,trajectoryTime.getDoubleValue(), initialPosition.getX(), finalPosition.getX(), finalVelocity.getX());
yPolynomial.setQuadraticWithFinalVelocityConstraint(0.0,trajectoryTime.getDoubleValue(), initialPosition.getY(), finalPosition.getY(), finalVelocity.getY());
zPolynomial.setCubicWithIntermediatePositionAndFinalVelocityConstraint(0.0, tIntermediate, trajectoryTime.getDoubleValue(), initialPosition.getZ(), intermediateZPosition.getDoubleValue(), finalPosition.getZ(), finalVelocity.getZ());
currentPosition.set(initialPosition);
currentAcceleration.setToZero();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void initialize()
{
currentTime.set(0.0);
initialAngularVelocityMagnitude.set(initialAngularVelocity.length());
finalAngularVelocityMagnitude.set(finalAngularVelocity.length());
maxAngularVelocityMagnitudeAtLimits.set(PI / trajectoryTime.getDoubleValue());
initialDriftSaturated.set(initialAngularVelocityMagnitude.getDoubleValue() > maxAngularVelocityMagnitudeAtLimits.getDoubleValue());
finalDriftSaturated.set(finalAngularVelocityMagnitude.getDoubleValue() > maxAngularVelocityMagnitudeAtLimits.getDoubleValue());
parameterPolynomial.setQuintic(0, trajectoryTime.getDoubleValue(), 0.0, 0.0, 0.0, 1.0, 0.0, 0.0);
if (initialOrientation.dot(finalOrientation) < 0.0)
finalOrientation.negate();
currentOrientation.set(initialOrientation);
currentAngularVelocity.set(initialAngularVelocity);
currentAngularAcceleration.setToZero();
}
内容来源于网络,如有侵权,请联系作者删除!