gpt4 book ai didi

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

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

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

YoFrameLineSegment2d.<init>介绍

暂无

代码示例

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

private YoArtifactLineSegment2d(String name, DoubleYoVariable startX, DoubleYoVariable startY, DoubleYoVariable endX, DoubleYoVariable endY, Color color, double arrowHeadWidth, double arrowHeadHeight)
{
 this(name, new YoFrameLineSegment2d(startX, startY, endX, endY, ReferenceFrame.getWorldFrame()), color, arrowHeadWidth, arrowHeadHeight);
}

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

@Override
public Artifact createArtifact()
{
 Color3f color3f = appearance.getColor();
 return new YoArtifactLineSegment2d(getName(), new YoFrameLineSegment2d(baseX, baseY, x, y, ReferenceFrame.getWorldFrame()), new Color(color3f.getX(), color3f.getY(), color3f.getZ()));
}

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

public SimpleDesiredHeadingControlModuleVisualizer(ProcessedSensorsInterface processedSensors, YoVariableRegistry registry,
   YoGraphicsListRegistry yoGraphicsListRegistry)
{
 this.processedSensors = processedSensors;
 desiredHeadingLine = new YoFrameLineSegment2d("desiredHeadingLine", "", ReferenceFrame.getWorldFrame(), registry);
 finalHeadingLine = new YoFrameLineSegment2d("finalHeadingLine", "", ReferenceFrame.getWorldFrame(), registry);
 if (yoGraphicsListRegistry != null)
 {
   ArtifactList artifactList = new ArtifactList("Simple Desired Heading");
   YoArtifactLineSegment2d yoFrameLineSegment2dArtifact = new YoArtifactLineSegment2d("Desired Heading Line", desiredHeadingLine, Color.MAGENTA);
   artifactList.add(yoFrameLineSegment2dArtifact);
   yoFrameLineSegment2dArtifact = new YoArtifactLineSegment2d("Final Heading Line", finalHeadingLine, Color.ORANGE);
   artifactList.add(yoFrameLineSegment2dArtifact);
   yoGraphicsListRegistry.registerArtifactList(artifactList);
 }
}

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

public YoArtifactLineSegment2d(String name, YoFramePoint2d start, YoFramePoint2d end, Color color)
{
 this(name, new YoFrameLineSegment2d(start.getYoX(), start.getYoY(), end.getYoX(), end.getYoY(), ReferenceFrame.getWorldFrame()), color);
}

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

YoFrameLineSegment2d segment = new YoFrameLineSegment2d((DoubleYoVariable) vars[0], (DoubleYoVariable) vars[1], (DoubleYoVariable) vars[2], (DoubleYoVariable) vars[3],
   ReferenceFrame.getWorldFrame());

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

yoLineOfRotation = new YoFrameLineSegment2d(caption, "", "", worldFrame, registry);
YoArtifactLineSegment2d lineOfRotationArtifact =
   new YoArtifactLineSegment2d(caption, yoLineOfRotation, Color.GREEN, 0.01, 0.01);

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

yoCoRVelocityAlphaFilter, dt, registry, yoCoRPositionFiltered);
yoLineOfRotation = new YoFrameLineSegment2d(namePrefix + "LoRPosition", "", generalDescription, worldFrame, registry);
yoAngleOfLoR = new DoubleYoVariable(namePrefix + "AngleOfLoR", generalDescription, registry);
yoLoRAngularVelocityAlphaFilter = new DoubleYoVariable(namePrefix + "LoRAngularVelocityAlphaFilter", generalDescription, registry);

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