gpt4 book ai didi

us.ihmc.robotics.math.trajectories.YoPolynomial.setQuadraticUsingInitialAcceleration()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 04:34:40 25 4
gpt4 key购买 nike

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

YoPolynomial.setQuadraticUsingInitialAcceleration介绍

暂无

代码示例

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

public void setQuadraticUsingInitialAcceleration(double t0, double tFinal, double z0, double zd0, double zdd0)
{
 setTime(t0, tFinal);
 polynomial.setQuadraticUsingInitialAcceleration(t0, tFinal, z0, zd0, zdd0);
}

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

public void setQuadraticUsingInitialVelocityAndAcceleration(double t0, double tf, FramePoint p0, FrameVector pd0, FrameVector pdd0)
{
 MathTools.checkIfEqual(numberOfCoefficientsPerPolynomial, 3);
 for (Direction direction : Direction.values)
 {
   polynomials.get(direction).setQuadraticUsingInitialAcceleration(t0, tf, p0.get(direction), pd0.get(direction), pdd0.get(direction));
 }
 setYoVariables(t0, tf);
}

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

public void setQuadraticUsingInitialAcceleration(double t0, double tFinal, Point3DReadOnly z0, Vector3DReadOnly zd0, Vector3DReadOnly zdd0)
{
 for (int index = 0; index < 3; index++)
   getYoPolynomial(index).setQuadraticUsingInitialAcceleration(t0, tFinal, z0.getElement(index), zd0.getElement(index), zdd0.getElement(index));
}

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

public void setQuadraticUsingInitialVelocityAndAcceleration(double t0, double tf, FramePoint3D p0, FrameVector3D pd0, FrameVector3D pdd0)
{
 MathTools.checkEquals(numberOfCoefficientsPerPolynomial, 3);
 p0.checkReferenceFrameMatch(referenceFrame);
 pd0.checkReferenceFrameMatch(referenceFrame);
 pdd0.checkReferenceFrameMatch(referenceFrame);
 for (Axis axis : Axis.values)
 {
   polynomials.get(axis).setQuadraticUsingInitialAcceleration(t0, tf, p0.getElement(axis.ordinal()), pd0.getElement(axis.ordinal()), pdd0.getElement(axis.ordinal()));
 }
 setYoVariables(t0, tf);
}

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