本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D.setMatchingFrame()
方法的一些代码示例,展示了YoFramePoint3D.setMatchingFrame()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFramePoint3D.setMatchingFrame()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFramePoint3D
类名称:YoFramePoint3D
方法名:setMatchingFrame
暂无
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setInitialConditions(FramePoint3DReadOnly initialPosition)
{
this.initialPosition.setMatchingFrame(initialPosition);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setFinalConditions(FramePoint3DReadOnly finalPosition, FrameVector3DReadOnly finalVelocity)
{
this.finalPosition.setMatchingFrame(finalPosition);
this.finalVelocity.setMatchingFrame(finalVelocity);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setInitialConditions(FramePoint3D initialPosition, FrameVector3D initialVelocity)
{
this.initialPosition.setMatchingFrame(initialPosition);
this.initialVelocity.setMatchingFrame(initialVelocity);
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
@Override
public void notifyOfVariableChange(YoVariable<?> v)
{
localFramePoint.setIncludingFrame(YoFramePointInMultipleFrames.this);
point.setMatchingFrame(localFramePoint);
}
});
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setFinalConditions(FramePoint3D finalPosition, FrameVector3D finalVelocity)
{
this.finalPosition.setMatchingFrame(finalPosition);
this.finalVelocity.setMatchingFrame(finalVelocity);
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public void setMatchingFrame(FramePoint3DReadOnly framePoint, FrameQuaternionReadOnly frameOrientation)
{
position.setMatchingFrame(framePoint);
orientation.setMatchingFrame(frameOrientation);
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Sets this frame pose to {@code other}.
* <p>
* If the arguments are expressed in the frame as {@code this}, then this method is equivalent to
* {@link #set(FrameTuple3DReadOnly, FrameQuaternionReadOnly)}.
* </p>
* <p>
* If the arguments are expressed in a different frame than {@code this}, then {@code this} is
* set to {@code position} and {@code orientation} once transformed to be expressed in
* {@code this.getReferenceFrame()}.
* </p>
*
* @param position the frame point used to set this position to. Not modified.
* @param orientation the frame quaternion to set this orientation to. Not modified.
*/
public void setMatchingFrame(FramePoint3DReadOnly position, FrameQuaternionReadOnly orientation)
{
this.position.setMatchingFrame(position);
this.orientation.setMatchingFrame(orientation);
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public void setMatchingFrame(FramePose3DReadOnly framePose)
{
position.setMatchingFrame(framePose.getPosition());
orientation.setMatchingFrame(framePose.getOrientation());
}
代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit
public void setPose(FramePose3D pose)
{
this.position.setMatchingFrame(pose.getPosition());
this.orientation.setMatchingFrame(pose.getOrientation());
}
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
public void setDesiredHandPose(RobotSide robotSide, FramePoint3D desiredHandPosition, FrameQuaternion desiredHandOrientation)
{
yoDesiredHandPositions.get(robotSide).setMatchingFrame(desiredHandPosition);
yoDesiredHandOrientations.get(robotSide).setMatchingFrame(desiredHandOrientation);
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
public void setDesiredPelvisHeight(FramePoint3D pointContainingDesiredHeight)
{
yoDesiredPelvisPosition.setMatchingFrame(pointContainingDesiredHeight);
pelvisSelectionMatrix.clearLinearSelection();
pelvisSelectionMatrix.selectLinearZ(true);
pelvisSelectionMatrix.setSelectionFrame(worldFrame);
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
/**
* Sets this frame pose to {@code other}.
* <p>
* If {@code other} is expressed in the frame as {@code this}, then this method is equivalent to
* {@link #set(FramePose3DReadOnly)}.
* </p>
* <p>
* If {@code other} is expressed in a different frame than {@code this}, then {@code this} is set
* to {@code other} once transformed to be expressed in {@code this.getReferenceFrame()}.
* </p>
*
* @param other the other frame pose to set this to. Not modified.
*/
public void setMatchingFrame(FramePose3DReadOnly other)
{
position.setMatchingFrame(other.getPosition());
orientation.setMatchingFrame(other.getOrientation());
}
内容来源于网络,如有侵权,请联系作者删除!