gpt4 book ai didi

us.ihmc.yoVariables.variable.YoFrameQuaternion.setMatchingFrame()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-15 07:24:49 26 4
gpt4 key购买 nike

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

YoFrameQuaternion.setMatchingFrame介绍

暂无

代码示例

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

public void setFinalOrientation(FrameQuaternionReadOnly finalOrientation)
{
 this.finalOrientation.setMatchingFrame(finalOrientation);
}

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

public void setInitialOrientation(FrameQuaternionReadOnly initialOrientation)
{
 this.initialOrientation.setMatchingFrame(initialOrientation);
}

代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors

public void setDesiredChestOrientation(FrameQuaternion desiredChestOrientation)
{
 yoDesiredChestOrientation.setMatchingFrame(desiredChestOrientation);
}

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

public void setInitialOrientation(FrameQuaternionReadOnly initialOrientation)
{
 this.initialOrientation.setMatchingFrame(initialOrientation);
}

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

public void setFinalOrientation(FrameQuaternionReadOnly finalOrientation)
{
 this.finalOrientation.setMatchingFrame(finalOrientation);
}

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

public void setInitialOrientation(FrameQuaternionReadOnly initialOrientation)
{
 this.initialOrientation.setMatchingFrame(initialOrientation);
}

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

public void setFinalOrientation(FrameQuaternionReadOnly finalOrientation)
{
 this.finalOrientation.setMatchingFrame(finalOrientation);
}

代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors

public void setDesiredPelvisOrientation(FrameQuaternion desiredPelvisOrientation)
{
 yoDesiredPelvisOrientation.setMatchingFrame(desiredPelvisOrientation);
}

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

public void setFinalOrientation(FramePose3D finalPose)
{
 this.finalOrientation.setMatchingFrame(finalPose.getOrientation());
}

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

public void setFinalOrientation(FramePose3D finalPose)
{
 finalOrientation.setMatchingFrame(finalPose.getOrientation());
}

代码示例来源: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-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-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());
}

代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors

public void holdCurrentChestOrientation()
{
 FrameQuaternion currentChestOrientation = new FrameQuaternion(fullRobotModel.getChest().getBodyFixedFrame());
 yoDesiredChestOrientation.setMatchingFrame(currentChestOrientation);
 chestSelectionMatrix.setToAngularSelectionOnly();
}

代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors

public void holdCurrentPelvisOrientation()
{
 FrameQuaternion currentPelvisOrientation = new FrameQuaternion(fullRobotModel.getPelvis().getBodyFixedFrame());
 yoDesiredPelvisOrientation.setMatchingFrame(currentPelvisOrientation);
 pelvisSelectionMatrix.setToAngularSelectionOnly();
}

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