gpt4 book ai didi

us.ihmc.robotics.math.frames.YoFrameOrientation.setAndMatchFrame()方法的使用及代码示例

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

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

YoFrameOrientation.setAndMatchFrame介绍

暂无

代码示例

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

public void setAndMatchFrame(YoFrameQuaternion yoFrameQuaternion)
{
 setAndMatchFrame(yoFrameQuaternion, true);
}

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

public void setAndMatchFrame(YoFrameOrientation yoFrameOrientation)
{
 setAndMatchFrame(yoFrameOrientation, true);
}

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

public void setAndMatchFrame(FrameOrientation orientation)
{
 setAndMatchFrame(orientation, true);
}

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

public void setAndMatchFrame(FramePoint framePoint, FrameOrientation frameOrientation)
{
 boolean notifyListeners = true;
 position.setAndMatchFrame(framePoint, notifyListeners);
 orientation.setAndMatchFrame(frameOrientation, notifyListeners);
}

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

public void setInitialPose(FramePoint initialPosition, FrameOrientation initialOrientation)
{
 this.initialPosition.set(initialPosition);
 this.initialOrientation.set(initialOrientation);
 initialOrientationForViz.setAndMatchFrame(initialOrientation);
}

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

public void setFinalPose(FramePoint finalPosition, FrameOrientation finalOrientation)
{
 this.finalPosition.set(finalPosition);
 this.finalOrientation.set(finalOrientation);
 finalOrientationForViz.setAndMatchFrame(finalOrientation);
 tempPosition.setIncludingFrame(finalPosition);
 tempOrientation.setIncludingFrame(finalOrientation);
 finalOrientationForViz.setAndMatchFrame(tempOrientation);
}

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

public void setFinalPose(FramePose finalPose)
{
 finalPose.getPoseIncludingFrame(tempPosition, tempOrientation);
 finalPosition.set(tempPosition);
 finalOrientation.set(tempOrientation);
 finalOrientationForViz.setAndMatchFrame(tempOrientation);
}

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

public void setFinalPoseWithoutFinalVelocity(FramePoint finalPosition, FrameOrientation finalOrientation)
{
 this.finalPosition.set(finalPosition);
 this.finalOrientation.set(finalOrientation);
 finalPositionForViz.setAndMatchFrame(finalPosition);
 finalOrientationForViz.setAndMatchFrame(finalOrientation);
 this.finalVelocity.setToZero();
 this.finalAngularVelocity.setToZero();
}

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

public void setInitialPose(FramePose initialPose)
{
 initialPose.getPoseIncludingFrame(tempPosition, tempOrientation);
 tempPosition.changeFrame(initialPosition.getReferenceFrame());
 initialPosition.set(tempPosition);
 tempOrientation.changeFrame(initialOrientation.getReferenceFrame());
 initialOrientation.set(tempOrientation);
 initialOrientationForViz.setAndMatchFrame(tempOrientation);
}

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

@Override
public void doControl()
{
 diagnosticBehaviorEnabled.set(isControllerReady());
 handleAutomaticDiagnosticRoutine();
 if (!diagnosticBehaviorEnabled.getBooleanValue())
   return;
 for (RobotSide robotSide : RobotSide.values)
 {
   tempFrameOrientation.setToZero(upperArmsFrames.get(robotSide));
   currentUpperArmOrientations.get(robotSide).setAndMatchFrame(tempFrameOrientation);
   tempFrameOrientation.setToZero(fullRobotModel.getHand(robotSide).getBodyFixedFrame());
   currentHandOrientations.get(robotSide).setAndMatchFrame(tempFrameOrientation);
 }
 handleRequestedSymmetricArmPose();
 handleRequestedArmPose();
 handleRequestedDiagnostic();
 handleIcpOffsetSending();
 pipeLine.doControl();
}

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

goalOffsetFrameOrientation_Rotation.set(updatedGoalOffset_Rotation);
goalOffsetFrameOrientation_Rotation.changeFrame(startOffsetErrorReferenceFrame_Rotation);
yoGoalOffsetFrameOrientation_Rotation.setAndMatchFrame(goalOffsetFrameOrientation_Rotation);
yoInterpolatedOffsetFrameOrientation_Rotation.setAndMatchFrame(interpolatedOffsetFrameOrientation_Rotation);

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