gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-16 01:06:40 27 4
gpt4 key购买 nike

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

YoFramePoint.<init>介绍

暂无

代码示例

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

public YoGraphicLineSegment(String namePrefix, String nameSuffix, ReferenceFrame referenceFrame, AppearanceDefinition appearance, YoVariableRegistry registry)
{
 this(namePrefix, new YoFramePoint(namePrefix, nameSuffix + "Start", referenceFrame, registry), new YoFramePoint(namePrefix, nameSuffix + "End", referenceFrame, registry), appearance);
}

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

public YoGraphicTriangle(String name, AppearanceDefinition appearance, YoVariableRegistry registry)
{
 this(name, new YoFramePoint(name + "0", ReferenceFrame.getWorldFrame(), registry), new YoFramePoint(name + "1", ReferenceFrame.getWorldFrame(), registry),
    new YoFramePoint(name + "2", ReferenceFrame.getWorldFrame(), registry), appearance);
}

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

public YoGraphicTriangle(String name, DoubleYoVariable pointOneX, DoubleYoVariable pointOneY, DoubleYoVariable pointOneZ, DoubleYoVariable pointTwoX, DoubleYoVariable pointTwoY, DoubleYoVariable pointTwoZ,
   DoubleYoVariable pointThreeX, DoubleYoVariable pointThreeY, DoubleYoVariable pointThreeZ, AppearanceDefinition appearance)
{
 this(name, new YoFramePoint(pointOneX, pointOneY, pointOneZ, ReferenceFrame.getWorldFrame()), new YoFramePoint(pointTwoX, pointTwoY, pointTwoZ, ReferenceFrame.getWorldFrame()),
    new YoFramePoint(pointThreeX, pointThreeY, pointThreeZ, ReferenceFrame.getWorldFrame()), appearance);
}

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

public YoFramePointArray(int arraySize, String namePrefix, YoVariableRegistry yoVariableRegistry)
{
 yoFramePointArray = new YoFramePoint[arraySize];
 
 for (int index = 0; index < arraySize; index++)
 {
   yoFramePointArray[index] = new YoFramePoint(namePrefix + index, ReferenceFrame.getWorldFrame(), yoVariableRegistry);
 }
}

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

public YoGraphicPosition(String namePrefix, String nameSuffix, YoVariableRegistry registry, double scale, AppearanceDefinition appearance,
   GraphicType type)
{
 this(namePrefix + nameSuffix, new YoFramePoint(namePrefix, nameSuffix, ReferenceFrame.getWorldFrame(), registry), scale, appearance, type);
}

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

public YoSE3ConfigurationProvider(String name, ReferenceFrame frame, YoVariableRegistry registry)
{
 position = new YoFramePoint(name, frame, registry);
 orientation = new YoFrameQuaternion(name, frame, registry);
}

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

public YoContactPoint(String namePrefix, int index, ReferenceFrame pointFrame, PlaneContactState parentContactState, YoVariableRegistry parentRegistry)
{
 this.parentContactState = parentContactState;
 this.namePrefix = namePrefix;
 //TODO: Check if it is better to create an actual child registry
 registry = parentRegistry;
 yoPosition = new YoFramePoint(namePrefix + "Contact" + index, pointFrame, registry);
 isInContact = new BooleanYoVariable(namePrefix + "InContact" + index, registry);
}

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

public YoPointPositionDataObject(String namePrefix, ReferenceFrame frame, YoVariableRegistry registry)
{
 bodyFixedReferenceFrameName = frame.getName();
 yoMeasurementPointInBodyFrame = new YoFramePoint(namePrefix + "PointBody", frame, registry);
 yoMeasurementPointInWorldFrame = new YoFramePoint(namePrefix + "PointWorld", ReferenceFrame.getWorldFrame(), registry);
}

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

public YoFramePoseUsingQuaternions(String prefix, String suffix, ReferenceFrame frame, YoVariableRegistry registry)
{
 position = new YoFramePoint(prefix, suffix, frame, registry);
 orientation = new YoFrameQuaternion(prefix, suffix, frame, registry);
}

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

public YoFramePose(String prefix, String suffix, ReferenceFrame frame, YoVariableRegistry registry)
{
 position = new YoFramePoint(prefix, suffix, frame, registry);
 orientation = new YoFrameOrientation(prefix, suffix, frame, registry);
}

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

public YoGraphicPosition(String namePrefix, String nameSuffix, YoVariableRegistry registry, double scale, AppearanceDefinition appearance)
{
 this(namePrefix + nameSuffix, new YoFramePoint(namePrefix, nameSuffix, ReferenceFrame.getWorldFrame(), registry), scale, appearance);
}

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

private void createABall(String name, int i, double sizeInMeters, AppearanceDefinition appearance, YoVariableRegistry registry)
{
 YoFramePoint yoFramePoint = new YoFramePoint(name + i, "", ReferenceFrame.getWorldFrame(), registry);
 Double scale = new Double(sizeInMeters);
 YoGraphicPosition newPosition = new YoGraphicPosition(name + i, yoFramePoint, scale, appearance);
 dynamicGraphicPositions.add(newPosition);
}

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

public YoFramePointControlFlowOutputPort(ControlFlowElement controlFlowElement, String namePrefix, ReferenceFrame frame, YoVariableRegistry registry)
{
 super(namePrefix, controlFlowElement);
 yoFramePoint = new YoFramePoint(namePrefix, frame, registry);
 super.setData(new FramePoint(frame));
}

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

public YoPointVelocityDataObject(String namePrefix, ReferenceFrame frame, YoVariableRegistry registry)
{
 bodyFixedReferenceFrameName = frame.getName();
 yoMeasurementPointInBodyFrame = new YoFramePoint(namePrefix + "PointBody", frame, registry);
 yoVelocityOfMeasurementPointInWorldFrame = new YoFrameVector(namePrefix + "PointVelocityWorld", ReferenceFrame.getWorldFrame(), registry);
}

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

public YoGraphicShape(String name, Graphics3DObject linkGraphics, String namePrefix, String nameSuffix, YoVariableRegistry registry, double scale,
   AppearanceDefinition appearance)
{
 this(name, linkGraphics, new YoFramePoint(namePrefix, nameSuffix, ReferenceFrame.getWorldFrame(), registry), new YoFrameOrientation(namePrefix,
    nameSuffix, ReferenceFrame.getWorldFrame(), registry), scale);
}

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

public YoGraphicCoordinateSystem(String namePrefix, String nameSuffix, YoVariableRegistry registry, double scale, AppearanceDefinition arrowColor)
{
 this(namePrefix + nameSuffix, new YoFramePoint(namePrefix, nameSuffix, ReferenceFrame.getWorldFrame(), registry), new YoFrameOrientation(namePrefix,
    nameSuffix, ReferenceFrame.getWorldFrame(), registry), scale);
 this.arrowColor = arrowColor;
}

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

public YoGraphicText3D(String name, String text, String namePrefix, String nameSuffix, YoVariableRegistry registry, double scale,
   AppearanceDefinition appearance)
{
 this(name, text, new YoFramePoint(namePrefix, nameSuffix, ReferenceFrame.getWorldFrame(), registry), new YoFrameOrientation(namePrefix, nameSuffix,
    ReferenceFrame.getWorldFrame(), registry), scale, appearance);
}

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

public ConstantPositionTrajectoryGenerator(String namePrefix, ReferenceFrame referenceFrame, PositionProvider positionProvider, double finalTime,
    YoVariableRegistry parentRegistry)
{
 MathTools.checkIfInRange(finalTime, 0.0, Double.POSITIVE_INFINITY);
 this.positionProvider = positionProvider;
 this.registry = new YoVariableRegistry(namePrefix + getClass().getSimpleName());
 this.position = new YoFramePoint("position", referenceFrame, registry);
 this.finalTime = new DoubleYoVariable("finalTime", registry);
 this.time = new DoubleYoVariable("time", registry);
 this.finalTime.set(finalTime);
 parentRegistry.addChild(registry);
}

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

public YoGraphicPolygon(String name, int maxNumberOfVertices, YoVariableRegistry registry, double scale, AppearanceDefinition appearance)
{
 this(name, new YoFrameConvexPolygon2d(name + "ConvexPolygon2d", ReferenceFrame.getWorldFrame(), maxNumberOfVertices, registry),
    new YoFramePoint(name + "Position", ReferenceFrame.getWorldFrame(), registry),
    new YoFrameOrientation(name + "Orientation", ReferenceFrame.getWorldFrame(), registry), scale, appearance);
}

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

public YoFramePoint findYoFramePoint(String pointPrefix, String pointSuffix, ReferenceFrame pointFrame)
{
 DoubleYoVariable x = (DoubleYoVariable) scs.getVariable(createXName(pointPrefix, pointSuffix));
 DoubleYoVariable y = (DoubleYoVariable) scs.getVariable(createYName(pointPrefix, pointSuffix));
 DoubleYoVariable z = (DoubleYoVariable) scs.getVariable(createZName(pointPrefix, pointSuffix));
 if (x == null || y == null || z == null)
   return null;
 else
   return new YoFramePoint(x, y, z, pointFrame);
}

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