gpt4 book ai didi

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

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

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

YoPolynomial.setYoVariables介绍

暂无

代码示例

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

public void setLinear(double t0, double tFinal, double z0, double zf)
{
 reshape(2);
 setPositionRow(0, t0, z0);
 setPositionRow(1, tFinal, zf);
 solveForCoefficients();
 setYoVariables();
}

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

public void setLinear(double t, double z, double zd)
{
 reshape(2);
 setPositionRow(0, t, z);
 setVelocityRow(1, t, zd);
 solveForCoefficients();
 setYoVariables();
}

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

public void setLinear(double t, double z, double zd)
{
 reshape(2);
 setPositionRow(0, t, z);
 setVelocityRow(1, t, zd);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuadraticUsingInitialAcceleration(double t0, double tFinal, double z0, double zd0, double zdd0)
{
 reshape(3);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setAccelerationRow(2, t0, zdd0);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuadraticWithFinalVelocityConstraint(double t0, double tFinal, double z0, double zFinal, double zdFinal)
{
 reshape(3);
 setPositionRow(0, t0, z0);
 setPositionRow(1, tFinal, zFinal);
 setVelocityRow(2, tFinal, zdFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setCubic(double t0, double tFinal, double z0, double zd0, double zFinal, double zdFinal)
{
 reshape(4);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setPositionRow(2, tFinal, zFinal);
 setVelocityRow(3, tFinal, zdFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setCubicThreeInitialConditionsFinalPosition(double t0, double tFinal,
   double z0, double zd0, double zdd0, double zFinal)
{
 reshape(4);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setAccelerationRow(2, t0, zdd0);
 setPositionRow(3, tFinal, zFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setCubicWithIntermediatePositionAndInitialVelocityConstraint(double t0, double tIntermediate, double tFinal, double z0, double zd0, double zIntermediate, double zFinal)
{
 reshape(4);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setPositionRow(2, tIntermediate, zIntermediate);
 setPositionRow(3, tFinal, zFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setCubicWithIntermediatePositionAndFinalVelocityConstraint(double t0, double tIntermediate, double tFinal, double z0, double zIntermediate, double zFinal, double zdFinal)
{
 reshape(4);
 setPositionRow(0, t0, z0);
 setPositionRow(1, tIntermediate, zIntermediate);
 setPositionRow(2, tFinal, zFinal);
 setVelocityRow(3, tFinal, zdFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuadraticUsingIntermediatePoint(double t0, double tIntermediate, double tFinal, double z0, double zIntermediate, double zFinal)
{
 reshape(3);
 MathTools.checkIntervalContains(tIntermediate, t0, tFinal);
 setPositionRow(0, t0, z0);
 setPositionRow(1, tIntermediate, zIntermediate);
 setPositionRow(2, tFinal, zFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuadraticUsingIntermediatePoint(double t0, double tIntermediate, double tFinal, double z0, double zIntermediate, double zFinal)
{
 reshape(3);
 MathTools.checkIfInRange(tIntermediate, t0, tFinal);
 setPositionRow(0, t0, z0);
 setPositionRow(1, tIntermediate, zIntermediate);
 setPositionRow(2, tFinal, zFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuarticUsingWayPoint(double t0, double tIntermediate, double tFinal, double z0, double zd0, double zIntermediate, double zf, double zdf)
{
 reshape(5);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setPositionRow(2, tIntermediate, zIntermediate);
 setPositionRow(3, tFinal, zf);
 setVelocityRow(4, tFinal, zdf);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuarticUsingFinalAcceleration(double t0, double tFinal, double z0, double zd0, double zFinal, double zdFinal, double zddFinal)
{
 reshape(5);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setPositionRow(2, tFinal, zFinal);
 setVelocityRow(3, tFinal, zdFinal);
 setAccelerationRow(4, tFinal, zddFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuarticUsingFinalAcceleration(double t0, double tFinal, double z0, double zd0, double zFinal, double zdFinal, double zddFinal)
{
 reshape(5);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setPositionRow(2, tFinal, zFinal);
 setVelocityRow(3, tFinal, zdFinal);
 setAccelerationRow(4, tFinal, zddFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuarticUsingOneIntermediateVelocity(double t0, double tIntermediate0, double tIntermediate1, double tFinal, double z0, double zIntermediate0,
                         double zIntermediate1, double zFinal, double zdIntermediate1)
{
 reshape(5);
 setPositionRow(0, t0, z0);
 setPositionRow(1, tIntermediate0, zIntermediate0);
 setPositionRow(2, tIntermediate1, zIntermediate1);
 setVelocityRow(3, tIntermediate1, zdIntermediate1);
 setPositionRow(4, tFinal, zFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuarticUsingWayPoint(double t0, double tIntermediate, double tFinal, double z0, double zd0, double zIntermediate, double zf, double zdf)
{
 reshape(5);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setPositionRow(2, tIntermediate, zIntermediate);
 setPositionRow(3, tFinal, zf);
 setVelocityRow(4, tFinal, zdf);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuinticUsingWayPoint2(double t0, double tIntermediate, double tFinal, double z0, double zd0, double zdd0, double zIntermediate, double zdIntermediate, double zf)
{
 reshape(6);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setAccelerationRow(2, t0, zdd0);
 setPositionRow(3, tIntermediate, zIntermediate);
 setVelocityRow(4, tIntermediate, zdIntermediate);
 setPositionRow(5, tFinal, zf);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuinticUsingIntermediateVelocityAndAcceleration(double t0, double tIntermediate, double tFinal, double z0, double zd0, double zdIntermediate, double zddIntermediate, double zFinal, double zdFinal)
{
 reshape(6);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setVelocityRow(2, tIntermediate, zdIntermediate);
 setAccelerationRow(3, tIntermediate, zddIntermediate);
 setPositionRow(4, tFinal, zFinal);
 setVelocityRow(5, tFinal, zdFinal);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuintic(double t0, double tFinal, double z0, double zd0, double zdd0, double zf, double zdf, double zddf)
{
 reshape(6);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setAccelerationRow(2, t0, zdd0);
 setPositionRow(3, tFinal, zf);
 setVelocityRow(4, tFinal, zdf);
 setAccelerationRow(5, tFinal, zddf);
 solveForCoefficients();
 setYoVariables();
}

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

public void setQuinticUsingWayPoint(double t0, double tIntermediate, double tFinal, double z0, double zd0, double zdd0, double zIntermediate, double zf, double zdf)
{
 reshape(6);
 setPositionRow(0, t0, z0);
 setVelocityRow(1, t0, zd0);
 setAccelerationRow(2, t0, zdd0);
 setPositionRow(3, tIntermediate, zIntermediate);
 setPositionRow(4, tFinal, zf);
 setVelocityRow(5, tFinal, zdf);
 solveForCoefficients();
 setYoVariables();
}

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