本文整理了Java中us.ihmc.robotics.geometry.yoFrameObjects.YoFrameWaypoint.getReferenceFrame()
方法的一些代码示例,展示了YoFrameWaypoint.getReferenceFrame()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameWaypoint.getReferenceFrame()
方法的具体详情如下:
包路径:us.ihmc.robotics.geometry.yoFrameObjects.YoFrameWaypoint
类名称:YoFrameWaypoint
方法名:getReferenceFrame
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setToZero()
{
frameWaypoint.setToZero(getReferenceFrame());
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public void set(S simpleWaypoint)
{
frameWaypoint.setIncludingFrame(getReferenceFrame(), simpleWaypoint);
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public void setToZero()
{
frameWaypoint.setToZero(getReferenceFrame());
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void setToNaN()
{
frameWaypoint.setToNaN(getReferenceFrame());
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
@Override
public void setToNaN()
{
frameWaypoint.setToNaN(getReferenceFrame());
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void set(S simpleWaypoint)
{
frameWaypoint.setIncludingFrame(getReferenceFrame(), simpleWaypoint);
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public void setIncludingFrame(ReferenceFrame referenceFrame, S simpleWaypoint)
{
multipleFramesHelper.switchCurrentReferenceFrame(referenceFrame);
frameWaypoint.setIncludingFrame(getReferenceFrame(), simpleWaypoint);
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setIncludingFrame(ReferenceFrame referenceFrame, S simpleWaypoint)
{
multipleFramesHelper.switchCurrentReferenceFrame(referenceFrame);
frameWaypoint.setIncludingFrame(getReferenceFrame(), simpleWaypoint);
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/IHMCRoboticsToolkit
public void setIncludingFrame(Y other)
{
multipleFramesHelper.switchCurrentReferenceFrame(other.getReferenceFrame());
other.getIncludingFrame(frameWaypoint);
getYoValuesFromFrameWaypoint();
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
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 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);
}
内容来源于网络,如有侵权,请联系作者删除!