gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-14 00:43:31 26 4
gpt4 key购买 nike

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

YoFramePointInMultipleFrames.set介绍

暂无

代码示例

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

public void setFinalPosition(double x, double y, double z)
{
 this.finalPosition.set(x, y, z);
}

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

public void setFinalPosition(FramePoint finalPosition)
{
 this.finalPosition.set(finalPosition);
}

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

public void setIncludingFrame(YoFrameTuple<?, ?> yoFrameTuple)
{
 multipleFramesHelper.switchCurrentReferenceFrame(yoFrameTuple.getReferenceFrame());
 set(yoFrameTuple);
}

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

public void setIncludingFrame(FrameTuple2DReadOnly frameTuple2d, double z)
{
 multipleFramesHelper.switchCurrentReferenceFrame(frameTuple2d.getReferenceFrame());
 set(frameTuple2d, z);
}

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

public void setIncludingFrame(FrameTuple<?, ?> frameTuple)
{
 multipleFramesHelper.switchCurrentReferenceFrame(frameTuple.getReferenceFrame());
 set(frameTuple);
}

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

public void setIncludingFrame(FrameTuple3DReadOnly frameTuple)
{
 multipleFramesHelper.switchCurrentReferenceFrame(frameTuple.getReferenceFrame());
 set(frameTuple);
}

代码示例来源: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 setInitialPoseWithInitialVelocity(FramePoint initialPosition, FrameVector initialVelocity, FrameOrientation initialOrientation,
   FrameVector initialAngularVelocity)
{
 this.initialPosition.set(initialPosition);
 this.initialVelocity.set(initialVelocity);
 this.initialOrientation.set(initialOrientation);
 this.initialAngularVelocity.set(initialAngularVelocity);
}

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

public void setInitialPoseWithoutInitialVelocity(FramePoint initialPosition, FrameOrientation initialOrientation)
{
 this.initialPosition.set(initialPosition);
 this.initialVelocity.setToZero();
 this.initialOrientation.set(initialOrientation);
 this.initialAngularVelocity.setToZero();
}

代码示例来源: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 setInitialPoseWithoutInitialVelocity(FramePose initialPose)
{
 initialPose.getPoseIncludingFrame(tempPosition, tempOrientation);
 this.initialPosition.set(tempPosition);
 this.initialVelocity.setToZero();
 ;
 this.initialOrientation.set(tempOrientation);
 this.initialAngularVelocity.setToZero();
}

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

public void setInitialPoseWithInitialVelocity(FramePose initialPose, FrameVector initialVelocity, FrameVector initialAngularVelocity)
{
 initialPose.getPoseIncludingFrame(tempPosition, tempOrientation);
 this.initialPosition.set(tempPosition);
 this.initialVelocity.set(initialVelocity);
 this.initialOrientation.set(tempOrientation);
 this.initialAngularVelocity.set(initialAngularVelocity);
}

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

@Override
public void changeFrame(ReferenceFrame desiredFrame)
{
 point.set(this);
 ReferenceFrame currentReferenceFrame = multipleFramesHelper.switchCurrentReferenceFrame(desiredFrame);
 framePoint.setIncludingFrame(currentReferenceFrame, point);
 framePoint.changeFrame(desiredFrame);
 point.set(framePoint);
 set(point);
}

代码示例来源: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/IHMCRoboticsToolkit

@Override
public void changeFrame(ReferenceFrame desiredFrame)
{
 get(point);
 ReferenceFrame currentReferenceFrame = multipleFramesHelper.switchCurrentReferenceFrame(desiredFrame);
 framePoint.setIncludingFrame(currentReferenceFrame, point);
 framePoint.changeFrame(desiredFrame);
 framePoint.get(point);
 set(point);
}

代码示例来源: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

private void reset()
{
 currentTime.set(0.0);
 currentPosition.set(initialPosition);
 currentVelocity.setToZero();
 currentAcceleration.setToZero();
 currentOrientation.set(initialOrientation);
 currentAngularVelocity.setToZero();
 currentAngularAcceleration.setToZero();
}

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

private void reset()
{
 currentTime.set(0.0);
 currentPosition.set(initialPosition);
 currentVelocity.set(initialVelocity);
 currentAcceleration.setToZero();
 currentOrientation.set(initialOrientation);
 currentAngularVelocity.set(initialAngularVelocity);
 currentAngularAcceleration.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/CommonWalkingControlModules

public void setInitialLeadOut(FramePoint initialPosition, FrameVector initialDirection, double leaveDistance)
{
 this.initialPosition.set(initialPosition);
 this.initialDirection.set(initialDirection);
 this.initialDirection.normalize();
 this.initialDirection.get(tempVector);
 GeometryTools.getAxisAngleFromZUpToVector(tempVector, tempAxisAngle);
 initialDistortionPose.setToZero(this.initialPosition.getReferenceFrame());
 initialDistortionPose.setPosition(initialPosition);
 initialDistortionPose.setOrientation(tempAxisAngle);
 this.leaveDistance.set(leaveDistance);
}

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