- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoseUsingYawPitchRoll.set()
方法的一些代码示例,展示了YoFramePoseUsingYawPitchRoll.set()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFramePoseUsingYawPitchRoll.set()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFramePoseUsingYawPitchRoll
类名称:YoFramePoseUsingYawPitchRoll
方法名:set
[英]Sets this frame pose to the origin of the passed in reference frame.
[中]将此帧姿势设置为传入参照帧的原点。
代码示例来源:origin: us.ihmc/ihmc-common-walking-control-modules-test
private void updateNextFootsteps(int stepIndex)
{
int numberOfStepToUpdate =
(numberOfFootstepsForTest - stepIndex) < numberOfFootstepsToConsider ? (numberOfFootstepsForTest - stepIndex) : numberOfFootstepsToConsider;
int nextStepIndex;
for (nextStepIndex = 0; nextStepIndex < numberOfStepToUpdate; nextStepIndex++)
{
nextFootstepPoses.get(nextStepIndex).set(footstepList.get(stepIndex + nextStepIndex).getFootstepPose());
}
for (; nextStepIndex < numberOfFootstepsToConsider; nextStepIndex++)
{
nextFootstepPoses.get(nextStepIndex).setToNaN();
}
}
代码示例来源:origin: us.ihmc/ihmc-yovariables
public void set(YoFramePoseUsingYawPitchRoll yoFramePose)
{
set(yoFramePose.getPosition(), yoFramePose.getOrientation().getFrameOrientation());
}
代码示例来源:origin: us.ihmc/ihmc-footstep-planning-test
yoFootstepPose.set(footstepPose);
yoFootstepPose.setZ(yoFootstepPose.getZ() + (footstep.getRobotSide() == RobotSide.RIGHT ? 0.001 : 0.0));
代码示例来源:origin: us.ihmc/ihmc-footstep-planning-test
private YoGraphicPolygon createStaticFootstep(String name, FramePose3D framePose, AppearanceDefinition appearance, YoVariableRegistry registry,
YoGraphicsListRegistry yoGraphicsListRegistry)
{
YoFramePoseUsingYawPitchRoll footstepYoFramePose = new YoFramePoseUsingYawPitchRoll(name + "FramePose", ReferenceFrame.getWorldFrame(), registry);
footstepYoFramePose.set(framePose);
YoGraphicPolygon footstepYoGraphicPolygon = new YoGraphicPolygon(name + "YoGraphicPolygon", footstepYoFramePose, defaultFootPolygon.getNumberOfVertices(),
registry, 1.0, appearance);
footstepYoGraphicPolygon.updateConvexPolygon2d(defaultFootPolygon);
yoGraphicsListRegistry.registerYoGraphic(getClass().getSimpleName(), footstepYoGraphicPolygon);
return footstepYoGraphicPolygon;
}
代码示例来源:origin: us.ihmc/ihmc-footstep-planning-test
visiblePolygonPoses.get(polygonIdx).set(pose);
visiblePolygons.get(polygonIdx).set(planarRegion.getConvexHull());
startStep.set(stancePose);
int stepsToShow = Math.min(plan.getNumberOfSteps(), 2 * stepsPerSideToVisualize);
for (int stepIdx = 0; stepIdx < stepsToShow; stepIdx++)
yoSolePose.set(footstepPose);
scs.tickAndUpdate();
stepPosesTaken.get(i).set(stancePose);
代码示例来源:origin: us.ihmc/ihmc-simulation-toolkit
@Override
public void doControl()
{
wristJoint.getTransformToWorld(transform);
wristJointPose.set(transform);
yoWristJointPose.set(wristJointPose);
wristJoint.getTransformToWorld(transform);
transform.transform(wristToHandControlFrame, tangentVector);
handControlFramePose.set(transform);
handControlFramePose.prependTranslation(tangentVector);
yoHandControlFramePose.set(handControlFramePose);
handControlFramePositionInWorld.set(handControlFramePose.getPosition());
efpHandControlFrame.setPosition(handControlFramePositionInWorld);
// efpGravity.setForce(0.0, 0.0, -gGRAVITY * MASSDRILL);
// efpGravity.setForce(0.0, 0.0, 0.0);
// efpWrist.setForce(exponentialCutForceModel(efpHandControlFrame));
efpWrist.setForce(quadraticCutForceModel(efpHandControlFrame));
}
代码示例来源:origin: us.ihmc/ihmc-path-planning-test
visiblePolygonPoses.get(polygonIdx).set(pose);
visiblePolygons.get(polygonIdx).set(planarRegion.getConvexHull());
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces-test
private YoGraphicsListRegistry createStartAndGoalGraphics(FramePose3D initialStancePose, FramePose3D goalPose)
{
YoGraphicsListRegistry graphicsListRegistry = new YoGraphicsListRegistry();
YoGraphicsList graphicsList = new YoGraphicsList("testViz");
YoFramePoseUsingYawPitchRoll yoInitialStancePose = new YoFramePoseUsingYawPitchRoll("initialStancePose", initialStancePose.getReferenceFrame(),
drcSimulationTestHelper.getYoVariableRegistry());
yoInitialStancePose.set(initialStancePose);
YoFramePoseUsingYawPitchRoll yoGoalPose = new YoFramePoseUsingYawPitchRoll("goalStancePose", goalPose.getReferenceFrame(),
drcSimulationTestHelper.getYoVariableRegistry());
yoGoalPose.set(goalPose);
YoGraphicCoordinateSystem startPoseGraphics = new YoGraphicCoordinateSystem("startPose", yoInitialStancePose, 13.0);
YoGraphicCoordinateSystem goalPoseGraphics = new YoGraphicCoordinateSystem("goalPose", yoGoalPose, 13.0);
graphicsList.add(startPoseGraphics);
graphicsList.add(goalPoseGraphics);
return graphicsListRegistry;
}
代码示例来源:origin: us.ihmc/ihmc-footstep-planning-test
MutableInt sideCount = counts.get(robotSide);
YoFramePoseUsingYawPitchRoll stepPose = yoSteps.get(robotSide).get(sideCount.intValue());
stepPose.set(footstepPose);
sideCount.increment();
代码示例来源:origin: us.ihmc/ihmc-humanoid-robotics
soleFramePose.changeFrame(ReferenceFrame.getWorldFrame());
this.soleFramePose.set(soleFramePose);
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
private void placeCartesianTargetsAtActuals()
{
reader.read();
for (RobotSide robotSide : RobotSide.values())
{
YoFramePoseUsingYawPitchRoll yoFramePose = feetIKs.get(robotSide);
FramePose3D framePose = new FramePose3D(fullRobotModel.getFoot(robotSide).getBodyFixedFrame());
framePose.changeFrame(ReferenceFrame.getWorldFrame());
yoFramePose.set(framePose);
yoFramePose = handIKs.get(robotSide);
framePose = new FramePose3D(fullRobotModel.getHand(robotSide).getBodyFixedFrame());
framePose.changeFrame(ReferenceFrame.getWorldFrame());
yoFramePose.set(framePose);
}
ReferenceFrame pelvisFrame = fullRobotModel.getPelvis().getBodyFixedFrame();
FramePose3D framePose = new FramePose3D(pelvisFrame);
framePose.changeFrame(ReferenceFrame.getWorldFrame());
System.out.println("Pelvis is at " + framePose);
}
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
@Override
public void onBehaviorEntered()
{
hasTargetBeenProvided.set(false);
haveFootstepsBeenGenerated.set(false);
hasInputBeenSet.set(false);
footstepListBehavior.initialize();
robotPose.setToZero(fullRobotModel.getRootJoint().getFrameAfterJoint());
robotPose.changeFrame(worldFrame);
robotYoPose.set(robotPose);
robotLocation.set(robotPose.getPosition());
robotOrientation.set(robotPose.getOrientation());
this.targetLocation.set(robotLocation);
this.targetOrientation.set(robotOrientation);
}
代码示例来源:origin: us.ihmc/ihmc-simulation-toolkit
wristJointPose = new FramePose3D(HumanoidReferenceFrames.getWorldFrame(), transform);
yoWristJointPose = new YoFramePoseUsingYawPitchRoll("wristJointPose", HumanoidReferenceFrames.getWorldFrame(), registry);
yoWristJointPose.set(wristJointPose);
YoGraphicCoordinateSystem yoWristCoordinateSystem = new YoGraphicCoordinateSystem("wristCoordinateSystemViz", yoWristJointPose, 0.1, YoAppearance.Red());
handControlFramePose.prependTranslation(tangentVector);
yoHandControlFramePose = new YoFramePoseUsingYawPitchRoll("handControlFrame",HumanoidReferenceFrames.getWorldFrame(), registry);
yoHandControlFramePose.set(handControlFramePose);
YoGraphicCoordinateSystem yoToolTip = new YoGraphicCoordinateSystem("toolTipViz", yoHandControlFramePose, 0.1, YoAppearance.Yellow());
代码示例来源:origin: us.ihmc/ihmc-humanoid-behaviors
footstepPlannerGoalPose.set(goalPose);
footstepPlannerInitialStepPose.set(tempStanceFootPose);
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getValueString()方法的一些代码示例,展示了YoVariable.getValueSt
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.setValueFromLongBits()方法的一些代码示例,展示了YoVariable.setV
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getDescription()方法的一些代码示例,展示了YoVariable.getDescrip
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getFullNameWithNameSpace()方法的一些代码示例,展示了YoVariable.
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getManualScalingMin()方法的一些代码示例,展示了YoVariable.getMa
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getValueAsLongBits()方法的一些代码示例,展示了YoVariable.getVal
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getYoVariableType()方法的一些代码示例,展示了YoVariable.getYoVa
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getManualScalingMax()方法的一些代码示例,展示了YoVariable.getMa
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getYoVariableRegistry()方法的一些代码示例,展示了YoVariable.get
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.isParameter()方法的一些代码示例,展示了YoVariable.isParameter()
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getParameter()方法的一些代码示例,展示了YoVariable.getParameter
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.setValueFromDouble()方法的一些代码示例,展示了YoVariable.setVal
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getValueAsDouble()方法的一些代码示例,展示了YoVariable.getValue
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.getName()方法的一些代码示例,展示了YoVariable.getName()的具体用法。这些
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable.addVariableChangedListener()方法的一些代码示例,展示了YoVariabl
本文整理了Java中us.ihmc.yoVariables.variable.YoVariable类的一些代码示例,展示了YoVariable类的具体用法。这些代码示例主要来源于Github/Stac
本文整理了Java中us.ihmc.yoVariables.variable.YoLong类的一些代码示例,展示了YoLong类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFrameVector3D类的一些代码示例,展示了YoFrameVector3D类的具体用法。这些代码示例主要来源于G
本文整理了Java中us.ihmc.yoVariables.variable.YoEnum类的一些代码示例,展示了YoEnum类的具体用法。这些代码示例主要来源于Github/Stackoverflo
本文整理了Java中us.ihmc.yoVariables.variable.YoFramePoint3D类的一些代码示例,展示了YoFramePoint3D类的具体用法。这些代码示例主要来源于Git
我是一名优秀的程序员,十分优秀!