gpt4 book ai didi

us.ihmc.graphicsDescription.appearance.YoAppearance.DarkBlue()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-17 10:30:40 24 4
gpt4 key购买 nike

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

YoAppearance.DarkBlue介绍

暂无

代码示例

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

public PushRobotController(FloatingRootJointRobot pushableRobot, String jointNameToApplyForce, Vector3d forcePointOffset)
{
 yoTime = pushableRobot.getYoTime();
 registry = new YoVariableRegistry(jointNameToApplyForce + "_" + getClass().getSimpleName());
 forcePoint = new ExternalForcePoint(jointNameToApplyForce + "_externalForcePoint", forcePointOffset, pushableRobot);
 
 pushDuration = new DoubleYoVariable(jointNameToApplyForce + "_pushDuration", registry);
 pushForceMagnitude = new DoubleYoVariable(jointNameToApplyForce + "_pushMagnitude", registry);
 pushDirection = new YoFrameVector(jointNameToApplyForce + "_pushDirection", worldFrame, registry);
 pushForce = new YoFrameVector(jointNameToApplyForce + "_pushForce", worldFrame, registry);
 pushTimeSwitch = new DoubleYoVariable(jointNameToApplyForce + "_pushTimeSwitch", registry);
 pushNumber = new IntegerYoVariable(jointNameToApplyForce + "_pushNumber", registry);
 isBeingPushed = new BooleanYoVariable(jointNameToApplyForce + "_isBeingPushed", registry);
 pushDelay = new DoubleYoVariable(jointNameToApplyForce + "_pushDelay", registry);
 
 pushableRobot.getJoint(jointNameToApplyForce).addExternalForcePoint(forcePoint);
 pushableRobot.setController(this);
 pushTimeSwitch.set(Double.NEGATIVE_INFINITY);
 pushForceMagnitude.set(0.0);
 
 forceVisualizer = new YoGraphicVector(jointNameToApplyForce + "_pushForce", forcePoint.getYoPosition(), forcePoint.getYoForce(), 0.005, YoAppearance.DarkBlue());
}

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

public PushRobotController(FloatingRootJointRobot pushableRobot, String jointNameToApplyForce, Vector3D forcePointOffset, double visualScale)
{
 yoTime = pushableRobot.getYoTime();
 registry = new YoVariableRegistry(jointNameToApplyForce + "_" + getClass().getSimpleName());
 forcePoint = new ExternalForcePoint(jointNameToApplyForce + "_externalForcePoint", forcePointOffset, pushableRobot);
 pushDuration = new YoDouble(jointNameToApplyForce + "_pushDuration", registry);
 pushForceMagnitude = new YoDouble(jointNameToApplyForce + "_pushMagnitude", registry);
 pushDirection = new YoFrameVector3D(jointNameToApplyForce + "_pushDirection", worldFrame, registry);
 pushForce = new YoFrameVector3D(jointNameToApplyForce + "_pushForce", worldFrame, registry);
 pushTimeSwitch = new YoDouble(jointNameToApplyForce + "_pushTimeSwitch", registry);
 pushNumber = new YoInteger(jointNameToApplyForce + "_pushNumber", registry);
 isBeingPushed = new YoBoolean(jointNameToApplyForce + "_isBeingPushed", registry);
 pushDelay = new YoDouble(jointNameToApplyForce + "_pushDelay", registry);
 pushableRobot.getJoint(jointNameToApplyForce).addExternalForcePoint(forcePoint);
 pushableRobot.setController(this);
 pushTimeSwitch.set(Double.NEGATIVE_INFINITY);
 pushForceMagnitude.set(0.0);
 forceVisualizer = new YoGraphicVector(jointNameToApplyForce + "_pushForce", forcePoint.getYoPosition(), forcePoint.getYoForce(), visualScale,
    YoAppearance.DarkBlue());
}

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

double zOffsetUpperArm = getChildJoint().getJointOffset().getZ() / 2.0;
  upperArmGraphics.translate(0.0, 0.0, zOffsetUpperArm);
  upperArmGraphics.addEllipsoid(0.05, 0.05, Math.abs(zOffsetUpperArm), YoAppearance.DarkBlue());
  return upperArmGraphics;
case ELBOW:

代码示例来源:origin: us.ihmc/simulation-construction-set-test

linkGraphics.addHemiEllipsoid(HEMI_ELLIPSOID_RX, HEMI_ELLIPSOID_RY, HEMI_ELLIPSOID_RZ, YoAppearance.DarkBlue());

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

double forceVizScaling = 10.0;
AppearanceDefinition forceAppearance = YoAppearance.DarkRed();
AppearanceDefinition torqueAppearance = YoAppearance.DarkBlue();
wrenchVisualizer = new WrenchVisualizer("ForceSensorData", bodies, forceVizScaling, yoGraphicsListRegistry, registry, forceAppearance,
   torqueAppearance);

代码示例来源:origin: us.ihmc/simulation-construction-set-test

yoFramePolygonOrientation.setYawPitchRoll(1.2, 0.1, 0.4);
final YoGraphicPolygon yoGraphicYoFramePolygon = new YoGraphicPolygon("YoFramePolygon", yoFramePolygon,
                                   yoFramePolygonPosition, yoFramePolygonOrientation, 1.0, YoAppearance.DarkBlue());

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