gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-16 05:32:40 28 4
gpt4 key购买 nike

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

YoPolynomial.setQuinticUsingIntermediateVelocityAndAcceleration介绍

暂无

代码示例

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

public void setQuinticUsingIntermediateVelocityAndAcceleration(double t0, double tIntermediate, double tFinal, double z0, double zd0, double zdIntermediate,
                               double zddIntermediate, double zFinal, double zdFinal)
{
 setTime(t0, tFinal);
 polynomial.setQuinticUsingIntermediateVelocityAndAcceleration(t0, tIntermediate, tFinal, z0, zd0, zdIntermediate, zddIntermediate, zFinal, zdFinal);
}

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

public void setQuinticUsingIntermediateVelocityAndAcceleration(double t0, double t1, double tf, FramePoint p0, FrameVector pd0, FrameVector pd1,
    FrameVector pdd1, FramePoint pf, FrameVector pdf)
{
 MathTools.checkIfEqual(numberOfCoefficientsPerPolynomial, 6);
 for (Direction direction : Direction.values)
 {
   polynomials.get(direction).setQuinticUsingIntermediateVelocityAndAcceleration(t0, t1, tf, p0.get(direction), pd0.get(direction), pd1.get(direction),
           pdd1.get(direction), pf.get(direction), pdf.get(direction));
 }
 setYoVariables(t0, tf);
}

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

public void setQuinticUsingIntermediateVelocityAndAcceleration(double t0, double tIntermediate, double tFinal, Point3DReadOnly z0, Vector3DReadOnly zd0,
                               Vector3DReadOnly zdIntermediate, Vector3DReadOnly zddIntermediate, Point3DReadOnly zFinal,
                               Vector3DReadOnly zdFinal)
{
 for (int index = 0; index < 3; index++)
   getYoPolynomial(index).setQuinticUsingIntermediateVelocityAndAcceleration(t0, tIntermediate, tFinal, z0.getElement(index), zd0.getElement(index),
                                        zdIntermediate.getElement(index), zddIntermediate.getElement(index),
                                        zFinal.getElement(index), zdFinal.getElement(index));
}

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

public void setQuinticUsingIntermediateVelocityAndAcceleration(double t0, double t1, double tf, FramePoint3D p0, FrameVector3D pd0, FrameVector3D pd1,
    FrameVector3D pdd1, FramePoint3D pf, FrameVector3D pdf)
{
 MathTools.checkEquals(numberOfCoefficientsPerPolynomial, 6);
 p0.checkReferenceFrameMatch(referenceFrame);
 pf.checkReferenceFrameMatch(referenceFrame);
 pd0.checkReferenceFrameMatch(referenceFrame);
 pd1.checkReferenceFrameMatch(referenceFrame);
 pdf.checkReferenceFrameMatch(referenceFrame);
 pdd1.checkReferenceFrameMatch(referenceFrame);
 for (Axis axis : Axis.values)
 {
   polynomials.get(axis).setQuinticUsingIntermediateVelocityAndAcceleration(t0, t1, tf, p0.getElement(axis.ordinal()), pd0.getElement(axis.ordinal()), pd1.getElement(
      axis.ordinal()),
                                       pdd1.getElement(axis.ordinal()), pf.getElement(axis.ordinal()), pdf.getElement(
         axis.ordinal()));
 }
 setYoVariables(t0, tf);
}

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