本文整理了Java中us.ihmc.robotics.math.trajectories.YoPolynomial3D.setCubic()
方法的一些代码示例,展示了YoPolynomial3D.setCubic()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoPolynomial3D.setCubic()
方法的具体详情如下:
包路径:us.ihmc.robotics.math.trajectories.YoPolynomial3D
类名称:YoPolynomial3D
方法名:setCubic
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
private void initializeSubTrajectory(int waypointIndex)
{
int secondWaypointIndex = Math.min(waypointIndex + 1, numberOfWaypoints.getValue() - 1);
YoFrameEuclideanTrajectoryPoint start = waypoints.get(waypointIndex);
YoFrameEuclideanTrajectoryPoint end = waypoints.get(secondWaypointIndex);
subTrajectory.setCubic(0.0, end.getTime() - start.getTime(), start.getPosition(), start.getLinearVelocity(), end.getPosition(), end.getLinearVelocity());
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setCubic(double t0, double tFinal, FramePoint3D z0, FrameVector3D zd0, FramePoint3D zFinal, FrameVector3D zdFinal)
{
z0.checkReferenceFrameMatch(referenceFrame);
zd0.checkReferenceFrameMatch(referenceFrame);
zFinal.checkReferenceFrameMatch(referenceFrame);
zdFinal.checkReferenceFrameMatch(referenceFrame);
super.setCubic(t0, tFinal, z0, zd0, zFinal, zdFinal);
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
swTraj.setCubic(0, phaseTime, fromPoint, swFootVeloIn, toPoint, swFootVeloFi);
swTraj.compute(tphase);
swFootLoc.set(swTraj.getPosition());
内容来源于网络,如有侵权,请联系作者删除!