gpt4 book ai didi

us.ihmc.robotics.geometry.yoFrameObjects.YoFrameWaypoint类的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 02:46:31 27 4
gpt4 key购买 nike

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

YoFrameWaypoint介绍

暂无

代码示例

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

@Override
public void set(Y other)
{
 checkReferenceFrameMatch(other);
 other.getIncludingFrame(frameWaypoint);
 getYoValuesFromFrameWaypoint();
}

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

public void set(S simpleWaypoint)
{
 frameWaypoint.setIncludingFrame(getReferenceFrame(), simpleWaypoint);
 getYoValuesFromFrameWaypoint();
}

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

@Override
public final void applyTransform(RigidBodyTransform transform)
{
 putYoValuesIntoFrameWaypoint();
 frameWaypoint.applyTransform(transform);
 getYoValuesFromFrameWaypoint();
}

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

public void setIncludingFrame(Y other)
{
 multipleFramesHelper.switchCurrentReferenceFrame(other.getReferenceFrame());
 other.getIncludingFrame(frameWaypoint);
 getYoValuesFromFrameWaypoint();
}

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

@Override
public final void changeFrame(ReferenceFrame referenceFrame)
{
 putYoValuesIntoFrameWaypoint();
 // this is in the correct frame already
 if (referenceFrame == getReferenceFrame())
 {
   return;
 }
 getReferenceFrame().verifySameRoots(referenceFrame);
 RigidBodyTransform referenceTf, desiredTf;
 if ((referenceTf = getReferenceFrame().getTransformToRoot()) != null)
 {
   frameWaypoint.applyTransform(referenceTf);
 }
 if ((desiredTf = referenceFrame.getInverseTransformToRoot()) != null)
 {
   frameWaypoint.applyTransform(desiredTf);
 }
 getYoValuesFromFrameWaypoint();
 multipleFramesHelper.switchCurrentReferenceFrame(referenceFrame);
}

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

@Override
  public boolean geometricallyEquals(Y other, double epsilon)
  {
   putYoValuesIntoFrameWaypoint();
   other.putYoValuesIntoFrameWaypoint();
   return frameWaypoint.geometricallyEquals(other.frameWaypoint, epsilon);
  }
}

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

public void set(F frameWaypoint)
{
 checkReferenceFrameMatch(frameWaypoint);
 this.frameWaypoint.setIncludingFrame(frameWaypoint);
 getYoValuesFromFrameWaypoint();
}

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

public void get(F frameWaypoint)
{
 checkReferenceFrameMatch(frameWaypoint);
 putYoValuesIntoFrameWaypoint();
 frameWaypoint.set(this.frameWaypoint);
}

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

@Override
public final void setIncludingFrame(F frameTrajectoryPoint)
{
 setTime(frameTrajectoryPoint);
 super.setIncludingFrame(frameTrajectoryPoint);
}

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

@Override
public final void set(F frameTrajectoryPoint)
{
 setTime(frameTrajectoryPoint);
 super.set(frameTrajectoryPoint);
}

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

@Override
public void setToNaN(ReferenceFrame referenceFrame)
{
 multipleFramesHelper.switchCurrentReferenceFrame(referenceFrame);
 frameWaypoint.setToNaN(referenceFrame);
 getYoValuesFromFrameWaypoint();
}

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

@Override
public final ReferenceFrame switchCurrentReferenceFrame(ReferenceFrame newCurrentReferenceFrame)
{
 ReferenceFrame previousReferenceFrame = multipleFramesHelper.switchCurrentReferenceFrame(newCurrentReferenceFrame);
 setToZero();
 return previousReferenceFrame;
}

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

@Override
public final boolean epsilonEquals(Y other, double epsilon)
{
 if (!MathTools.epsilonEquals(getTime(), other.getTime(), epsilon))
   return false;
 return super.epsilonEquals(other, epsilon);
}

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

@Override
  public boolean geometricallyEquals(Y other, double epsilon)
  {
   if (!MathTools.epsilonEquals(getTime(), other.getTime(), epsilon))
     return false;
   return super.geometricallyEquals(other, epsilon);
  }
}

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

public void setIncludingFrame(Y other)
{
 multipleFramesHelper.switchCurrentReferenceFrame(other.getReferenceFrame());
 other.getIncludingFrame(frameWaypoint);
 getYoValuesFromFrameWaypoint();
}

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

@Override
public final void changeFrame(ReferenceFrame referenceFrame)
{
 putYoValuesIntoFrameWaypoint();
 // this is in the correct frame already
 if (referenceFrame == getReferenceFrame())
 {
   return;
 }
 getReferenceFrame().verifySameRoots(referenceFrame);
 RigidBodyTransform referenceTf, desiredTf;
 if ((referenceTf = getReferenceFrame().getTransformToRoot()) != null)
 {
   frameWaypoint.applyTransform(referenceTf);
 }
 if ((desiredTf = referenceFrame.getTransformToRoot()) != null)
 {
   frameWaypoint.applyInverseTransform(desiredTf);
 }
 getYoValuesFromFrameWaypoint();
 multipleFramesHelper.switchCurrentReferenceFrame(referenceFrame);
}

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

@Override
public boolean epsilonEquals(Y other, double epsilon)
{
 putYoValuesIntoFrameWaypoint();
 other.putYoValuesIntoFrameWaypoint();
 return frameWaypoint.epsilonEquals(other.frameWaypoint, epsilon);
}

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

public void set(F frameWaypoint)
{
 checkReferenceFrameMatch(frameWaypoint);
 this.frameWaypoint.setIncludingFrame(frameWaypoint);
 getYoValuesFromFrameWaypoint();
}

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

public void get(F frameWaypoint)
{
 checkReferenceFrameMatch(frameWaypoint);
 putYoValuesIntoFrameWaypoint();
 frameWaypoint.set(this.frameWaypoint);
}

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

@Override
public final void setIncludingFrame(Y other)
{
 setTime(other);
 super.setIncludingFrame(other);
}

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